Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -253,16 +253,40 @@ st.markdown("""
|
|
| 253 |
transform: translateY(-1px) !important; /* حرکت جزئی به بالا */
|
| 254 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; /* سایه بیشتر */
|
| 255 |
}
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
.stRadio > label,
|
| 260 |
-
.stRadio > div > label,
|
| 261 |
.stRadio > div > div > label,
|
| 262 |
-
.stRadio > div >
|
| 263 |
-
|
|
|
|
| 264 |
font-weight: normal !important;
|
| 265 |
-
margin-right: 8px !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 266 |
}
|
| 267 |
|
| 268 |
/* استایل پایه برای هشدارها */
|
|
|
|
| 253 |
transform: translateY(-1px) !important; /* حرکت جزئی به بالا */
|
| 254 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; /* سایه بیشتر */
|
| 255 |
}
|
| 256 |
+
|
| 257 |
+
/* ========== استایل تضمینی برای گزینههای رادیویی ========== */
|
| 258 |
+
.stRadio > div > div > div > div > div > label,
|
| 259 |
+
.stRadio > div > div > div > div > label,
|
| 260 |
+
.stRadio > div > div > div > label,
|
| 261 |
.stRadio > div > div > label,
|
| 262 |
+
.stRadio > div > label,
|
| 263 |
+
.stRadio > label {
|
| 264 |
+
color: #000000 !important; /* مشکی خالص */
|
| 265 |
font-weight: normal !important;
|
| 266 |
+
margin-right: 8px !important;
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
/* متن گزینهها */
|
| 270 |
+
.stRadio span {
|
| 271 |
+
color: #000000 !important; /* مشکی خالص */
|
| 272 |
+
font-size: 14px !important;
|
| 273 |
+
padding-right: 5px !important;
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
/* دایرههای رادیویی */
|
| 277 |
+
.stRadio [role="radio"] {
|
| 278 |
+
border-color: var(--primary) !important;
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
/* دایره انتخاب شده */
|
| 282 |
+
.stRadio [role="radio"][aria-checked="true"] {
|
| 283 |
+
background-color: var(--primary) !important;
|
| 284 |
+
border-color: var(--primary) !important;
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
/* حالت hover */
|
| 288 |
+
.stRadio label:hover span {
|
| 289 |
+
color: #000000 !important; /* مشکی ثابت حتی در هاور */
|
| 290 |
}
|
| 291 |
|
| 292 |
/* استایل پایه برای هشدارها */
|