Threadbourne commited on
Commit
8262af5
·
verified ·
1 Parent(s): e796693

Delete themeafterhours.css

Browse files
Files changed (1) hide show
  1. themeafterhours.css +0 -677
themeafterhours.css DELETED
@@ -1,677 +0,0 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&family=DM+Mono:wght@400;500&display=swap');
2
-
3
- /* uglytool.dev — After Hours theme (v5)
4
- * You bought this file. Modify whatever you want — tweak the amber,
5
- * swap the font, remove the credit. It's yours now.
6
- */
7
- :root,
8
- :root.dark,
9
- .gradio-container,
10
- .gradio-container.dark,
11
- body.dark {
12
- --bg: #151412;
13
- --bg-deep: #0f0e0d;
14
- --bg-tint: #23201b;
15
- --panel: #25221e;
16
- --surface: rgba(35, 32, 28, 0.78);
17
- --surface-solid: #2b2721;
18
- --surface-hover: #342f2a;
19
- --surface-nested: rgba(36, 34, 32, 0.40);
20
- --border: rgba(255, 218, 159, 0.12);
21
- --border-strong: rgba(255, 218, 159, 0.24);
22
-
23
- --ink: #f3eee6;
24
- --ink-strong: #fdfbf6;
25
- --muted: #a79a8a;
26
- --dim: #6d655b;
27
- --on-accent: #14110e;
28
- --selection-ink: #fdfbf6;
29
-
30
- --accent: #c17f3a;
31
- --accent-bright: #f2b35f;
32
- --accent-deep: #8f5925;
33
- --accent-mid: #d8954a;
34
- --accent-soft: rgba(242, 179, 95, 0.12);
35
- --accent-dim: rgba(242, 179, 95, 0.06);
36
- --accent-rim: rgba(242, 179, 95, 0.28);
37
-
38
- --warm: #ffcf86;
39
- --warm-soft: rgba(255, 207, 134, 0.12);
40
- --warm-rim: rgba(255, 207, 134, 0.28);
41
-
42
- --cool: #80786e;
43
- --cool-soft: rgba(128, 120, 110, 0.16);
44
- --cool-rim: rgba(128, 120, 110, 0.34);
45
-
46
- --title-ink: var(--accent-bright);
47
-
48
- --font-display: 'Syne', ui-sans-serif, sans-serif;
49
- --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
50
- --font-mono: 'DM Mono', ui-monospace, monospace;
51
-
52
- --radius: 18px;
53
- --radius-sm: 12px;
54
- --radius-xs: 8px;
55
- --radius-pill: 999px;
56
- --transition: 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
57
-
58
- --shadow: 0 28px 70px rgba(0, 0, 0, 0.42),
59
- 0 1px 0 rgba(255, 218, 159, 0.07) inset,
60
- 0 0 0 1px rgba(255, 218, 159, 0.035) inset;
61
- --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.30);
62
- --glow: 0 0 34px rgba(242, 179, 95, 0.20);
63
-
64
- --bg-layers: radial-gradient(ellipse 72% 46% at 78% -8%, rgba(242, 179, 95, 0.14), transparent 58%),
65
- radial-gradient(ellipse 56% 40% at 8% 18%, rgba(255, 207, 134, 0.055), transparent 60%),
66
- linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 56%, var(--bg-deep) 100%);
67
- --nav-bg: rgba(15, 14, 13, 0.76);
68
- --card-sheen: linear-gradient(180deg, rgba(255, 218, 159, 0.035), transparent 48%);
69
- --bleed: linear-gradient(180deg, rgba(242, 179, 95, 0.09), rgba(242, 179, 95, 0) 48%),
70
- repeating-linear-gradient(180deg, rgba(242, 179, 95, 0.045) 0 1px, transparent 1px 30px);
71
- --grid: linear-gradient(90deg, rgba(242, 179, 95, 0.035) 1px, transparent 1px),
72
- linear-gradient(180deg, rgba(242, 179, 95, 0.025) 1px, transparent 1px);
73
- --grid-size: 72px 72px;
74
- --focus-glow: 0 0 20px rgba(242, 179, 95, 0.12);
75
- --btn-grad: linear-gradient(135deg, #c17f3a 0%, #f2b35f 100%);
76
- --btn-grad-hover:linear-gradient(135deg, #f2b35f 0%, #ffd493 100%);
77
- --btn-shadow: 0 10px 24px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
78
- --btn-shadow-hover: 0 14px 34px rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(255, 255, 255, 0.20) inset;
79
- --thumb-glow: 0 0 12px rgba(128, 120, 110, 0.30);
80
- --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 7 6-7z' fill='%23f2b35f'/%3E%3C/svg%3E");
81
- --scroll: rgba(242, 179, 95, 0.28);
82
- --scroll-hover: rgba(242, 179, 95, 0.48);
83
- --code-block-bg: rgba(0, 0, 0, 0.25);
84
- }
85
-
86
- /* ============================================================
87
- * Gradio engine variables — map the framework's hooks to our tokens.
88
- * ============================================================ */
89
- :root,
90
- :root.dark,
91
- .gradio-container,
92
- .gradio-container.dark,
93
- body.dark {
94
- --body-background-fill: var(--bg);
95
- --background-fill-primary: var(--panel);
96
- --background-fill-secondary: var(--surface-solid);
97
- --body-text-color: var(--ink);
98
- --body-text-color-subdued: var(--muted);
99
- --color-accent: var(--accent);
100
- --color-accent-soft: var(--accent-soft);
101
- --border-color-primary: var(--border);
102
- --border-color-accent: var(--cool);
103
-
104
- --block-background-fill: var(--surface);
105
- --block-border-color: var(--border);
106
- --block-border-width: 1px;
107
- --block-radius: var(--radius);
108
- --block-shadow: var(--shadow);
109
-
110
- --block-title-background-fill: transparent;
111
- --block-title-border-color: transparent;
112
- --block-title-text-color: var(--ink);
113
- --block-title-text-size: 1.05rem;
114
- --block-title-text-weight: 700;
115
- --block-label-background-fill: transparent;
116
- --block-label-border-color: transparent;
117
- --block-label-text-color: var(--accent-bright);
118
- --block-label-text-size: 0.72rem;
119
- --block-label-text-weight: 500;
120
-
121
- --input-background-fill: var(--surface-solid);
122
- --input-background-fill-focus: var(--surface-solid);
123
- --input-border-color: var(--border);
124
- --input-border-color-focus: var(--cool);
125
- --input-text-size: 0.9rem;
126
- --input-radius: var(--radius-sm);
127
-
128
- --button-primary-background-fill: var(--accent);
129
- --button-primary-background-fill-hover: var(--accent-bright);
130
- --button-primary-text-color: var(--on-accent);
131
- --button-primary-text-color-hover: var(--on-accent);
132
- --button-primary-border-color: var(--accent);
133
- --button-secondary-background-fill: var(--surface-solid);
134
- --button-secondary-background-fill-hover: var(--surface-hover);
135
- --button-secondary-text-color: var(--ink);
136
- --button-secondary-text-color-hover: var(--ink-strong);
137
- --button-secondary-border-color: var(--border-strong);
138
- --button-large-text-size: 0.92rem;
139
- --button-large-text-weight: 600;
140
- --button-large-radius: var(--radius-sm);
141
-
142
- --slider-color: var(--cool);
143
-
144
- --font: var(--font-body);
145
- --font-mono: var(--font-mono);
146
-
147
- --radius-xxs: 2px;
148
- --radius-xs: 4px;
149
- --radius-sm: var(--radius-xs);
150
- --radius-md: var(--radius-sm);
151
- --radius-lg: var(--radius);
152
- }
153
-
154
- /* ============================================================
155
- * Part 2 — Root containers · LAYERED BACKGROUND + decorations
156
- * ============================================================ */
157
-
158
- html body,
159
- html body.dark,
160
- html body .gradio-container,
161
- html body .gradio-container.dark,
162
- html body .stApp,
163
- html body .stApp > div,
164
- html body [data-testid="stAppViewContainer"] {
165
- background: var(--bg-layers) !important;
166
- background-attachment: fixed !important;
167
- color: var(--ink) !important;
168
- font-family: var(--font-body) !important;
169
- line-height: 1.6 !important;
170
- }
171
-
172
- /* Decorative light-bleed + faint engineering grid on the app shell */
173
- html body .gradio-container::before,
174
- html body .stApp::before {
175
- content: "" !important;
176
- position: fixed !important;
177
- inset: 0 0 auto 0 !important;
178
- height: 230px !important;
179
- pointer-events: none !important;
180
- z-index: 0 !important;
181
- background: var(--bleed) !important;
182
- -webkit-mask-image: linear-gradient(180deg, black, transparent 88%) !important;
183
- mask-image: linear-gradient(180deg, black, transparent 88%) !important;
184
- opacity: 0.72 !important;
185
- }
186
- html body .gradio-container::after,
187
- html body .stApp::after {
188
- content: "" !important;
189
- position: fixed !important;
190
- inset: 0 !important;
191
- pointer-events: none !important;
192
- z-index: 0 !important;
193
- background-image: var(--grid) !important;
194
- background-size: var(--grid-size) !important;
195
- -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%) !important;
196
- mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%) !important;
197
- opacity: 0.42 !important;
198
- }
199
-
200
- html body .main .block-container,
201
- html body .stApp [data-testid="stVerticalBlock"] {
202
- background: transparent !important;
203
- position: relative !important;
204
- z-index: 1 !important;
205
- }
206
-
207
- /* ============================================================
208
- * Part 3 — Typography
209
- * ============================================================ */
210
-
211
- html body h1, html body h2, html body h3, html body h4, html body h5, html body h6,
212
- html body .gradio-container h1, html body .gradio-container h2, html body .gradio-container h3,
213
- html body .gradio-container h4, html body .gradio-container h5, html body .gradio-container h6,
214
- html body .gradio-container h1 *, html body .gradio-container h2 *, html body .gradio-container h3 *,
215
- html body .prose h1, html body .prose h2, html body .prose h3, html body .prose h4,
216
- html body .prose h1 *, html body .prose h2 *, html body .prose h3 *,
217
- html body .markdown h1, html body .markdown h2, html body .markdown h3,
218
- html body .markdown h1 *, html body .markdown h2 *, html body .markdown h3 *,
219
- html body .gr-markdown h1, html body .gr-markdown h2, html body .gr-markdown h3,
220
- html body .gr-markdown h1 *, html body .gr-markdown h2 *, html body .gr-markdown h3 *,
221
- html body .stApp h1, html body .stApp h2, html body .stApp h3,
222
- html body [data-testid="stMarkdownContainer"] h1,
223
- html body [data-testid="stMarkdownContainer"] h2,
224
- html body [data-testid="stMarkdownContainer"] h3,
225
- html body [data-testid="stMarkdownContainer"] h1 *,
226
- html body [data-testid="stMarkdownContainer"] h2 *,
227
- html body [data-testid="stMarkdownContainer"] h3 * {
228
- font-family: var(--font-display) !important;
229
- font-weight: 700 !important;
230
- letter-spacing: -0.02em !important;
231
- color: var(--ink) !important;
232
- -webkit-text-fill-color: var(--ink) !important;
233
- background-image: none !important;
234
- background-clip: unset !important;
235
- -webkit-background-clip: unset !important;
236
- line-height: 1.12 !important;
237
- }
238
-
239
- html body h1, html body .gradio-container h1, html body .stApp h1 {
240
- font-size: 2.1rem !important;
241
- margin-bottom: 0.4em !important;
242
- color: var(--title-ink) !important;
243
- -webkit-text-fill-color: var(--title-ink) !important;
244
- }
245
- html body h2, html body .gradio-container h2, html body .stApp h2 {
246
- font-size: 1.5rem !important;
247
- color: var(--accent) !important;
248
- -webkit-text-fill-color: var(--accent) !important;
249
- }
250
- html body h3, html body .gradio-container h3, html body .stApp h3,
251
- html body h4, html body .gradio-container h4, html body .stApp h4,
252
- html body h3 *, html body .gradio-container h3 *, html body .stApp h3 *,
253
- html body h4 *, html body .gradio-container h4 *, html body .stApp h4 *,
254
- html body [data-testid="stMarkdownContainer"] h3,
255
- html body [data-testid="stMarkdownContainer"] h3 *,
256
- html body .gr-markdown h3, html body .gr-markdown h3 *,
257
- html body .markdown h3, html body .markdown h3 * {
258
- font-size: 1.1rem !important;
259
- letter-spacing: -0.01em !important;
260
- font-weight: 500 !important;
261
- color: var(--accent-deep) !important;
262
- -webkit-text-fill-color: var(--accent-deep) !important;
263
- }
264
-
265
- html body em,
266
- html body .gradio-container em,
267
- html body .stApp em {
268
- font-style: italic !important;
269
- color: var(--ink) !important;
270
- }
271
-
272
- html body blockquote,
273
- html body .gradio-container blockquote,
274
- html body .stApp blockquote {
275
- border-left: 2px solid var(--accent-rim) !important;
276
- padding-left: 16px !important;
277
- color: var(--muted) !important;
278
- font-style: italic !important;
279
- }
280
-
281
- /* ============================================================
282
- * Part 4 — Labels · LETTERSPACED UPPERCASE
283
- * ============================================================ */
284
-
285
- html body .gradio-container .block-label,
286
- html body .gradio-container .block-label *,
287
- html body .gradio-container label,
288
- html body .gradio-container label > *,
289
- html body .gradio-container [class*="label-wrap"],
290
- html body .gradio-container [class*="label-wrap"] *,
291
- html body .gradio-container [data-testid*="label"],
292
- html body .gradio-container .wrap > label,
293
- html body .stApp label,
294
- html body .stApp [data-testid="stWidgetLabel"],
295
- html body .stApp [data-testid="stWidgetLabel"] > *,
296
- html body .stApp [data-testid="stWidgetLabel"] p {
297
- font-family: var(--font-mono) !important;
298
- font-size: 0.78rem !important;
299
- color: var(--accent-bright) !important;
300
- letter-spacing: 0.13em !important;
301
- text-transform: uppercase !important;
302
- font-weight: 600 !important;
303
- background: transparent !important;
304
- }
305
-
306
- /* Section eyebrows / kickers — even more letterspaced */
307
- html body .gradio-container .ut-eyebrow,
308
- html body .stApp .ut-eyebrow {
309
- font-family: var(--font-mono) !important;
310
- font-size: 0.68rem !important;
311
- color: var(--muted) !important;
312
- letter-spacing: 0.2em !important;
313
- text-transform: uppercase !important;
314
- }
315
-
316
- /* ============================================================
317
- * Part 5 — Cards / blocks · TRANSLUCENT GLASS + SOFT GLOW
318
- * ============================================================ */
319
-
320
- html body .gradio-container .block,
321
- html body .gradio-container .gr-block,
322
- html body .gradio-container .gr-padded,
323
- html body .gradio-container .gr-form,
324
- html body .gradio-container .gr-box,
325
- html body .gradio-container .wrap,
326
- html body .stApp [data-testid="stForm"],
327
- html body .stApp [data-testid="stExpander"] {
328
- background: var(--card-sheen), var(--surface) !important;
329
- -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
330
- backdrop-filter: blur(18px) saturate(140%) !important;
331
- border: 1px solid var(--border) !important;
332
- border-radius: var(--radius) !important;
333
- box-shadow: var(--shadow) !important;
334
- padding: 22px !important;
335
- position: relative !important;
336
- z-index: 1 !important;
337
- transition: border-color var(--transition), box-shadow var(--transition) !important;
338
- }
339
-
340
- html body .gradio-container .block:hover,
341
- html body .stApp [data-testid="stForm"]:hover {
342
- border-color: var(--border-strong) !important;
343
- }
344
-
345
- /* Nested inner blocks — slightly less prominent */
346
- html body .gradio-container .block .block,
347
- html body .gradio-container .block .gr-form {
348
- background: var(--surface-nested) !important;
349
- box-shadow: none !important;
350
- padding: 16px !important;
351
- }
352
-
353
- /* ============================================================
354
- * Part 6 — Inputs · refined borders, generous radii, cool focus glow
355
- * ============================================================ */
356
-
357
- html body .gradio-container input[type="text"],
358
- html body .gradio-container input[type="number"],
359
- html body .gradio-container input[type="email"],
360
- html body .gradio-container input[type="password"],
361
- html body .gradio-container input[type="search"],
362
- html body .gradio-container textarea,
363
- html body .gradio-container select,
364
- html body .gradio-container .gr-textbox,
365
- html body .gradio-container .gr-textbox textarea,
366
- html body .gradio-container .gr-textbox input,
367
- html body .stApp input[type="text"],
368
- html body .stApp input[type="number"],
369
- html body .stApp textarea,
370
- html body .stApp [data-baseweb="select"] > div,
371
- html body .stApp [data-baseweb="input"] {
372
- background: var(--surface-solid) !important;
373
- border: 1px solid var(--border-strong) !important;
374
- border-radius: var(--radius-sm) !important;
375
- color: var(--ink) !important;
376
- font-family: var(--font-mono) !important;
377
- font-size: 0.9rem !important;
378
- caret-color: var(--warm) !important;
379
- padding: 13px 16px !important;
380
- transition: border-color var(--transition), box-shadow var(--transition) !important;
381
- }
382
-
383
- html body .gradio-container textarea,
384
- html body .stApp textarea {
385
- min-height: 130px !important;
386
- line-height: 1.6 !important;
387
- }
388
-
389
- html body .gradio-container input:focus,
390
- html body .gradio-container textarea:focus,
391
- html body .gradio-container select:focus,
392
- html body .stApp input:focus,
393
- html body .stApp textarea:focus {
394
- border-color: var(--cool) !important;
395
- outline: none !important;
396
- box-shadow: 0 0 0 3px var(--accent-soft), var(--focus-glow) !important;
397
- }
398
-
399
- html body .gradio-container ::placeholder,
400
- html body .stApp ::placeholder {
401
- color: var(--dim) !important;
402
- }
403
-
404
- /* Custom select — inline SVG accent arrow */
405
- html body .gradio-container select,
406
- html body .gradio-container .gr-dropdown select {
407
- appearance: none !important;
408
- -webkit-appearance: none !important;
409
- background-image: var(--arrow) !important;
410
- background-repeat: no-repeat !important;
411
- background-position: right 14px center !important;
412
- padding-right: 38px !important;
413
- }
414
-
415
- /* Numeric outputs — tabular nums */
416
- html body .gradio-container .gr-number input,
417
- html body .gradio-container [class*="number"] input,
418
- html body .gradio-container .output-number,
419
- html body .gradio-container .metric,
420
- html body .stApp [data-testid="stMetricValue"],
421
- html body .stApp [data-testid="stNumberInput"] input {
422
- font-variant-numeric: tabular-nums !important;
423
- font-feature-settings: 'tnum' !important;
424
- }
425
-
426
- /* ============================================================
427
- * Part 7 — Buttons · gradient fill + glow hover
428
- * ============================================================ */
429
-
430
- html body .gradio-container button,
431
- html body .gradio-container .gr-button,
432
- html body .gradio-container [class*="gr-button"],
433
- html body .gradio-container button.primary,
434
- html body .gradio-container .primary,
435
- html body .stApp .stButton > button,
436
- html body .stApp button[kind="primary"] {
437
- background: var(--btn-grad) !important;
438
- color: var(--on-accent) !important;
439
- font-family: var(--font-display) !important;
440
- font-weight: 600 !important;
441
- font-size: 0.92rem !important;
442
- letter-spacing: 0.02em !important;
443
- border: none !important;
444
- border-radius: var(--radius-sm) !important;
445
- padding: 13px 28px !important;
446
- cursor: pointer !important;
447
- box-shadow: var(--btn-shadow) !important;
448
- transition: transform 100ms ease,
449
- box-shadow var(--transition),
450
- background var(--transition) !important;
451
- }
452
-
453
- html body .gradio-container button:hover,
454
- html body .gradio-container .gr-button:hover,
455
- html body .stApp .stButton > button:hover {
456
- background: var(--btn-grad-hover) !important;
457
- color: var(--on-accent) !important;
458
- box-shadow: var(--btn-shadow-hover), var(--glow) !important;
459
- }
460
-
461
- html body .gradio-container button:active,
462
- html body .stApp .stButton > button:active {
463
- transform: scale(0.985) !important;
464
- background: var(--accent-deep) !important;
465
- }
466
-
467
- html body .gradio-container button.secondary,
468
- html body .gradio-container .secondary,
469
- html body .stApp button[kind="secondary"] {
470
- background: var(--surface-solid) !important;
471
- color: var(--ink) !important;
472
- border: 1px solid var(--border-strong) !important;
473
- box-shadow: var(--shadow-sm) !important;
474
- }
475
-
476
- html body .gradio-container button.secondary:hover,
477
- html body .stApp button[kind="secondary"]:hover {
478
- background: var(--surface-hover) !important;
479
- border-color: var(--accent-rim) !important;
480
- color: var(--ink-strong) !important;
481
- }
482
-
483
- /* ============================================================
484
- * Part 8 — Sliders, checkboxes, radios · cool accent
485
- * ============================================================ */
486
-
487
- html body input[type="range"] {
488
- accent-color: var(--cool) !important;
489
- height: 4px !important;
490
- }
491
- html body input[type="range"]::-webkit-slider-thumb {
492
- background: var(--cool) !important;
493
- border: 2px solid var(--bg) !important;
494
- box-shadow: 0 0 0 1px var(--cool-rim), var(--thumb-glow) !important;
495
- width: 16px !important;
496
- height: 16px !important;
497
- }
498
- html body input[type="range"]::-moz-range-thumb {
499
- background: var(--cool) !important;
500
- border: 2px solid var(--bg) !important;
501
- width: 16px !important;
502
- height: 16px !important;
503
- }
504
- html body input[type="checkbox"],
505
- html body input[type="radio"] {
506
- accent-color: var(--accent) !important;
507
- width: 15px !important;
508
- height: 15px !important;
509
- }
510
-
511
- /* ============================================================
512
- * Part 9 — File uploads
513
- * ============================================================ */
514
-
515
- html body .gradio-container .gr-file-upload,
516
- html body .gradio-container input[type="file"],
517
- html body .stApp [data-testid="stFileUploader"],
518
- html body .stApp [data-testid="stFileUploaderDropzone"] {
519
- background: var(--accent-dim) !important;
520
- border: 1px dashed var(--accent-rim) !important;
521
- border-radius: var(--radius-sm) !important;
522
- color: var(--ink) !important;
523
- transition: background var(--transition),
524
- border-color var(--transition) !important;
525
- }
526
- html body .gradio-container .gr-file-upload:hover,
527
- html body .stApp [data-testid="stFileUploader"]:hover {
528
- background: var(--accent-soft) !important;
529
- border-color: var(--accent) !important;
530
- }
531
-
532
- html body input[type="file"]::file-selector-button {
533
- background: var(--accent-soft) !important;
534
- color: var(--accent) !important;
535
- border: 1px solid var(--accent-rim) !important;
536
- border-radius: var(--radius-xs) !important;
537
- padding: 7px 14px !important;
538
- margin-right: 14px !important;
539
- font-family: var(--font-mono) !important;
540
- font-size: 0.78rem !important;
541
- letter-spacing: 0.06em !important;
542
- cursor: pointer !important;
543
- }
544
-
545
- /* ============================================================
546
- * Part 10 — Markdown, code, links
547
- * ============================================================ */
548
-
549
- html body .gradio-container .markdown,
550
- html body .gradio-container .gr-markdown,
551
- html body .gradio-container .prose,
552
- html body .stApp [data-testid="stMarkdownContainer"] {
553
- color: var(--ink) !important;
554
- font-family: var(--font-body) !important;
555
- line-height: 1.65 !important;
556
- }
557
-
558
- html body .gradio-container a,
559
- html body .stApp a {
560
- color: var(--accent) !important;
561
- text-decoration: none !important;
562
- border-bottom: 1px solid var(--accent-rim) !important;
563
- transition: border-color var(--transition), color var(--transition) !important;
564
- }
565
- html body .gradio-container a:hover,
566
- html body .stApp a:hover {
567
- color: var(--accent-bright) !important;
568
- border-bottom-color: var(--accent) !important;
569
- }
570
-
571
- html body code,
572
- html body .gradio-container code,
573
- html body .stApp code {
574
- background: var(--accent-dim) !important;
575
- color: var(--accent) !important;
576
- font-family: var(--font-mono) !important;
577
- font-size: 0.86em !important;
578
- padding: 2px 7px !important;
579
- border-radius: var(--radius-xs) !important;
580
- border: 1px solid var(--accent-rim) !important;
581
- }
582
-
583
- html body pre code,
584
- html body .gradio-container pre code {
585
- border: 1px solid var(--border) !important;
586
- background: var(--code-block-bg) !important;
587
- display: block !important;
588
- padding: 14px 16px !important;
589
- border-radius: var(--radius-sm) !important;
590
- line-height: 1.55 !important;
591
- }
592
-
593
- /* ============================================================
594
- * Part 11 — Callout / interpretation card
595
- * Use class .ut-callout on a div for editorial-voice prose blocks.
596
- * ============================================================ */
597
-
598
- html body .ut-callout,
599
- html body .gradio-container .ut-callout,
600
- html body .stApp .ut-callout,
601
- html body .gradio-container [class*="info"]:not(button):not(input),
602
- html body .stApp .stAlert {
603
- background: var(--accent-soft) !important;
604
- border: 1px solid var(--accent-rim) !important;
605
- border-radius: var(--radius-sm) !important;
606
- padding: 14px 18px !important;
607
- font-size: 0.9rem !important;
608
- color: var(--muted) !important;
609
- line-height: 1.6 !important;
610
- }
611
-
612
- html body .ut-callout strong,
613
- html body .gradio-container .ut-callout strong,
614
- html body .stApp .ut-callout strong {
615
- color: var(--ink) !important;
616
- font-weight: 600 !important;
617
- }
618
-
619
- /* ============================================================
620
- * Part 12 — Scrollbars + Streamlit chrome
621
- * ============================================================ */
622
-
623
- html body ::-webkit-scrollbar { width: 10px; height: 10px; }
624
- html body ::-webkit-scrollbar-track {
625
- background: transparent;
626
- }
627
- html body ::-webkit-scrollbar-thumb {
628
- background: var(--scroll);
629
- border-radius: var(--radius-pill);
630
- border: 2px solid transparent;
631
- background-clip: padding-box;
632
- }
633
- html body ::-webkit-scrollbar-thumb:hover {
634
- background: var(--scroll-hover);
635
- background-clip: padding-box;
636
- border: 2px solid transparent;
637
- }
638
-
639
- html body .stApp header[data-testid="stHeader"] {
640
- background: var(--nav-bg) !important;
641
- -webkit-backdrop-filter: blur(14px) !important;
642
- backdrop-filter: blur(14px) !important;
643
- border-bottom: 1px solid var(--border) !important;
644
- }
645
- html body .stApp [data-testid="stSidebar"] {
646
- background: var(--panel) !important;
647
- border-right: 1px solid var(--border) !important;
648
- }
649
-
650
- /* ============================================================
651
- * Part 13 — Misc polish
652
- * ============================================================ */
653
-
654
- html body hr,
655
- html body .gradio-container hr,
656
- html body .stApp hr {
657
- border: none !important;
658
- border-top: 1px solid var(--border) !important;
659
- margin: 24px 0 !important;
660
- }
661
-
662
- html body ::selection {
663
- background: var(--accent-soft);
664
- color: var(--selection-ink);
665
- }
666
-
667
- /* Animate things appearing — subtle, not distracting */
668
- @media (prefers-reduced-motion: no-preference) {
669
- html body .gradio-container .block,
670
- html body .stApp [data-testid="stForm"] {
671
- animation: ut-fade-in 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
672
- }
673
- @keyframes ut-fade-in {
674
- from { opacity: 0; transform: translateY(4px); }
675
- to { opacity: 1; transform: translateY(0); }
676
- }
677
- }