Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +20 -2
src/streamlit_app.py
CHANGED
|
@@ -315,14 +315,32 @@ st.markdown("""
|
|
| 315 |
border-color: #58a6ff !important;
|
| 316 |
}
|
| 317 |
|
| 318 |
-
/* === RADIO BUTTONS === */
|
| 319 |
.stRadio label {
|
| 320 |
color: #8b949e !important;
|
| 321 |
font-family: 'Space Grotesk', sans-serif !important;
|
| 322 |
}
|
| 323 |
|
| 324 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 325 |
background-color: #58a6ff !important;
|
|
|
|
| 326 |
}
|
| 327 |
|
| 328 |
/* =========================================== */
|
|
|
|
| 315 |
border-color: #58a6ff !important;
|
| 316 |
}
|
| 317 |
|
| 318 |
+
/* === RADIO BUTTONS MODIFIÉS EN PETITS CARRÉS === */
|
| 319 |
.stRadio label {
|
| 320 |
color: #8b949e !important;
|
| 321 |
font-family: 'Space Grotesk', sans-serif !important;
|
| 322 |
}
|
| 323 |
|
| 324 |
+
/* Transformer les boutons radio en carrés */
|
| 325 |
+
.stRadio [data-baseweb="radio"] > div:first-child {
|
| 326 |
+
border-radius: 3px !important; /* Carré au lieu de cercle */
|
| 327 |
+
width: 16px !important;
|
| 328 |
+
height: 16px !important;
|
| 329 |
+
}
|
| 330 |
+
|
| 331 |
+
/* Point intérieur des boutons radio (quand sélectionné) */
|
| 332 |
+
.stRadio [data-baseweb="radio"] > div:first-child > div {
|
| 333 |
+
border-radius: 2px !important; /* Petit carré intérieur */
|
| 334 |
+
width: 8px !important;
|
| 335 |
+
height: 8px !important;
|
| 336 |
+
top: 4px !important;
|
| 337 |
+
left: 4px !important;
|
| 338 |
+
}
|
| 339 |
+
|
| 340 |
+
/* Couleur du carré sélectionné */
|
| 341 |
+
.stRadio input:checked + div > div:first-child {
|
| 342 |
background-color: #58a6ff !important;
|
| 343 |
+
border-color: #58a6ff !important;
|
| 344 |
}
|
| 345 |
|
| 346 |
/* =========================================== */
|