Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -262,10 +262,53 @@ st.markdown("""
|
|
| 262 |
.stRadio > div > label,
|
| 263 |
.stRadio > div > div > label,
|
| 264 |
.stRadio > div > div > div > label {
|
| 265 |
-
color:
|
| 266 |
font-weight: normal !important;
|
| 267 |
margin-right: 8px !important; /* فاصله از دکمه رادیویی */
|
| 268 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
|
| 270 |
|
| 271 |
/* متن گزینهها */
|
|
|
|
| 262 |
.stRadio > div > label,
|
| 263 |
.stRadio > div > div > label,
|
| 264 |
.stRadio > div > div > div > label {
|
| 265 |
+
color: black !important; /* مشکی خالص */
|
| 266 |
font-weight: normal !important;
|
| 267 |
margin-right: 8px !important; /* فاصله از دکمه رادیویی */
|
| 268 |
}
|
| 269 |
+
|
| 270 |
+
/* استایل پایه برای هشدارها */
|
| 271 |
+
.stAlert .st-ae {
|
| 272 |
+
border-right: 4px solid #ffc107 !important;
|
| 273 |
+
background-color: #fff3cd !important;
|
| 274 |
+
border-radius: 8px !important;
|
| 275 |
+
padding: 16px !important;
|
| 276 |
+
color: #856404 !important;
|
| 277 |
+
}
|
| 278 |
+
|
| 279 |
+
/* آیکون هشدار */
|
| 280 |
+
.stAlert .st-af {
|
| 281 |
+
color: #ffc107 !important;
|
| 282 |
+
font-size: 20px !important;
|
| 283 |
+
}
|
| 284 |
+
|
| 285 |
+
/* متن هشدار */
|
| 286 |
+
.stAlert .st-ag {
|
| 287 |
+
color: #856404 !important;
|
| 288 |
+
font-family: 'Vazir' !important;
|
| 289 |
+
font-size: 14px !important;
|
| 290 |
+
margin-right: 8px !important;
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
/* حالت hover برای هشدار */
|
| 294 |
+
.stAlert .st-ae:hover {
|
| 295 |
+
box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2) !important;
|
| 296 |
+
transform: translateX(2px);
|
| 297 |
+
transition: all 0.3s ease;
|
| 298 |
+
}
|
| 299 |
+
|
| 300 |
+
/* استایل برای دکمه بستن هشدار */
|
| 301 |
+
.stAlert .st-ah {
|
| 302 |
+
color: #856404 !important;
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
/* استایل مخصوص موبایل */
|
| 306 |
+
@media (max-width: 768px) {
|
| 307 |
+
.stAlert .st-ae {
|
| 308 |
+
padding: 12px !important;
|
| 309 |
+
font-size: 13px !important;
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
|
| 313 |
|
| 314 |
/* متن گزینهها */
|