ZhouChuYue
commited on
Commit
·
7b999d3
1
Parent(s):
bfe4a0b
fix: correct radio button alignment and restrict label styling scope
Browse files
app.py
CHANGED
|
@@ -230,7 +230,7 @@ body {
|
|
| 230 |
}
|
| 231 |
|
| 232 |
/* Labels - High Contrast, Clean Black */
|
| 233 |
-
label span, .gr-form label span {
|
| 234 |
color: #000000 !important; /* Pure Black */
|
| 235 |
font-weight: 700 !important;
|
| 236 |
font-size: 1rem !important;
|
|
@@ -240,6 +240,16 @@ label span, .gr-form label span {
|
|
| 240 |
padding: 0 !important;
|
| 241 |
}
|
| 242 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 243 |
/* Inputs & Textareas - Dark Grey Background for Contrast */
|
| 244 |
.gr-input, textarea, input, .gr-box, .gr-check-radio, .gr-dropdown {
|
| 245 |
font-family: 'JetBrains Mono', monospace !important;
|
|
|
|
| 230 |
}
|
| 231 |
|
| 232 |
/* Labels - High Contrast, Clean Black */
|
| 233 |
+
.block > label > span, .form > label > span, .gr-form > label > span {
|
| 234 |
color: #000000 !important; /* Pure Black */
|
| 235 |
font-weight: 700 !important;
|
| 236 |
font-size: 1rem !important;
|
|
|
|
| 240 |
padding: 0 !important;
|
| 241 |
}
|
| 242 |
|
| 243 |
+
/* Fix Radio/Checkbox alignment & styling */
|
| 244 |
+
.gr-check-radio span, .gr-check-radio label span {
|
| 245 |
+
margin-bottom: 0 !important;
|
| 246 |
+
text-shadow: none !important;
|
| 247 |
+
font-weight: 500 !important;
|
| 248 |
+
color: #1f2937 !important; /* Dark gray text */
|
| 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;
|