Spaces:
Sleeping
Sleeping
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,112 +1,75 @@
|
|
| 1 |
/* ===============================
|
| 2 |
-
|
| 3 |
=============================== */
|
| 4 |
|
| 5 |
-
:root{
|
| 6 |
-
--bg1:#0b1220;
|
| 7 |
-
--bg2:#0f1b33;
|
| 8 |
-
--card:#111a2e;
|
| 9 |
-
--card2:#0e1628;
|
| 10 |
-
--text:#e7eefc;
|
| 11 |
-
--muted:#b8c6e6;
|
| 12 |
-
--border:rgba(255,255,255,0.15);
|
| 13 |
-
--accent:#3b82f6;
|
| 14 |
-
--green:#22c55e;
|
| 15 |
-
}
|
| 16 |
-
|
| 17 |
/* Page background */
|
| 18 |
body {
|
| 19 |
-
|
| 20 |
-
color: var(--text) !important;
|
| 21 |
}
|
| 22 |
|
| 23 |
-
/* Main container */
|
| 24 |
.gradio-container {
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
| 31 |
}
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
color: var(--text) !important;
|
| 36 |
}
|
| 37 |
|
| 38 |
/* Tabs */
|
| 39 |
button[role="tab"] {
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
color: var(--muted) !important;
|
| 44 |
-
font-weight: 650 !important;
|
| 45 |
}
|
| 46 |
|
| 47 |
button[role="tab"][aria-selected="true"] {
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
border-color: var(--accent) !important;
|
| 51 |
}
|
| 52 |
|
| 53 |
/* Buttons */
|
| 54 |
button {
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
font-weight: 600 !important;
|
| 59 |
-
color: white !important;
|
| 60 |
}
|
| 61 |
|
| 62 |
-
button
|
| 63 |
-
|
|
|
|
| 64 |
}
|
| 65 |
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
background: rgba(14, 22, 40, 0.9) !important;
|
| 69 |
-
border: 1px solid var(--border) !important;
|
| 70 |
-
border-radius: 15px !important;
|
| 71 |
}
|
| 72 |
|
| 73 |
-
/*
|
| 74 |
-
.
|
| 75 |
-
|
| 76 |
-
|
| 77 |
}
|
| 78 |
|
| 79 |
-
/*
|
| 80 |
-
textarea {
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
border: 1px solid var(--border) !important;
|
| 84 |
}
|
| 85 |
|
| 86 |
/* DataFrames */
|
| 87 |
.gr-dataframe {
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
}
|
| 91 |
-
|
| 92 |
-
.gr-dataframe table {
|
| 93 |
-
background: #0e1628 !important;
|
| 94 |
-
color: #e7eefc !important;
|
| 95 |
}
|
| 96 |
|
| 97 |
.gr-dataframe th {
|
| 98 |
-
|
| 99 |
-
color: white !important;
|
| 100 |
-
}
|
| 101 |
-
|
| 102 |
-
/* Inputs */
|
| 103 |
-
input, select {
|
| 104 |
-
background: #0e1628 !important;
|
| 105 |
-
border: 1px solid var(--border) !important;
|
| 106 |
-
color: white !important;
|
| 107 |
-
}
|
| 108 |
-
|
| 109 |
-
/* Headings */
|
| 110 |
-
h1, h2, h3 {
|
| 111 |
-
color: white !important;
|
| 112 |
}
|
|
|
|
| 1 |
/* ===============================
|
| 2 |
+
CLEAN WHITE + BLUE THEME
|
| 3 |
=============================== */
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
/* Page background */
|
| 6 |
body {
|
| 7 |
+
background: linear-gradient(135deg, #eef3fb, #dce8f8);
|
|
|
|
| 8 |
}
|
| 9 |
|
| 10 |
+
/* Main app container */
|
| 11 |
.gradio-container {
|
| 12 |
+
background-color: white !important;
|
| 13 |
+
border-radius: 20px !important;
|
| 14 |
+
padding: 24px !important;
|
| 15 |
+
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
/* Headings */
|
| 19 |
+
h1 {
|
| 20 |
+
color: #1e3a8a !important;
|
| 21 |
}
|
| 22 |
|
| 23 |
+
h2, h3 {
|
| 24 |
+
color: #1f2937 !important;
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
/* Tabs */
|
| 28 |
button[role="tab"] {
|
| 29 |
+
border-radius: 12px !important;
|
| 30 |
+
font-weight: 600 !important;
|
| 31 |
+
border: none !important;
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
button[role="tab"][aria-selected="true"] {
|
| 35 |
+
background-color: #2563eb !important;
|
| 36 |
+
color: white !important;
|
|
|
|
| 37 |
}
|
| 38 |
|
| 39 |
/* Buttons */
|
| 40 |
button {
|
| 41 |
+
border-radius: 12px !important;
|
| 42 |
+
font-weight: 600 !important;
|
| 43 |
+
border: none !important;
|
|
|
|
|
|
|
| 44 |
}
|
| 45 |
|
| 46 |
+
button.primary {
|
| 47 |
+
background-color: #2563eb !important;
|
| 48 |
+
color: white !important;
|
| 49 |
}
|
| 50 |
|
| 51 |
+
button:hover {
|
| 52 |
+
opacity: 0.92;
|
|
|
|
|
|
|
|
|
|
| 53 |
}
|
| 54 |
|
| 55 |
+
/* Panels / boxes */
|
| 56 |
+
.gr-box, .gr-panel {
|
| 57 |
+
border-radius: 16px !important;
|
| 58 |
+
border: 1px solid #e5e7eb !important;
|
| 59 |
}
|
| 60 |
|
| 61 |
+
/* JSON + Logs */
|
| 62 |
+
textarea, .json-output {
|
| 63 |
+
border-radius: 12px !important;
|
| 64 |
+
border: 1px solid #e5e7eb !important;
|
|
|
|
| 65 |
}
|
| 66 |
|
| 67 |
/* DataFrames */
|
| 68 |
.gr-dataframe {
|
| 69 |
+
border-radius: 12px !important;
|
| 70 |
+
border: 1px solid #e5e7eb !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
}
|
| 72 |
|
| 73 |
.gr-dataframe th {
|
| 74 |
+
background-color: #f3f4f6 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
}
|