-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
152 lines (141 loc) · 4.32 KB
/
index.html
File metadata and controls
152 lines (141 loc) · 4.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ScanSense - AI Medical Image Assistant</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'sans-serif'],
},
animation: {
'fade-in': 'fadeIn 0.5s ease-out',
'slide-up': 'slideUp 0.5s ease-out',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
}
}
},
},
}
</script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
}
/* Modern Selection */
::selection {
background-color: #3b82f6; /* blue-500 */
color: white;
}
/* Custom scrollbar for webkit */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
.dark ::-webkit-scrollbar-thumb {
background: #334155;
}
.dark ::-webkit-scrollbar-thumb:hover {
background: #475569;
}
/* Print Styles for PDF Export */
@media print {
html, body {
height: auto !important;
overflow: visible !important;
background-color: white !important;
color: black !important;
}
/* Hide UI elements irrelevant for the report */
header,
.no-print,
button,
input,
.chat-interface,
.scrollbar-hide::-webkit-scrollbar,
.image-column,
.resize-handle {
display: none !important;
}
/* Layout adjustments for print */
#root {
height: auto !important;
overflow: visible !important;
display: block !important;
}
main {
margin: 0 !important;
padding: 0 !important;
max-width: 100% !important;
}
/* Report specific overrides to ensure it expands fully */
.report-container {
height: auto !important;
overflow: visible !important;
padding: 0 !important;
border: none !important;
box-shadow: none !important;
display: block !important;
width: 100% !important;
}
.report-column {
width: 100% !important;
height: auto !important;
position: static !important;
display: block !important;
}
/* Typography overrides for print to save ink and ensure contrast */
p, h1, h2, h3, h4, li, span {
color: black !important;
text-shadow: none !important;
}
/* Ensure findings cards don't break awkwardly across pages */
.group {
page-break-inside: avoid;
border: 1px solid #e2e8f0 !important; /* Force visible border */
box-shadow: none !important;
}
}
</style>
<script type="importmap">
{
"imports": {
"react/": "https://aistudiocdn.com/react@^19.2.1/",
"react": "https://aistudiocdn.com/react@^19.2.1",
"@google/genai": "https://aistudiocdn.com/@google/genai@^1.31.0",
"lucide-react": "https://aistudiocdn.com/lucide-react@^0.556.0",
"react-dom": "https://aistudiocdn.com/react-dom@^19.2.1",
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.1/",
"pdfjs-dist": "https://esm.sh/pdfjs-dist@4.0.379"
}
}
</script>
</head>
<body class="bg-slate-50 dark:bg-slate-950 text-slate-900 dark:text-slate-100 antialiased transition-colors duration-500">
<div id="root"></div>
</body>
</html>