Mike0021 commited on
Commit
7b8025d
·
verified ·
1 Parent(s): 290903f

Harden radio label dark contrast

Browse files
Files changed (1) hide show
  1. app.py +19 -0
app.py CHANGED
@@ -734,6 +734,25 @@ CSS = """
734
  color: #f8fafc !important;
735
  opacity: 1 !important;
736
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
737
  .gradio-container .wrap,
738
  .gradio-container .block,
739
  .gradio-container .panel,
 
734
  color: #f8fafc !important;
735
  opacity: 1 !important;
736
  }
737
+ .gradio-container [role="radiogroup"] label,
738
+ .gradio-container [role="radiogroup"] [role="radio"] {
739
+ background: #0b1220 !important;
740
+ color: #f8fafc !important;
741
+ border: 1px solid rgba(148, 163, 184, 0.38) !important;
742
+ border-radius: 8px !important;
743
+ opacity: 1 !important;
744
+ }
745
+ .gradio-container [role="radiogroup"] label *,
746
+ .gradio-container [role="radiogroup"] [role="radio"] *,
747
+ .gradio-container [role="radiogroup"] span {
748
+ color: #f8fafc !important;
749
+ opacity: 1 !important;
750
+ }
751
+ .gradio-container [role="radiogroup"] label:has(input:checked),
752
+ .gradio-container [role="radiogroup"] [role="radio"][aria-checked="true"] {
753
+ background: rgba(20, 184, 166, 0.22) !important;
754
+ border-color: rgba(20, 184, 166, 0.72) !important;
755
+ }
756
  .gradio-container .wrap,
757
  .gradio-container .block,
758
  .gradio-container .panel,