Spaces:
Running on Zero
Running on Zero
UI: add gradient generate button + teal checkboxes + gradient header text
Browse files
app.py
CHANGED
|
@@ -692,6 +692,44 @@ CSS = """
|
|
| 692 |
min-height: 100vh !important;
|
| 693 |
}
|
| 694 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 695 |
/* ββ GLASS CARDS β frosted panels over gradient ββ */
|
| 696 |
.gradio-container .block {
|
| 697 |
background: rgba(10, 14, 40, 0.55) !important;
|
|
|
|
| 692 |
min-height: 100vh !important;
|
| 693 |
}
|
| 694 |
|
| 695 |
+
/* ββ HEADER β gradient text ββ */
|
| 696 |
+
.gradio-container .prose h1,
|
| 697 |
+
.gradio-container .prose h2 {
|
| 698 |
+
background: linear-gradient(90deg, #00e5c8, #6c5ce7, #a855f7) !important;
|
| 699 |
+
-webkit-background-clip: text !important;
|
| 700 |
+
-webkit-text-fill-color: transparent !important;
|
| 701 |
+
background-clip: text !important;
|
| 702 |
+
font-weight: 800 !important;
|
| 703 |
+
}
|
| 704 |
+
|
| 705 |
+
/* ββ GENERATE BUTTON β gradient ββ */
|
| 706 |
+
button.primary {
|
| 707 |
+
background: linear-gradient(135deg, #00b894, #0984e3, #6c5ce7) !important;
|
| 708 |
+
background-size: 200% 200% !important;
|
| 709 |
+
animation: btn-shimmer 4s ease-in-out infinite !important;
|
| 710 |
+
color: #ffffff !important;
|
| 711 |
+
font-weight: 700 !important;
|
| 712 |
+
border: none !important;
|
| 713 |
+
border-radius: 12px !important;
|
| 714 |
+
box-shadow: 0 4px 20px rgba(0, 184, 148, 0.35), 0 0 40px rgba(108, 92, 231, 0.15) !important;
|
| 715 |
+
transition: transform 0.25s ease, box-shadow 0.3s ease !important;
|
| 716 |
+
cursor: pointer !important;
|
| 717 |
+
}
|
| 718 |
+
button.primary:hover {
|
| 719 |
+
transform: translateY(-2px) !important;
|
| 720 |
+
box-shadow: 0 8px 32px rgba(0, 184, 148, 0.5), 0 0 60px rgba(108, 92, 231, 0.25) !important;
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
@keyframes btn-shimmer {
|
| 724 |
+
0%, 100% { background-position: 0% 50%; }
|
| 725 |
+
50% { background-position: 100% 50%; }
|
| 726 |
+
}
|
| 727 |
+
|
| 728 |
+
/* ββ CHECKBOXES β teal accent ββ */
|
| 729 |
+
input[type="checkbox"] {
|
| 730 |
+
accent-color: #00d4aa !important;
|
| 731 |
+
}
|
| 732 |
+
|
| 733 |
/* ββ GLASS CARDS β frosted panels over gradient ββ */
|
| 734 |
.gradio-container .block {
|
| 735 |
background: rgba(10, 14, 40, 0.55) !important;
|