Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- ui/styles.py +24 -62
ui/styles.py
CHANGED
|
@@ -12,28 +12,18 @@ APP_CSS = """
|
|
| 12 |
.gradio-container .prose,
|
| 13 |
.gradio-container .markdown,
|
| 14 |
.gradio-container label {
|
| 15 |
-
color: #173d2a
|
| 16 |
-
}
|
| 17 |
-
.gradio-container h1,
|
| 18 |
-
.gradio-container h2,
|
| 19 |
-
.gradio-container h3,
|
| 20 |
-
.gradio-container h4,
|
| 21 |
-
.gradio-container p,
|
| 22 |
-
.gradio-container li,
|
| 23 |
-
.gradio-container span,
|
| 24 |
-
.gradio-container strong {
|
| 25 |
-
color: inherit;
|
| 26 |
}
|
| 27 |
.gradio-container input,
|
| 28 |
.gradio-container textarea,
|
| 29 |
.gradio-container select {
|
| 30 |
-
color: #10281f
|
| 31 |
-
background: #fffdf4
|
| 32 |
-
border-color: rgba(23, 61, 42, 0.32)
|
| 33 |
}
|
| 34 |
.gradio-container input::placeholder,
|
| 35 |
.gradio-container textarea::placeholder {
|
| 36 |
-
color: #526a5c
|
| 37 |
opacity: 1;
|
| 38 |
}
|
| 39 |
.gradio-container input:focus,
|
|
@@ -43,70 +33,49 @@ APP_CSS = """
|
|
| 43 |
box-shadow: 0 0 0 3px rgba(47, 125, 85, 0.22);
|
| 44 |
}
|
| 45 |
.gradio-container button {
|
| 46 |
-
color: #173d2a
|
| 47 |
}
|
| 48 |
.gradio-container button:hover:not(:disabled) {
|
| 49 |
filter: brightness(0.96);
|
| 50 |
}
|
| 51 |
.gradio-container button:disabled,
|
| 52 |
.gradio-container button[disabled] {
|
| 53 |
-
color: #526a5c
|
| 54 |
-
background: rgba(231, 235, 225, 0.88)
|
| 55 |
opacity: 1;
|
| 56 |
}
|
| 57 |
.gradio-container button.primary,
|
| 58 |
.gradio-container button[variant="primary"] {
|
| 59 |
-
color: #fffdf4
|
| 60 |
-
background: #17633f
|
| 61 |
}
|
| 62 |
.gradio-container [role="dialog"],
|
| 63 |
.gradio-container .modal,
|
| 64 |
.gradio-container .toast,
|
| 65 |
.gradio-container .tooltip {
|
| 66 |
-
color: #10281f
|
| 67 |
-
background: #fffdf4
|
| 68 |
}
|
| 69 |
.gradio-container [role="alert"],
|
| 70 |
.gradio-container .error {
|
| 71 |
-
color: #7f1d1d
|
| 72 |
-
background: #fff1f2
|
| 73 |
-
border-color: #fecdd3
|
| 74 |
}
|
| 75 |
.gradio-container .tabitem,
|
| 76 |
.gradio-container .form,
|
| 77 |
.gradio-container .block {
|
| 78 |
-
color: #173d2a
|
| 79 |
}
|
| 80 |
.gradio-container .tabitem {
|
| 81 |
-
background: rgba(255, 250, 235, 0.
|
| 82 |
border-radius: 0 0 22px 22px;
|
| 83 |
padding: 0.8rem;
|
| 84 |
}
|
| 85 |
.gradio-container .chatbot,
|
| 86 |
.gradio-container .message,
|
| 87 |
.gradio-container .bubble-wrap {
|
| 88 |
-
color: #10281f
|
| 89 |
-
}
|
| 90 |
-
.gradio-container .tab-nav button,
|
| 91 |
-
.gradio-container [role="tab"] {
|
| 92 |
-
color: #173d2a !important;
|
| 93 |
-
background: rgba(255, 250, 235, 0.9) !important;
|
| 94 |
-
}
|
| 95 |
-
.gradio-container .tab-nav button.selected,
|
| 96 |
-
.gradio-container [role="tab"][aria-selected="true"] {
|
| 97 |
-
color: #fffdf4 !important;
|
| 98 |
-
background: #17633f !important;
|
| 99 |
-
}
|
| 100 |
-
.gradio-container a {
|
| 101 |
-
color: #0f5f3d !important;
|
| 102 |
-
font-weight: 700;
|
| 103 |
-
}
|
| 104 |
-
.gradio-container a:hover {
|
| 105 |
-
color: #093d28 !important;
|
| 106 |
-
}
|
| 107 |
-
.forest-scene,
|
| 108 |
-
.forest-scene * {
|
| 109 |
-
color: #f9ffe9 !important;
|
| 110 |
}
|
| 111 |
.myco-hero {
|
| 112 |
display: flex;
|
|
@@ -434,7 +403,7 @@ APP_CSS = """
|
|
| 434 |
padding: 1rem;
|
| 435 |
border-radius: 20px;
|
| 436 |
background: rgba(255, 250, 235, 0.94);
|
| 437 |
-
color: #173d2a
|
| 438 |
border: 1px solid rgba(72, 108, 75, 0.18);
|
| 439 |
box-shadow: 0 12px 28px rgba(16, 40, 31, 0.12);
|
| 440 |
}
|
|
@@ -442,7 +411,7 @@ APP_CSS = """
|
|
| 442 |
#mycodex *,
|
| 443 |
#progress-panel *,
|
| 444 |
#quest-log * {
|
| 445 |
-
color: #173d2a
|
| 446 |
}
|
| 447 |
button.primary,
|
| 448 |
button[variant="primary"] {
|
|
@@ -461,17 +430,10 @@ button[variant="primary"] {
|
|
| 461 |
}
|
| 462 |
.world-map-header p {
|
| 463 |
margin: 0.2rem 0;
|
| 464 |
-
color: #f7ffe8
|
| 465 |
-
}
|
| 466 |
-
.world-map-panel h2,
|
| 467 |
-
.world-map-panel h3,
|
| 468 |
-
.world-map-panel p,
|
| 469 |
-
.world-map-panel span,
|
| 470 |
-
.world-map-panel strong {
|
| 471 |
-
color: #f7ffe8 !important;
|
| 472 |
}
|
| 473 |
.world-map-panel .eyebrow {
|
| 474 |
-
color: #d8ffc5
|
| 475 |
}
|
| 476 |
.achievement-row {
|
| 477 |
display: flex;
|
|
@@ -524,11 +486,11 @@ button[variant="primary"] {
|
|
| 524 |
}
|
| 525 |
.map-card p {
|
| 526 |
margin-bottom: 0;
|
| 527 |
-
color: #f7ffe8
|
| 528 |
}
|
| 529 |
.map-card strong,
|
| 530 |
.map-card span {
|
| 531 |
-
color: #fffdf4
|
| 532 |
}
|
| 533 |
|
| 534 |
#ai-status {
|
|
|
|
| 12 |
.gradio-container .prose,
|
| 13 |
.gradio-container .markdown,
|
| 14 |
.gradio-container label {
|
| 15 |
+
color: #173d2a;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
.gradio-container input,
|
| 18 |
.gradio-container textarea,
|
| 19 |
.gradio-container select {
|
| 20 |
+
color: #10281f;
|
| 21 |
+
background: #fffdf4;
|
| 22 |
+
border-color: rgba(23, 61, 42, 0.32);
|
| 23 |
}
|
| 24 |
.gradio-container input::placeholder,
|
| 25 |
.gradio-container textarea::placeholder {
|
| 26 |
+
color: #526a5c;
|
| 27 |
opacity: 1;
|
| 28 |
}
|
| 29 |
.gradio-container input:focus,
|
|
|
|
| 33 |
box-shadow: 0 0 0 3px rgba(47, 125, 85, 0.22);
|
| 34 |
}
|
| 35 |
.gradio-container button {
|
| 36 |
+
color: #173d2a;
|
| 37 |
}
|
| 38 |
.gradio-container button:hover:not(:disabled) {
|
| 39 |
filter: brightness(0.96);
|
| 40 |
}
|
| 41 |
.gradio-container button:disabled,
|
| 42 |
.gradio-container button[disabled] {
|
| 43 |
+
color: #526a5c;
|
| 44 |
+
background: rgba(231, 235, 225, 0.88);
|
| 45 |
opacity: 1;
|
| 46 |
}
|
| 47 |
.gradio-container button.primary,
|
| 48 |
.gradio-container button[variant="primary"] {
|
| 49 |
+
color: #fffdf4;
|
| 50 |
+
background: #17633f;
|
| 51 |
}
|
| 52 |
.gradio-container [role="dialog"],
|
| 53 |
.gradio-container .modal,
|
| 54 |
.gradio-container .toast,
|
| 55 |
.gradio-container .tooltip {
|
| 56 |
+
color: #10281f;
|
| 57 |
+
background: #fffdf4;
|
| 58 |
}
|
| 59 |
.gradio-container [role="alert"],
|
| 60 |
.gradio-container .error {
|
| 61 |
+
color: #7f1d1d;
|
| 62 |
+
background: #fff1f2;
|
| 63 |
+
border-color: #fecdd3;
|
| 64 |
}
|
| 65 |
.gradio-container .tabitem,
|
| 66 |
.gradio-container .form,
|
| 67 |
.gradio-container .block {
|
| 68 |
+
color: #173d2a;
|
| 69 |
}
|
| 70 |
.gradio-container .tabitem {
|
| 71 |
+
background: rgba(255, 250, 235, 0.82);
|
| 72 |
border-radius: 0 0 22px 22px;
|
| 73 |
padding: 0.8rem;
|
| 74 |
}
|
| 75 |
.gradio-container .chatbot,
|
| 76 |
.gradio-container .message,
|
| 77 |
.gradio-container .bubble-wrap {
|
| 78 |
+
color: #10281f;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
.myco-hero {
|
| 81 |
display: flex;
|
|
|
|
| 403 |
padding: 1rem;
|
| 404 |
border-radius: 20px;
|
| 405 |
background: rgba(255, 250, 235, 0.94);
|
| 406 |
+
color: #173d2a;
|
| 407 |
border: 1px solid rgba(72, 108, 75, 0.18);
|
| 408 |
box-shadow: 0 12px 28px rgba(16, 40, 31, 0.12);
|
| 409 |
}
|
|
|
|
| 411 |
#mycodex *,
|
| 412 |
#progress-panel *,
|
| 413 |
#quest-log * {
|
| 414 |
+
color: #173d2a;
|
| 415 |
}
|
| 416 |
button.primary,
|
| 417 |
button[variant="primary"] {
|
|
|
|
| 430 |
}
|
| 431 |
.world-map-header p {
|
| 432 |
margin: 0.2rem 0;
|
| 433 |
+
color: #f7ffe8;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 434 |
}
|
| 435 |
.world-map-panel .eyebrow {
|
| 436 |
+
color: #d8ffc5;
|
| 437 |
}
|
| 438 |
.achievement-row {
|
| 439 |
display: flex;
|
|
|
|
| 486 |
}
|
| 487 |
.map-card p {
|
| 488 |
margin-bottom: 0;
|
| 489 |
+
color: #f7ffe8;
|
| 490 |
}
|
| 491 |
.map-card strong,
|
| 492 |
.map-card span {
|
| 493 |
+
color: #fffdf4;
|
| 494 |
}
|
| 495 |
|
| 496 |
#ai-status {
|