James McCool commited on
Commit
1ff5983
·
1 Parent(s): 4ef8865

Update radio button styling: Revert to white background with black text and add border

Browse files

Modified radio button CSS to change background color from gold to white, adjust text color to black, and introduce a black border for improved visual clarity and contrast.

Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -53,12 +53,13 @@ st.markdown("""
53
 
54
  .stRadio [data-baseweb="radio"] {
55
  white-space: pre-wrap;
56
- background-color: #FFD700;
57
- color: white;
58
  border-radius: 10px;
59
  gap: 1px;
60
  font-weight: bold;
61
  transition: all 0.3s ease;
 
62
  }
63
 
64
  .stRadio [tabindex="0"] {
 
53
 
54
  .stRadio [data-baseweb="radio"] {
55
  white-space: pre-wrap;
56
+ background-color: white;
57
+ color: black;
58
  border-radius: 10px;
59
  gap: 1px;
60
  font-weight: bold;
61
  transition: all 0.3s ease;
62
+ border: 2px solid black;
63
  }
64
 
65
  .stRadio [tabindex="0"] {