ZhouChuYue
commited on
Commit
·
1b63bb6
1
Parent(s):
7b999d3
fix: ensure radio button text is dark on unselected options
Browse files
app.py
CHANGED
|
@@ -241,15 +241,20 @@ body {
|
|
| 241 |
}
|
| 242 |
|
| 243 |
/* Fix Radio/Checkbox alignment & styling */
|
| 244 |
-
|
| 245 |
margin-bottom: 0 !important;
|
| 246 |
text-shadow: none !important;
|
| 247 |
-
font-weight:
|
| 248 |
-
color: #
|
| 249 |
display: flex !important;
|
| 250 |
align-items: center !important;
|
| 251 |
}
|
| 252 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 253 |
/* Inputs & Textareas - Dark Grey Background for Contrast */
|
| 254 |
.gr-input, textarea, input, .gr-box, .gr-check-radio, .gr-dropdown {
|
| 255 |
font-family: 'JetBrains Mono', monospace !important;
|
|
|
|
| 241 |
}
|
| 242 |
|
| 243 |
/* Fix Radio/Checkbox alignment & styling */
|
| 244 |
+
fieldset label span {
|
| 245 |
margin-bottom: 0 !important;
|
| 246 |
text-shadow: none !important;
|
| 247 |
+
font-weight: 600 !important;
|
| 248 |
+
color: #0f172a !important; /* Dark text for unselected options (white background) */
|
| 249 |
display: flex !important;
|
| 250 |
align-items: center !important;
|
| 251 |
}
|
| 252 |
|
| 253 |
+
/* Selected radio button text should be white */
|
| 254 |
+
fieldset label.selected span {
|
| 255 |
+
color: #ffffff !important;
|
| 256 |
+
}
|
| 257 |
+
|
| 258 |
/* Inputs & Textareas - Dark Grey Background for Contrast */
|
| 259 |
.gr-input, textarea, input, .gr-box, .gr-check-radio, .gr-dropdown {
|
| 260 |
font-family: 'JetBrains Mono', monospace !important;
|