-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshared.css
More file actions
325 lines (306 loc) · 15.3 KB
/
shared.css
File metadata and controls
325 lines (306 loc) · 15.3 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
/* ═══════════════════════════════════════════════════════════════════
UCSF BioRouter — Shared Stylesheet
Design: Material Design + OpenAI aesthetics, light warm theme
Colors from BioRouter app (main.css): warm cream + coral accent
═══════════════════════════════════════════════════════════════════ */
/* ─── Reset & Design Tokens ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
/* Light warm background — anchored on BioRouter's neutral palette */
--bg: #ffffff;
--bg-2: #fcf8ed; /* neutral-50 warm cream */
--bg-3: #f8f2df; /* neutral-100 warm beige */
--bg-4: #ece5cf; /* neutral-200 warm tan */
--border: rgba(0,0,0,0.08);
--border-2: rgba(0,0,0,0.16);
/* Warm dark text */
--text: #2a2520;
--text-2: #7a736c;
--text-3: #b6ae93;
/* Coral/orange accent — from BioRouter's --color-block-teal: #cf6d47 */
--accent: #cf6d47;
--accent-light:#e07a52;
--accent-dim: rgba(207,109,71,0.10);
--accent-dim2: rgba(207,109,71,0.18);
/* UCSF Navy */
--ucsf: #052049;
--radius: 12px;
--radius-lg: 18px;
--radius-xl: 24px;
--shadow: 0 4px 24px rgba(0,0,0,0.08);
--shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
--transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ─── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #d7cfb6; }
/* ─── Navigation ─────────────────────────────────────────────────── */
#navbar {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
background: rgba(255,255,255,0.92);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-bottom: 1px solid var(--border);
padding: 0 24px;
display: flex; align-items: center; justify-content: space-between;
height: 60px;
}
.nav-brand {
display: flex; align-items: center; gap: 10px;
text-decoration: none; color: var(--text);
flex-shrink: 0;
}
.nav-logo { width: 28px; height: 28px; border-radius: 6px; }
.nav-title { font-size: 15px; font-weight: 600; letter-spacing: -0.3px; }
.nav-tabs {
display: flex; align-items: center; gap: 2px;
list-style: none;
}
.nav-tabs li a {
display: block; padding: 6px 14px;
color: var(--text-2); text-decoration: none;
font-size: 14px; font-weight: 500;
border-radius: 8px;
transition: var(--transition);
}
.nav-tabs li a:hover { color: var(--text); background: var(--bg-3); }
.nav-tabs li a.active { color: var(--accent); background: var(--accent-dim); }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-gh-btn {
display: flex; align-items: center; gap: 6px;
padding: 6px 14px; border-radius: 8px;
background: var(--bg-3); border: 1px solid var(--border-2);
color: var(--text-2); text-decoration: none;
font-size: 13px; font-weight: 500;
transition: var(--transition);
}
.nav-gh-btn:hover { color: var(--text); border-color: var(--accent); }
.hamburger {
display: none; flex-direction: column; gap: 5px;
background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: var(--transition); }
.mobile-menu {
display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
background: rgba(255,255,255,0.97);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
padding: 12px 16px;
flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
padding: 10px 14px; border-radius: 8px;
color: var(--text-2); text-decoration: none;
font-size: 15px; font-weight: 500;
transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); background: var(--accent-dim); }
/* ─── Page wrapper ───────────────────────────────────────────────── */
.page { padding-top: 60px; min-height: 100vh; }
/* ─── Buttons ────────────────────────────────────────────────────── */
.btn-primary {
display: inline-flex; align-items: center; gap: 8px;
padding: 13px 28px; border-radius: var(--radius);
background: var(--accent); color: #fff;
font-size: 15px; font-weight: 600;
text-decoration: none; border: none; cursor: pointer;
transition: var(--transition);
box-shadow: 0 4px 16px rgba(207,109,71,0.28);
}
.btn-primary:hover { background: var(--accent-light); box-shadow: 0 6px 24px rgba(207,109,71,0.42); transform: translateY(-1px); }
.btn-secondary {
display: inline-flex; align-items: center; gap: 8px;
padding: 13px 28px; border-radius: var(--radius);
background: transparent; color: var(--text);
font-size: 15px; font-weight: 500;
text-decoration: none; border: 1px solid var(--border-2); cursor: pointer;
transition: var(--transition);
}
.btn-secondary:hover { background: var(--bg-3); border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
/* ─── Section label ──────────────────────────────────────────────── */
.section-label { text-align: center; margin-bottom: 48px; }
.section-label .eyebrow {
font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-label h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; letter-spacing: -1px; }
.section-label p { color: var(--text-2); margin-top: 10px; max-width: 500px; margin-left: auto; margin-right: auto; }
/* ─── Cards ──────────────────────────────────────────────────────── */
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
}
.feature-card {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 28px;
transition: var(--transition);
}
.feature-card:hover {
border-color: var(--accent);
background: var(--bg-3);
transform: translateY(-2px);
box-shadow: 0 8px 32px rgba(207,109,71,0.10);
}
.feature-icon {
width: 40px; height: 40px; border-radius: 10px;
background: var(--accent-dim);
display: flex; align-items: center; justify-content: center;
font-size: 20px; margin-bottom: 16px;
border: 1px solid rgba(207,109,71,0.2);
}
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
/* ─── Info / alert boxes ─────────────────────────────────────────── */
.info-box {
background: var(--bg-2); border: 1px solid var(--border);
border-left: 3px solid var(--accent);
border-radius: var(--radius); padding: 20px 24px;
}
.info-box h4 { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.info-box p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.info-box a { color: var(--accent); text-decoration: none; }
.info-box a:hover { text-decoration: underline; }
.alert {
padding: 14px 18px; border-radius: var(--radius);
margin: 16px 0; font-size: 14px; line-height: 1.6;
}
.alert-warning { background: rgba(250,160,30,0.06); border: 1px solid rgba(250,160,30,0.2); color: #b87a10; }
.alert-info { background: var(--accent-dim); border: 1px solid rgba(207,109,71,0.2); color: var(--accent); }
.alert strong { color: inherit; }
/* ─── Code ───────────────────────────────────────────────────────── */
pre, .code-block {
background: var(--bg-3); border: 1px solid var(--border);
border-radius: var(--radius); padding: 16px 20px;
font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
font-size: 13px; color: #443c2a;
overflow-x: auto; margin: 16px 0;
line-height: 1.6;
}
code {
font-family: 'JetBrains Mono', 'Fira Code', monospace;
font-size: 13px;
background: var(--bg-3); padding: 2px 6px;
border-radius: 4px; color: var(--accent);
}
pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
/* ─── Tables ─────────────────────────────────────────────────────── */
.doc-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.doc-table th {
text-align: left; padding: 10px 14px;
font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
text-transform: uppercase; color: var(--text-3);
background: var(--bg-2); border-bottom: 1px solid var(--border);
}
.doc-table td {
padding: 10px 14px; font-size: 14px; color: var(--text-2);
border-bottom: 1px solid var(--border); vertical-align: middle;
}
.doc-table tr:last-child td { border-bottom: none; }
.doc-table tr:hover td { background: rgba(0,0,0,0.02); }
.doc-table a { color: var(--accent); text-decoration: none; }
.doc-table a:hover { text-decoration: underline; }
/* ─── Doc page typography ────────────────────────────────────────── */
.doc-page h1 { font-size: 32px; font-weight: 700; letter-spacing: -1px; margin-bottom: 8px; }
.doc-page .doc-intro { font-size: 16px; color: var(--text-2); margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.doc-page h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.5px; margin: 36px 0 16px; }
.doc-page h3 { font-size: 16px; font-weight: 600; margin: 24px 0 12px; }
.doc-page p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.doc-page ul, .doc-page ol { padding-left: 24px; margin-bottom: 16px; }
.doc-page li { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 6px; }
.doc-page a { color: var(--accent); text-decoration: none; }
.doc-page a:hover { text-decoration: underline; }
.doc-page strong { color: var(--text); font-weight: 600; }
/* ─── Step cards ─────────────────────────────────────────────────── */
.step-card {
display: flex; gap: 16px;
background: var(--bg-2); border: 1px solid var(--border);
border-radius: var(--radius-lg); padding: 24px;
margin-bottom: 16px;
}
.step-num {
flex-shrink: 0; width: 32px; height: 32px;
border-radius: 50%; background: var(--accent);
display: flex; align-items: center; justify-content: center;
font-size: 14px; font-weight: 700; color: #fff;
}
.step-content h3 { margin-top: 4px; margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.step-content p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 8px; }
.step-content ul { padding-left: 20px; }
.step-content li { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 4px; }
.step-content a { color: var(--accent); text-decoration: none; }
.step-content a:hover { text-decoration: underline; }
.step-content strong { color: var(--text); font-weight: 600; }
/* ─── Provider chips ─────────────────────────────────────────────── */
.provider-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.provider-chip {
display: flex; align-items: center; gap: 8px;
padding: 8px 16px; border-radius: 100px;
background: var(--bg-3); border: 1px solid var(--border);
font-size: 13px; font-weight: 500; color: var(--text-2);
transition: var(--transition);
}
.provider-chip:hover { border-color: var(--accent); color: var(--text); }
.provider-chip.highlight { border-color: rgba(207,109,71,0.4); color: var(--accent); background: var(--accent-dim); }
/* ─── Divider ────────────────────────────────────────────────────── */
.h-rule { height: 1px; background: var(--border); margin: 48px 0; }
/* ─── Tags ───────────────────────────────────────────────────────── */
.tag {
padding: 3px 10px; border-radius: 100px;
font-size: 11px; font-weight: 600;
background: var(--bg-4); color: var(--text-3);
border: 1px solid var(--border);
}
.tag.ucsf { background: rgba(5,32,73,0.06); color: #052049; border-color: rgba(5,32,73,0.15); }
.tag.mcp { background: rgba(207,109,71,0.10); color: var(--accent); border-color: rgba(207,109,71,0.2); }
.tag.federated { background: rgba(5,32,73,0.06); color: #052049; border-color: rgba(5,32,73,0.15); font-weight: 700; }
/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
border-top: 1px solid var(--border);
padding: 32px 24px;
text-align: center;
color: var(--text-3);
font-size: 13px;
}
footer a { color: var(--text-3); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer p + p { margin-top: 6px; }
/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
.nav-tabs, .nav-right { display: none; }
.hamburger { display: flex; }
}
@media (max-width: 480px) {
.card-grid { grid-template-columns: 1fr; }
.step-card { flex-direction: column; }
}
/* ─── Animations ─────────────────────────────────────────────────── */
@keyframes pulse {
0%, 100% { opacity: 0.6; transform: scale(1); }
50% { opacity: 1; transform: scale(1.08); }
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.3; }
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.4s ease forwards; }