Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -384,22 +384,35 @@ tab_css = """
|
|
| 384 |
|
| 385 |
radio_css = """
|
| 386 |
/* --- Radio Button Styling --- */
|
| 387 |
-
|
| 388 |
-
|
|
|
|
|
|
|
| 389 |
font-weight: 600;
|
| 390 |
color: #2a6099;
|
| 391 |
-
padding-bottom:
|
| 392 |
display: inline-block;
|
| 393 |
}
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 398 |
padding-left: 6px;
|
| 399 |
}
|
| 400 |
-
|
| 401 |
-
|
|
|
|
|
|
|
|
|
|
| 402 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 403 |
"""
|
| 404 |
|
| 405 |
final_css = f"{custom_css}\n{base_css}\n{intro_css}\n{markdown_css}\n{tab_css}\n{radio_css}"
|
|
|
|
| 384 |
|
| 385 |
radio_css = """
|
| 386 |
/* --- Radio Button Styling --- */
|
| 387 |
+
|
| 388 |
+
/* Style for the main label ("Select Category:") */
|
| 389 |
+
.gradio-radio > label span { /* This targets the "Select Category:" part */
|
| 390 |
+
font-size: 1.5rem !important;
|
| 391 |
font-weight: 600;
|
| 392 |
color: #2a6099;
|
| 393 |
+
padding-bottom: 8px;
|
| 394 |
display: inline-block;
|
| 395 |
}
|
| 396 |
+
|
| 397 |
+
/* Style for the individual option labels (Overall, MLE-Lite, etc.) */
|
| 398 |
+
.gradio-radio .wrap > label > span { /* <--- ADDED/UPDATED RULE */
|
| 399 |
+
font-size: 1.5rem !important;
|
| 400 |
+
font-family: Verdana, Geneva, sans-serif;
|
| 401 |
+
color: #444;
|
| 402 |
+
font-weight: normal;
|
| 403 |
+
font-style: normal;
|
| 404 |
padding-left: 6px;
|
| 405 |
}
|
| 406 |
+
|
| 407 |
+
/* Optional: Style for the selected option's text */
|
| 408 |
+
.gradio-radio .wrap > label.selected > span { /* <--- ADDED RULE */
|
| 409 |
+
font-weight: bold;
|
| 410 |
+
color: #111;
|
| 411 |
}
|
| 412 |
+
|
| 413 |
+
/* Optional: Style the container for options if needed */
|
| 414 |
+
/* .gradio-radio .wrap { } */ /* Previously suggested .gr-form, but .wrap is correct */
|
| 415 |
+
|
| 416 |
"""
|
| 417 |
|
| 418 |
final_css = f"{custom_css}\n{base_css}\n{intro_css}\n{markdown_css}\n{tab_css}\n{radio_css}"
|