Spaces:
Sleeping
Sleeping
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
/* ===============================
|
| 2 |
-
|
| 3 |
=============================== */
|
| 4 |
|
| 5 |
:root{
|
|
@@ -9,32 +9,34 @@
|
|
| 9 |
--card2:#0e1628;
|
| 10 |
--text:#e7eefc;
|
| 11 |
--muted:#b8c6e6;
|
| 12 |
-
--border:rgba(255,255,255,0.
|
| 13 |
-
--accent:#3b82f6;
|
| 14 |
-
--
|
| 15 |
}
|
| 16 |
|
| 17 |
-
|
|
|
|
| 18 |
background: radial-gradient(1200px 800px at 10% 10%, #142a52 0%, var(--bg1) 40%, var(--bg2) 100%) !important;
|
| 19 |
color: var(--text) !important;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
/* Main
|
| 23 |
-
.gradio-container{
|
| 24 |
-
background: rgba(17, 26, 46, 0.
|
|
|
|
| 25 |
border: 1px solid var(--border) !important;
|
| 26 |
-
|
| 27 |
-
padding: 18px !important;
|
| 28 |
box-shadow: 0 20px 50px rgba(0,0,0,0.45);
|
|
|
|
| 29 |
}
|
| 30 |
|
| 31 |
-
/*
|
| 32 |
-
|
| 33 |
color: var(--text) !important;
|
| 34 |
}
|
| 35 |
|
| 36 |
/* Tabs */
|
| 37 |
-
button[role="tab"]{
|
| 38 |
border-radius: 12px !important;
|
| 39 |
border: 1px solid var(--border) !important;
|
| 40 |
background: rgba(255,255,255,0.06) !important;
|
|
@@ -42,42 +44,69 @@ button[role="tab"]{
|
|
| 42 |
font-weight: 650 !important;
|
| 43 |
}
|
| 44 |
|
| 45 |
-
button[role="tab"][aria-selected="true"]{
|
| 46 |
-
background: linear-gradient(135deg, rgba(59,130,246,0.
|
| 47 |
-
color:
|
| 48 |
-
border-color:
|
| 49 |
}
|
| 50 |
|
| 51 |
/* Buttons */
|
| 52 |
-
button{
|
| 53 |
border-radius: 12px !important;
|
|
|
|
| 54 |
border: 1px solid var(--border) !important;
|
| 55 |
-
|
| 56 |
-
color:
|
| 57 |
-
font-weight: 650 !important;
|
| 58 |
}
|
| 59 |
|
| 60 |
-
button:hover
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
|
|
|
| 65 |
}
|
| 66 |
|
| 67 |
-
/*
|
| 68 |
-
textarea
|
| 69 |
-
background:
|
|
|
|
| 70 |
border: 1px solid var(--border) !important;
|
| 71 |
-
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
}
|
| 74 |
|
| 75 |
/* Inputs */
|
| 76 |
-
input, select{
|
| 77 |
-
background:
|
| 78 |
border: 1px solid var(--border) !important;
|
| 79 |
-
color:
|
| 80 |
}
|
| 81 |
|
| 82 |
-
/*
|
| 83 |
-
|
|
|
|
|
|
|
|
|
| 1 |
/* ===============================
|
| 2 |
+
DARK THEME FIXED VERSION
|
| 3 |
=============================== */
|
| 4 |
|
| 5 |
:root{
|
|
|
|
| 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 |
background: radial-gradient(1200px 800px at 10% 10%, #142a52 0%, var(--bg1) 40%, var(--bg2) 100%) !important;
|
| 20 |
color: var(--text) !important;
|
| 21 |
}
|
| 22 |
|
| 23 |
+
/* Main container */
|
| 24 |
+
.gradio-container {
|
| 25 |
+
background: rgba(17, 26, 46, 0.95) !important;
|
| 26 |
+
border-radius: 20px !important;
|
| 27 |
border: 1px solid var(--border) !important;
|
| 28 |
+
padding: 20px !important;
|
|
|
|
| 29 |
box-shadow: 0 20px 50px rgba(0,0,0,0.45);
|
| 30 |
+
color: var(--text) !important;
|
| 31 |
}
|
| 32 |
|
| 33 |
+
/* Force text everywhere */
|
| 34 |
+
* {
|
| 35 |
color: var(--text) !important;
|
| 36 |
}
|
| 37 |
|
| 38 |
/* Tabs */
|
| 39 |
+
button[role="tab"] {
|
| 40 |
border-radius: 12px !important;
|
| 41 |
border: 1px solid var(--border) !important;
|
| 42 |
background: rgba(255,255,255,0.06) !important;
|
|
|
|
| 44 |
font-weight: 650 !important;
|
| 45 |
}
|
| 46 |
|
| 47 |
+
button[role="tab"][aria-selected="true"] {
|
| 48 |
+
background: linear-gradient(135deg, rgba(59,130,246,0.4), rgba(34,197,94,0.3)) !important;
|
| 49 |
+
color: white !important;
|
| 50 |
+
border-color: var(--accent) !important;
|
| 51 |
}
|
| 52 |
|
| 53 |
/* Buttons */
|
| 54 |
+
button {
|
| 55 |
border-radius: 12px !important;
|
| 56 |
+
background: rgba(255,255,255,0.08) !important;
|
| 57 |
border: 1px solid var(--border) !important;
|
| 58 |
+
font-weight: 600 !important;
|
| 59 |
+
color: white !important;
|
|
|
|
| 60 |
}
|
| 61 |
|
| 62 |
+
button:hover {
|
| 63 |
+
opacity: 0.9;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
/* Panels & containers */
|
| 67 |
+
.gr-box, .gr-panel {
|
| 68 |
+
background: rgba(14, 22, 40, 0.9) !important;
|
| 69 |
+
border: 1px solid var(--border) !important;
|
| 70 |
+
border-radius: 15px !important;
|
| 71 |
+
}
|
| 72 |
|
| 73 |
+
/* JSON viewer */
|
| 74 |
+
.json-output {
|
| 75 |
+
background: #0e1628 !important;
|
| 76 |
+
color: #e7eefc !important;
|
| 77 |
}
|
| 78 |
|
| 79 |
+
/* Textareas */
|
| 80 |
+
textarea {
|
| 81 |
+
background: #0e1628 !important;
|
| 82 |
+
color: #e7eefc !important;
|
| 83 |
border: 1px solid var(--border) !important;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
/* DataFrames */
|
| 87 |
+
.gr-dataframe {
|
| 88 |
+
background: #0e1628 !important;
|
| 89 |
+
color: #e7eefc !important;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.gr-dataframe table {
|
| 93 |
+
background: #0e1628 !important;
|
| 94 |
+
color: #e7eefc !important;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
.gr-dataframe th {
|
| 98 |
+
background: #142a52 !important;
|
| 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 |
+
}
|