Jerrycool commited on
Commit
d4122d6
·
verified ·
1 Parent(s): 11babd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -9
app.py CHANGED
@@ -384,22 +384,35 @@ tab_css = """
384
 
385
  radio_css = """
386
  /* --- Radio Button Styling --- */
387
- .gradio-radio > label span {
388
- font-size: 1.6rem !important;
 
 
389
  font-weight: 600;
390
  color: #2a6099;
391
- padding-bottom: 10px;
392
  display: inline-block;
393
  }
394
- .gradio-radio .gr-form label span {
395
- font-size: 1.3rem !important;
396
- font-family: Consolas, monaco, monospace;
397
- color: #333;
 
 
 
 
398
  padding-left: 6px;
399
  }
400
- .gradio-radio .gr-form {
401
- padding-top: 5px;
 
 
 
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}"