Spaces:
Runtime error
Runtime error
Update style.css
Browse files
style.css
CHANGED
|
@@ -2,38 +2,40 @@
|
|
| 2 |
TWOQUARKS - QuarksLab
|
| 3 |
═══════════════════════════════════════════════════════════
|
| 4 |
──── Precision systems for adaptive intelligence. ──── */
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
box-sizing: border-box;
|
| 9 |
-
}
|
| 10 |
:root {
|
|
|
|
| 11 |
--ultra-blue: #3B82F6;
|
| 12 |
--ultra-blue-bright: #60A5FA;
|
| 13 |
--ultra-blue-deep: #1E40AF;
|
| 14 |
--ultra-blue-glow: rgba(39, 100, 180, 0.35);
|
| 15 |
|
| 16 |
--bg-base: #000000;
|
| 17 |
-
--bg-elev: rgba(10, 12, 18, 0.
|
|
|
|
| 18 |
--fg-primary: #FFFFFF;
|
| 19 |
-
--fg-secondary: rgba(255, 255, 255, 0.
|
| 20 |
-
--fg-tertiary: rgba(255, 255, 255, 0.
|
| 21 |
|
| 22 |
-
|
|
|
|
| 23 |
--surface-card: rgba(255, 255, 255, 0.045);
|
| 24 |
-
--surface-card-hover: rgba(255, 255, 255, 0.
|
| 25 |
--surface-input: rgba(255, 255, 255, 0.04);
|
| 26 |
|
| 27 |
--border-subtle: rgba(255, 255, 255, 0.08);
|
| 28 |
--border-medium: rgba(255, 255, 255, 0.14);
|
| 29 |
-
|
|
|
|
|
|
|
| 30 |
|
| 31 |
--space-xs: 0.5rem;
|
| 32 |
--space-sm: 0.75rem;
|
| 33 |
--space-md: 1rem;
|
| 34 |
--space-lg: 1.5rem;
|
| 35 |
--space-xl: 2rem;
|
| 36 |
-
--space-2xl: 3rem;
|
| 37 |
|
| 38 |
--radius-sm: 10px;
|
| 39 |
--radius-md: 14px;
|
|
@@ -48,20 +50,13 @@
|
|
| 48 |
--trans-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
| 49 |
|
| 50 |
--shadow-soft: 0 10px 30px rgba(0,0,0,0.35);
|
| 51 |
-
--shadow-glow: 0 0 22px rgba(
|
| 52 |
|
| 53 |
--z-base: 1;
|
| 54 |
-
--z-dropdown: 10;
|
| 55 |
-
--z-sticky: 20;
|
| 56 |
-
--z-overlay: 30;
|
| 57 |
-
--z-modal: 40;
|
| 58 |
--z-canvas: 0;
|
| 59 |
}
|
| 60 |
|
| 61 |
-
html, body {
|
| 62 |
-
height: 100%;
|
| 63 |
-
overflow-x: hidden;
|
| 64 |
-
}
|
| 65 |
|
| 66 |
body {
|
| 67 |
font-family: var(--font-body);
|
|
@@ -80,11 +75,12 @@ body {
|
|
| 80 |
padding: var(--space-lg);
|
| 81 |
}
|
| 82 |
|
| 83 |
-
.gradio-container .prose,
|
| 84 |
.gradio-container .markdown {
|
| 85 |
color: var(--fg-secondary) !important;
|
| 86 |
}
|
| 87 |
|
|
|
|
| 88 |
#quantumField {
|
| 89 |
position: fixed;
|
| 90 |
inset: 0;
|
|
@@ -101,12 +97,13 @@ body {
|
|
| 101 |
padding-top: var(--space-md);
|
| 102 |
}
|
| 103 |
|
|
|
|
| 104 |
.tq-hero {
|
| 105 |
margin: var(--space-md) 0 var(--space-lg) 0;
|
| 106 |
padding: var(--space-lg) var(--space-xl);
|
| 107 |
-
background: rgba(0,0,0,0.
|
| 108 |
-
backdrop-filter: blur(16px) saturate(
|
| 109 |
-
-webkit-backdrop-filter: blur(12px) saturate(
|
| 110 |
border: 1px solid var(--border-subtle);
|
| 111 |
border-radius: var(--radius-lg);
|
| 112 |
box-shadow: var(--shadow-soft);
|
|
@@ -116,7 +113,7 @@ body {
|
|
| 116 |
font-weight: 750;
|
| 117 |
font-size: 1.55rem;
|
| 118 |
letter-spacing: -0.02em;
|
| 119 |
-
background: linear-gradient(135deg, var(--fg-primary) 0%,
|
| 120 |
background-clip: text;
|
| 121 |
-webkit-background-clip: text;
|
| 122 |
-webkit-text-fill-color: transparent;
|
|
@@ -130,46 +127,11 @@ body {
|
|
| 130 |
max-width: 70ch;
|
| 131 |
}
|
| 132 |
|
| 133 |
-
|
| 134 |
-
display: flex;
|
| 135 |
-
gap: var(--space-sm);
|
| 136 |
-
flex-wrap: wrap;
|
| 137 |
-
margin-top: var(--space-md);
|
| 138 |
-
}
|
| 139 |
-
|
| 140 |
-
.tq-pill {
|
| 141 |
-
display: inline-flex;
|
| 142 |
-
align-items: center;
|
| 143 |
-
gap: 0.5rem;
|
| 144 |
-
padding: 0.55rem 0.95rem;
|
| 145 |
-
font-size: 0.875rem;
|
| 146 |
-
font-weight: 520;
|
| 147 |
-
color: var(--fg-primary);
|
| 148 |
-
text-decoration: none;
|
| 149 |
-
background: rgba(255, 255, 255, 0.02);
|
| 150 |
-
border: 1px solid var(--border-medium);
|
| 151 |
-
border-radius: var(--radius-full);
|
| 152 |
-
opacity: 0.92;
|
| 153 |
-
transition: all var(--trans-base);
|
| 154 |
-
white-space: nowrap;
|
| 155 |
-
}
|
| 156 |
-
|
| 157 |
-
.tq-pill:hover {
|
| 158 |
-
background: rgba(255, 255, 255, 0.06);
|
| 159 |
-
border-color: var(--border-accent);
|
| 160 |
-
box-shadow: var(--shadow-glow);
|
| 161 |
-
}
|
| 162 |
-
|
| 163 |
-
.tq-pill--active {
|
| 164 |
-
background: rgba(59,130,246,0.18);
|
| 165 |
-
border-color: rgba(59,130,246,0.65);
|
| 166 |
-
box-shadow: 0 0 0 1px rgba(59,130,246,0.25) inset, var(--shadow-glow);
|
| 167 |
-
}
|
| 168 |
-
|
| 169 |
.gradio-container .gr-panel,
|
| 170 |
.gradio-container [class*="gr-box"],
|
| 171 |
.gradio-container .gr-form,
|
| 172 |
-
.gradio-container .block,
|
| 173 |
.gradio-container .wrap {
|
| 174 |
background: var(--surface-card) !important;
|
| 175 |
backdrop-filter: blur(12px) !important;
|
|
@@ -177,18 +139,22 @@ body {
|
|
| 177 |
border: 1px solid var(--border-subtle) !important;
|
| 178 |
border-radius: var(--radius-md) !important;
|
| 179 |
padding: var(--space-lg) !important;
|
| 180 |
-
transition: transform var(--trans-base),
|
|
|
|
|
|
|
|
|
|
| 181 |
box-shadow: 0 6px 22px rgba(0,0,0,0.22) !important;
|
| 182 |
}
|
| 183 |
|
| 184 |
.gradio-container .gr-panel:hover,
|
| 185 |
.gradio-container [class*="gr-box"]:hover,
|
| 186 |
.gradio-container .gr-form:hover {
|
| 187 |
-
border-color: rgba(
|
| 188 |
background: var(--surface-card-hover) !important;
|
| 189 |
-
box-shadow: 0 10px 32px rgba(0,0,0,0.30)
|
| 190 |
}
|
| 191 |
|
|
|
|
| 192 |
.tq-card-title {
|
| 193 |
font-weight: 650;
|
| 194 |
letter-spacing: -0.01em;
|
|
@@ -202,6 +168,7 @@ body {
|
|
| 202 |
margin-bottom: 0.75rem;
|
| 203 |
}
|
| 204 |
|
|
|
|
| 205 |
.gradio-container .gr-tab-nav {
|
| 206 |
background: transparent !important;
|
| 207 |
border: none !important;
|
|
@@ -224,17 +191,18 @@ body {
|
|
| 224 |
|
| 225 |
.gradio-container .gr-tab-nav button:hover {
|
| 226 |
background: rgba(255, 255, 255, 0.06) !important;
|
| 227 |
-
border-color:
|
| 228 |
}
|
| 229 |
|
| 230 |
.gradio-container .gr-tab-nav button.selected,
|
| 231 |
.gradio-container .gr-tab-nav button[aria-selected="true"] {
|
| 232 |
-
background: rgba(
|
| 233 |
-
border-color: rgba(
|
| 234 |
-
box-shadow: 0 0 0 1px rgba(
|
| 235 |
opacity: 1 !important;
|
| 236 |
}
|
| 237 |
|
|
|
|
| 238 |
.gradio-container input[type="text"],
|
| 239 |
.gradio-container input[type="number"],
|
| 240 |
.gradio-container textarea,
|
|
@@ -252,14 +220,15 @@ body {
|
|
| 252 |
.gradio-container textarea:focus,
|
| 253 |
.gradio-container select:focus {
|
| 254 |
outline: none !important;
|
| 255 |
-
border-color: rgba(
|
| 256 |
-
box-shadow: 0 0 0 3px rgba(
|
| 257 |
}
|
| 258 |
|
| 259 |
.gradio-container input[type="range"] {
|
| 260 |
-
accent-color:
|
| 261 |
}
|
| 262 |
|
|
|
|
| 263 |
.gradio-container button:not(.gr-tab-nav button),
|
| 264 |
.gradio-container .gr-button {
|
| 265 |
padding: 0.65rem 1.05rem !important;
|
|
@@ -267,46 +236,47 @@ body {
|
|
| 267 |
font-weight: 600 !important;
|
| 268 |
letter-spacing: 0.01em !important;
|
| 269 |
color: var(--fg-primary) !important;
|
| 270 |
-
background: rgba(
|
| 271 |
-
border: 1px solid rgba(
|
| 272 |
border-radius: var(--radius-full) !important;
|
| 273 |
-
opacity: 1 !important;
|
| 274 |
cursor: pointer !important;
|
| 275 |
-
transition: transform var(--trans-fast),
|
|
|
|
|
|
|
|
|
|
| 276 |
}
|
| 277 |
|
| 278 |
.gradio-container button:hover:not(.gr-tab-nav button),
|
| 279 |
.gradio-container .gr-button:hover {
|
| 280 |
-
background: rgba(
|
| 281 |
-
border-color: rgba(
|
| 282 |
-
box-shadow: 0 0 18px rgba(
|
| 283 |
}
|
| 284 |
|
| 285 |
.gradio-container button:active:not(.gr-tab-nav button),
|
| 286 |
-
.gradio-container .gr-button:active {
|
| 287 |
-
transform: scale(0.985) !important;
|
| 288 |
-
}
|
| 289 |
|
| 290 |
.gradio-container button:disabled,
|
| 291 |
.gradio-container .gr-button:disabled {
|
| 292 |
opacity: 0.35 !important;
|
| 293 |
cursor: not-allowed !important;
|
| 294 |
-
filter: grayscale(0.2) !important;
|
| 295 |
}
|
| 296 |
|
|
|
|
| 297 |
.gradio-container button.primary,
|
| 298 |
.gradio-container .gr-button-primary {
|
| 299 |
-
background:
|
| 300 |
-
border-color: rgba(255,255,255,0.
|
| 301 |
-
box-shadow: 0 10px 30px rgba(0,0,0,0.
|
| 302 |
}
|
| 303 |
|
| 304 |
.gradio-container button.primary:hover,
|
| 305 |
.gradio-container .gr-button-primary:hover {
|
| 306 |
-
filter: brightness(1.
|
| 307 |
-
box-shadow: 0 14px 40px rgba(
|
| 308 |
}
|
| 309 |
|
|
|
|
| 310 |
.gradio-container img {
|
| 311 |
width: auto !important;
|
| 312 |
height: auto !important;
|
|
@@ -316,72 +286,52 @@ body {
|
|
| 316 |
display: block !important;
|
| 317 |
}
|
| 318 |
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
|
|
|
|
|
|
| 325 |
overflow: hidden !important;
|
| 326 |
-
border-radius: var(--radius-md) !important;
|
| 327 |
-
background: rgba(10, 12, 18, 0.55) !important;
|
| 328 |
-
border: 1px solid var(--border-subtle) !important;
|
| 329 |
}
|
| 330 |
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
.gradio-container .gr-image-container img,
|
| 334 |
-
.gradio-container [class*="image-container"] img {
|
| 335 |
-
width: 100% !important;
|
| 336 |
-
height: auto !important;
|
| 337 |
-
max-height: 540px !important;
|
| 338 |
-
object-fit: contain !important;
|
| 339 |
-
}
|
| 340 |
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
}
|
| 349 |
-
|
| 350 |
-
#down_gallery, #strange_gallery {
|
| 351 |
-
margin-top: 12px !important;
|
| 352 |
}
|
| 353 |
|
| 354 |
-
|
| 355 |
-
#
|
|
|
|
| 356 |
overflow-x: auto !important;
|
| 357 |
overflow-y: hidden !important;
|
| 358 |
-
padding-bottom: 10px !important;
|
| 359 |
scroll-snap-type: x mandatory !important;
|
| 360 |
-
scroll-behavior: smooth !important;
|
| 361 |
-webkit-overflow-scrolling: touch !important;
|
|
|
|
| 362 |
}
|
| 363 |
|
| 364 |
-
|
| 365 |
-
#
|
| 366 |
-
|
| 367 |
-
}
|
| 368 |
-
|
| 369 |
-
#down_gallery [class*="gallery"]::-webkit-scrollbar-thumb:hover,
|
| 370 |
-
#strange_gallery [class*="gallery"]::-webkit-scrollbar-thumb:hover {
|
| 371 |
-
background: rgba(20,25,25,0.20) !important;
|
| 372 |
-
}
|
| 373 |
-
|
| 374 |
-
#down_gallery [class*="gallery"] [role="list"],
|
| 375 |
-
#strange_gallery [class*="gallery"] [role="list"] {
|
| 376 |
display: flex !important;
|
| 377 |
flex-wrap: nowrap !important;
|
| 378 |
gap: 12px !important;
|
| 379 |
padding: 4px !important;
|
| 380 |
}
|
| 381 |
|
|
|
|
| 382 |
#down_gallery [role="listitem"],
|
| 383 |
#strange_gallery [role="listitem"] {
|
| 384 |
-
flex: 0 0 220px !important;
|
| 385 |
scroll-snap-align: start !important;
|
| 386 |
border-radius: var(--radius-md) !important;
|
| 387 |
overflow: hidden !important;
|
|
@@ -394,11 +344,13 @@ body {
|
|
| 394 |
#down_gallery [role="listitem"]:hover,
|
| 395 |
#strange_gallery [role="listitem"]:hover {
|
| 396 |
transform: translateY(-2px) !important;
|
| 397 |
-
border-color: rgba(
|
| 398 |
-
box-shadow: 0 12px 34px rgba(0,0,0,0.36)
|
| 399 |
}
|
| 400 |
|
| 401 |
-
|
|
|
|
|
|
|
| 402 |
width: 100% !important;
|
| 403 |
height: 220px !important;
|
| 404 |
object-fit: contain !important;
|
|
@@ -406,14 +358,38 @@ body {
|
|
| 406 |
background: rgba(0,0,0,0.40) !important;
|
| 407 |
}
|
| 408 |
|
|
|
|
| 409 |
#down_gallery [role="listitem"]::before,
|
| 410 |
#strange_gallery [role="listitem"]::before {
|
| 411 |
content: "";
|
| 412 |
display: block;
|
| 413 |
height: 10px;
|
| 414 |
-
background: linear-gradient(90deg, rgba(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 415 |
}
|
| 416 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 417 |
.gradio-container label,
|
| 418 |
.gradio-container .gr-label {
|
| 419 |
color: var(--fg-secondary) !important;
|
|
@@ -429,84 +405,38 @@ body {
|
|
| 429 |
line-height: 1.55 !important;
|
| 430 |
}
|
| 431 |
|
|
|
|
| 432 |
.gradio-container pre,
|
| 433 |
.gradio-container code {
|
| 434 |
font-family: var(--font-mono) !important;
|
| 435 |
-
background: rgba(
|
| 436 |
border: 1px solid rgba(255,255,255,0.10) !important;
|
| 437 |
border-radius: var(--radius-sm) !important;
|
| 438 |
padding: 0.35rem 0.55rem !important;
|
| 439 |
-
color:
|
| 440 |
-
}
|
| 441 |
-
|
| 442 |
-
.gradio-container .gr-loading {
|
| 443 |
-
color: var(--ultra-blue) !important;
|
| 444 |
}
|
| 445 |
|
|
|
|
|
|
|
| 446 |
.gradio-container .progress-bar {
|
| 447 |
-
background:
|
| 448 |
-
box-shadow: 0 0 12px
|
| 449 |
}
|
| 450 |
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
}
|
| 455 |
-
|
| 456 |
-
::-webkit-scrollbar-track {
|
| 457 |
-
background: rgba(255, 255, 255, 0.02);
|
| 458 |
-
}
|
| 459 |
-
|
| 460 |
-
::-webkit-scrollbar-thumb {
|
| 461 |
-
background: rgba(255,255,255,0.14);
|
| 462 |
-
border-radius: var(--radius-sm);
|
| 463 |
-
}
|
| 464 |
-
|
| 465 |
-
::-webkit-scrollbar-thumb:hover {
|
| 466 |
-
background: rgba(96,165,250,0.30);
|
| 467 |
-
}
|
| 468 |
|
| 469 |
@media (max-width: 768px) {
|
| 470 |
-
:root {
|
| 471 |
-
|
| 472 |
-
|
| 473 |
-
}
|
| 474 |
-
|
| 475 |
-
|
| 476 |
-
padding: var(--space-md);
|
| 477 |
-
}
|
| 478 |
-
|
| 479 |
-
.tq-hero {
|
| 480 |
-
padding: var(--space-md) var(--space-lg);
|
| 481 |
-
}
|
| 482 |
-
|
| 483 |
-
.tq-hero__brand {
|
| 484 |
-
font-size: 1.25rem;
|
| 485 |
-
}
|
| 486 |
-
|
| 487 |
-
.tq-pills {
|
| 488 |
-
justify-content: center;
|
| 489 |
-
}
|
| 490 |
-
}
|
| 491 |
-
|
| 492 |
-
.tq-glow {
|
| 493 |
-
box-shadow: var(--shadow-glow) !important;
|
| 494 |
}
|
| 495 |
|
| 496 |
-
|
| 497 |
-
|
| 498 |
-
}
|
| 499 |
-
|
| 500 |
-
.tq-fade-in {
|
| 501 |
-
animation: tqFadeIn var(--trans-slow) ease-in;
|
| 502 |
-
}
|
| 503 |
-
|
| 504 |
-
@keyframes tqFadeIn {
|
| 505 |
-
from { opacity: 0; transform: translateY(6px); }
|
| 506 |
-
to { opacity: 1; transform: translateY(0); }
|
| 507 |
-
}
|
| 508 |
-
|
| 509 |
-
footer,
|
| 510 |
-
.gradio-container footer {
|
| 511 |
-
display: none !important;
|
| 512 |
-
}
|
|
|
|
| 2 |
TWOQUARKS - QuarksLab
|
| 3 |
═══════════════════════════════════════════════════════════
|
| 4 |
──── Precision systems for adaptive intelligence. ──── */
|
| 5 |
+
|
| 6 |
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 7 |
+
|
|
|
|
|
|
|
| 8 |
:root {
|
| 9 |
+
/* keep tokens but UI should be dark-glass first */
|
| 10 |
--ultra-blue: #3B82F6;
|
| 11 |
--ultra-blue-bright: #60A5FA;
|
| 12 |
--ultra-blue-deep: #1E40AF;
|
| 13 |
--ultra-blue-glow: rgba(39, 100, 180, 0.35);
|
| 14 |
|
| 15 |
--bg-base: #000000;
|
| 16 |
+
--bg-elev: rgba(10, 12, 18, 0.82);
|
| 17 |
+
|
| 18 |
--fg-primary: #FFFFFF;
|
| 19 |
+
--fg-secondary: rgba(255, 255, 255, 0.72);
|
| 20 |
+
--fg-tertiary: rgba(255, 255, 255, 0.46);
|
| 21 |
|
| 22 |
+
/* DARK GLASS SYSTEM */
|
| 23 |
+
--surface-glass: rgba(0, 0, 0, 0.34);
|
| 24 |
--surface-card: rgba(255, 255, 255, 0.045);
|
| 25 |
+
--surface-card-hover: rgba(255, 255, 255, 0.075);
|
| 26 |
--surface-input: rgba(255, 255, 255, 0.04);
|
| 27 |
|
| 28 |
--border-subtle: rgba(255, 255, 255, 0.08);
|
| 29 |
--border-medium: rgba(255, 255, 255, 0.14);
|
| 30 |
+
|
| 31 |
+
/* de-emphasize blue (still usable as accent) */
|
| 32 |
+
--border-accent: rgba(180, 190, 200, 0.22);
|
| 33 |
|
| 34 |
--space-xs: 0.5rem;
|
| 35 |
--space-sm: 0.75rem;
|
| 36 |
--space-md: 1rem;
|
| 37 |
--space-lg: 1.5rem;
|
| 38 |
--space-xl: 2rem;
|
|
|
|
| 39 |
|
| 40 |
--radius-sm: 10px;
|
| 41 |
--radius-md: 14px;
|
|
|
|
| 50 |
--trans-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
| 51 |
|
| 52 |
--shadow-soft: 0 10px 30px rgba(0,0,0,0.35);
|
| 53 |
+
--shadow-glow: 0 0 22px rgba(140, 180, 255, 0.10);
|
| 54 |
|
| 55 |
--z-base: 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
--z-canvas: 0;
|
| 57 |
}
|
| 58 |
|
| 59 |
+
html, body { height: 100%; overflow-x: hidden; }
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
body {
|
| 62 |
font-family: var(--font-body);
|
|
|
|
| 75 |
padding: var(--space-lg);
|
| 76 |
}
|
| 77 |
|
| 78 |
+
.gradio-container .prose,
|
| 79 |
.gradio-container .markdown {
|
| 80 |
color: var(--fg-secondary) !important;
|
| 81 |
}
|
| 82 |
|
| 83 |
+
/* STARFIELD */
|
| 84 |
#quantumField {
|
| 85 |
position: fixed;
|
| 86 |
inset: 0;
|
|
|
|
| 97 |
padding-top: var(--space-md);
|
| 98 |
}
|
| 99 |
|
| 100 |
+
/* HERO */
|
| 101 |
.tq-hero {
|
| 102 |
margin: var(--space-md) 0 var(--space-lg) 0;
|
| 103 |
padding: var(--space-lg) var(--space-xl);
|
| 104 |
+
background: rgba(0,0,0,0.38);
|
| 105 |
+
backdrop-filter: blur(16px) saturate(160%);
|
| 106 |
+
-webkit-backdrop-filter: blur(12px) saturate(160%);
|
| 107 |
border: 1px solid var(--border-subtle);
|
| 108 |
border-radius: var(--radius-lg);
|
| 109 |
box-shadow: var(--shadow-soft);
|
|
|
|
| 113 |
font-weight: 750;
|
| 114 |
font-size: 1.55rem;
|
| 115 |
letter-spacing: -0.02em;
|
| 116 |
+
background: linear-gradient(135deg, var(--fg-primary) 0%, rgba(210,220,235,0.85) 100%);
|
| 117 |
background-clip: text;
|
| 118 |
-webkit-background-clip: text;
|
| 119 |
-webkit-text-fill-color: transparent;
|
|
|
|
| 127 |
max-width: 70ch;
|
| 128 |
}
|
| 129 |
|
| 130 |
+
/* BASE PANELS / CARDS — force dark glass (no blue wash) */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
.gradio-container .gr-panel,
|
| 132 |
.gradio-container [class*="gr-box"],
|
| 133 |
.gradio-container .gr-form,
|
| 134 |
+
.gradio-container .block,
|
| 135 |
.gradio-container .wrap {
|
| 136 |
background: var(--surface-card) !important;
|
| 137 |
backdrop-filter: blur(12px) !important;
|
|
|
|
| 139 |
border: 1px solid var(--border-subtle) !important;
|
| 140 |
border-radius: var(--radius-md) !important;
|
| 141 |
padding: var(--space-lg) !important;
|
| 142 |
+
transition: transform var(--trans-base),
|
| 143 |
+
box-shadow var(--trans-base),
|
| 144 |
+
border-color var(--trans-base),
|
| 145 |
+
background var(--trans-base) !important;
|
| 146 |
box-shadow: 0 6px 22px rgba(0,0,0,0.22) !important;
|
| 147 |
}
|
| 148 |
|
| 149 |
.gradio-container .gr-panel:hover,
|
| 150 |
.gradio-container [class*="gr-box"]:hover,
|
| 151 |
.gradio-container .gr-form:hover {
|
| 152 |
+
border-color: rgba(255,255,255,0.14) !important;
|
| 153 |
background: var(--surface-card-hover) !important;
|
| 154 |
+
box-shadow: 0 10px 32px rgba(0,0,0,0.30) !important;
|
| 155 |
}
|
| 156 |
|
| 157 |
+
/* TITLES */
|
| 158 |
.tq-card-title {
|
| 159 |
font-weight: 650;
|
| 160 |
letter-spacing: -0.01em;
|
|
|
|
| 168 |
margin-bottom: 0.75rem;
|
| 169 |
}
|
| 170 |
|
| 171 |
+
/* TABS */
|
| 172 |
.gradio-container .gr-tab-nav {
|
| 173 |
background: transparent !important;
|
| 174 |
border: none !important;
|
|
|
|
| 191 |
|
| 192 |
.gradio-container .gr-tab-nav button:hover {
|
| 193 |
background: rgba(255, 255, 255, 0.06) !important;
|
| 194 |
+
border-color: rgba(255,255,255,0.20) !important;
|
| 195 |
}
|
| 196 |
|
| 197 |
.gradio-container .gr-tab-nav button.selected,
|
| 198 |
.gradio-container .gr-tab-nav button[aria-selected="true"] {
|
| 199 |
+
background: rgba(255,255,255,0.06) !important;
|
| 200 |
+
border-color: rgba(255,255,255,0.26) !important;
|
| 201 |
+
box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset !important;
|
| 202 |
opacity: 1 !important;
|
| 203 |
}
|
| 204 |
|
| 205 |
+
/* INPUTS */
|
| 206 |
.gradio-container input[type="text"],
|
| 207 |
.gradio-container input[type="number"],
|
| 208 |
.gradio-container textarea,
|
|
|
|
| 220 |
.gradio-container textarea:focus,
|
| 221 |
.gradio-container select:focus {
|
| 222 |
outline: none !important;
|
| 223 |
+
border-color: rgba(255,255,255,0.28) !important;
|
| 224 |
+
box-shadow: 0 0 0 3px rgba(255,255,255,0.08) !important;
|
| 225 |
}
|
| 226 |
|
| 227 |
.gradio-container input[type="range"] {
|
| 228 |
+
accent-color: rgba(210,220,235,0.75) !important;
|
| 229 |
}
|
| 230 |
|
| 231 |
+
/* BUTTONS — dark glass, subtle accent (not primary-blue) */
|
| 232 |
.gradio-container button:not(.gr-tab-nav button),
|
| 233 |
.gradio-container .gr-button {
|
| 234 |
padding: 0.65rem 1.05rem !important;
|
|
|
|
| 236 |
font-weight: 600 !important;
|
| 237 |
letter-spacing: 0.01em !important;
|
| 238 |
color: var(--fg-primary) !important;
|
| 239 |
+
background: rgba(255,255,255,0.04) !important;
|
| 240 |
+
border: 1px solid rgba(255,255,255,0.14) !important;
|
| 241 |
border-radius: var(--radius-full) !important;
|
|
|
|
| 242 |
cursor: pointer !important;
|
| 243 |
+
transition: transform var(--trans-fast),
|
| 244 |
+
box-shadow var(--trans-base),
|
| 245 |
+
background var(--trans-base),
|
| 246 |
+
border-color var(--trans-base) !important;
|
| 247 |
}
|
| 248 |
|
| 249 |
.gradio-container button:hover:not(.gr-tab-nav button),
|
| 250 |
.gradio-container .gr-button:hover {
|
| 251 |
+
background: rgba(255,255,255,0.07) !important;
|
| 252 |
+
border-color: rgba(255,255,255,0.22) !important;
|
| 253 |
+
box-shadow: 0 0 18px rgba(0,0,0,0.20) !important;
|
| 254 |
}
|
| 255 |
|
| 256 |
.gradio-container button:active:not(.gr-tab-nav button),
|
| 257 |
+
.gradio-container .gr-button:active { transform: scale(0.985) !important; }
|
|
|
|
|
|
|
| 258 |
|
| 259 |
.gradio-container button:disabled,
|
| 260 |
.gradio-container .gr-button:disabled {
|
| 261 |
opacity: 0.35 !important;
|
| 262 |
cursor: not-allowed !important;
|
|
|
|
| 263 |
}
|
| 264 |
|
| 265 |
+
/* Even if variant="primary" leaks, keep it dark */
|
| 266 |
.gradio-container button.primary,
|
| 267 |
.gradio-container .gr-button-primary {
|
| 268 |
+
background: rgba(255,255,255,0.06) !important;
|
| 269 |
+
border-color: rgba(255,255,255,0.20) !important;
|
| 270 |
+
box-shadow: 0 10px 30px rgba(0,0,0,0.18) !important;
|
| 271 |
}
|
| 272 |
|
| 273 |
.gradio-container button.primary:hover,
|
| 274 |
.gradio-container .gr-button-primary:hover {
|
| 275 |
+
filter: brightness(1.06) !important;
|
| 276 |
+
box-shadow: 0 14px 40px rgba(0,0,0,0.22) !important;
|
| 277 |
}
|
| 278 |
|
| 279 |
+
/* IMAGES general */
|
| 280 |
.gradio-container img {
|
| 281 |
width: auto !important;
|
| 282 |
height: auto !important;
|
|
|
|
| 286 |
display: block !important;
|
| 287 |
}
|
| 288 |
|
| 289 |
+
/* IMPORTANT: kill any leftover preview containers if some Gradio version still renders them */
|
| 290 |
+
#down_gallery .gr-gallery-preview,
|
| 291 |
+
#strange_gallery .gr-gallery-preview,
|
| 292 |
+
#down_gallery [data-testid="gallery-preview"],
|
| 293 |
+
#strange_gallery [data-testid="gallery-preview"] {
|
| 294 |
+
display: none !important;
|
| 295 |
+
visibility: hidden !important;
|
| 296 |
+
height: 0 !important;
|
| 297 |
overflow: hidden !important;
|
|
|
|
|
|
|
|
|
|
| 298 |
}
|
| 299 |
|
| 300 |
+
/* ===== Gallery (ONLY filmstrip) — NO [class*="gallery"] selectors ===== */
|
| 301 |
+
#down_gallery, #strange_gallery { margin-top: 12px !important; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 302 |
|
| 303 |
+
#down_gallery .gr-gallery,
|
| 304 |
+
#strange_gallery .gr-gallery {
|
| 305 |
+
background: rgba(0,0,0,0.22) !important;
|
| 306 |
+
border: 1px solid var(--border-subtle) !important;
|
| 307 |
+
border-radius: var(--radius-md) !important;
|
| 308 |
+
padding: 10px !important;
|
| 309 |
+
overflow: hidden !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 310 |
}
|
| 311 |
|
| 312 |
+
/* strip wrapper */
|
| 313 |
+
#down_gallery .gr-gallery > div,
|
| 314 |
+
#strange_gallery .gr-gallery > div {
|
| 315 |
overflow-x: auto !important;
|
| 316 |
overflow-y: hidden !important;
|
|
|
|
| 317 |
scroll-snap-type: x mandatory !important;
|
|
|
|
| 318 |
-webkit-overflow-scrolling: touch !important;
|
| 319 |
+
padding-bottom: 10px !important;
|
| 320 |
}
|
| 321 |
|
| 322 |
+
/* list */
|
| 323 |
+
#down_gallery [role="list"],
|
| 324 |
+
#strange_gallery [role="list"] {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 325 |
display: flex !important;
|
| 326 |
flex-wrap: nowrap !important;
|
| 327 |
gap: 12px !important;
|
| 328 |
padding: 4px !important;
|
| 329 |
}
|
| 330 |
|
| 331 |
+
/* tile */
|
| 332 |
#down_gallery [role="listitem"],
|
| 333 |
#strange_gallery [role="listitem"] {
|
| 334 |
+
flex: 0 0 220px !important;
|
| 335 |
scroll-snap-align: start !important;
|
| 336 |
border-radius: var(--radius-md) !important;
|
| 337 |
overflow: hidden !important;
|
|
|
|
| 344 |
#down_gallery [role="listitem"]:hover,
|
| 345 |
#strange_gallery [role="listitem"]:hover {
|
| 346 |
transform: translateY(-2px) !important;
|
| 347 |
+
border-color: rgba(255,255,255,0.18) !important;
|
| 348 |
+
box-shadow: 0 12px 34px rgba(0,0,0,0.36) !important;
|
| 349 |
}
|
| 350 |
|
| 351 |
+
/* image in tile */
|
| 352 |
+
#down_gallery [role="listitem"] img,
|
| 353 |
+
#strange_gallery [role="listitem"] img {
|
| 354 |
width: 100% !important;
|
| 355 |
height: 220px !important;
|
| 356 |
object-fit: contain !important;
|
|
|
|
| 358 |
background: rgba(0,0,0,0.40) !important;
|
| 359 |
}
|
| 360 |
|
| 361 |
+
/* subtle top accent bar, but neutral */
|
| 362 |
#down_gallery [role="listitem"]::before,
|
| 363 |
#strange_gallery [role="listitem"]::before {
|
| 364 |
content: "";
|
| 365 |
display: block;
|
| 366 |
height: 10px;
|
| 367 |
+
background: linear-gradient(90deg, rgba(255,255,255,0.10), rgba(0,0,0,0));
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
/* scrollbars inside strip */
|
| 371 |
+
#down_gallery .gr-gallery > div::-webkit-scrollbar,
|
| 372 |
+
#strange_gallery .gr-gallery > div::-webkit-scrollbar { height: 10px !important; }
|
| 373 |
+
|
| 374 |
+
#down_gallery .gr-gallery > div::-webkit-scrollbar-track,
|
| 375 |
+
#strange_gallery .gr-gallery > div::-webkit-scrollbar-track {
|
| 376 |
+
background: rgba(255,255,255,0.03) !important;
|
| 377 |
+
border-radius: 999px !important;
|
| 378 |
+
}
|
| 379 |
+
|
| 380 |
+
#down_gallery .gr-gallery > div::-webkit-scrollbar-thumb,
|
| 381 |
+
#strange_gallery .gr-gallery > div::-webkit-scrollbar-thumb {
|
| 382 |
+
background: rgba(255,255,255,0.10) !important;
|
| 383 |
+
border-radius: 999px !important;
|
| 384 |
+
border: 1px solid rgba(255,255,255,0.08) !important;
|
| 385 |
}
|
| 386 |
|
| 387 |
+
#down_gallery .gr-gallery > div::-webkit-scrollbar-thumb:hover,
|
| 388 |
+
#strange_gallery .gr-gallery > div::-webkit-scrollbar-thumb:hover {
|
| 389 |
+
background: rgba(255,255,255,0.16) !important;
|
| 390 |
+
}
|
| 391 |
+
|
| 392 |
+
/* labels, descriptions */
|
| 393 |
.gradio-container label,
|
| 394 |
.gradio-container .gr-label {
|
| 395 |
color: var(--fg-secondary) !important;
|
|
|
|
| 405 |
line-height: 1.55 !important;
|
| 406 |
}
|
| 407 |
|
| 408 |
+
/* code blocks */
|
| 409 |
.gradio-container pre,
|
| 410 |
.gradio-container code {
|
| 411 |
font-family: var(--font-mono) !important;
|
| 412 |
+
background: rgba(255,255,255,0.04) !important;
|
| 413 |
border: 1px solid rgba(255,255,255,0.10) !important;
|
| 414 |
border-radius: var(--radius-sm) !important;
|
| 415 |
padding: 0.35rem 0.55rem !important;
|
| 416 |
+
color: rgba(210,220,235,0.92) !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 417 |
}
|
| 418 |
|
| 419 |
+
/* progress */
|
| 420 |
+
.gradio-container .gr-loading { color: rgba(210,220,235,0.80) !important; }
|
| 421 |
.gradio-container .progress-bar {
|
| 422 |
+
background: rgba(210,220,235,0.60) !important;
|
| 423 |
+
box-shadow: 0 0 12px rgba(210,220,235,0.10) !important;
|
| 424 |
}
|
| 425 |
|
| 426 |
+
/* global scrollbars */
|
| 427 |
+
::-webkit-scrollbar { width: 8px; height: 8px; }
|
| 428 |
+
::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
|
| 429 |
+
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: var(--radius-sm); }
|
| 430 |
+
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 431 |
|
| 432 |
@media (max-width: 768px) {
|
| 433 |
+
:root { --space-lg: 1rem; --space-xl: 1.5rem; }
|
| 434 |
+
.gradio-container { padding: var(--space-md); }
|
| 435 |
+
.tq-hero { padding: var(--space-md) var(--space-lg); }
|
| 436 |
+
.tq-hero__brand { font-size: 1.25rem; }
|
| 437 |
+
#down_gallery [role="listitem"], #strange_gallery [role="listitem"] { flex-basis: 200px !important; }
|
| 438 |
+
#down_gallery [role="listitem"] img, #strange_gallery [role="listitem"] img { height: 200px !important; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 439 |
}
|
| 440 |
|
| 441 |
+
/* kill Gradio footer */
|
| 442 |
+
footer, .gradio-container footer { display: none !important; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|