Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,12 +75,6 @@ st.markdown("""
|
|
| 75 |
border-right: 3px solid var(--primary) !important;
|
| 76 |
}
|
| 77 |
|
| 78 |
-
/* پیام موفقیت */
|
| 79 |
-
.stAlert .stSuccess {
|
| 80 |
-
color: var(--dgreen) !important;
|
| 81 |
-
background-color: var(--green) !important;
|
| 82 |
-
}
|
| 83 |
-
|
| 84 |
/* ========== استایلهای ورودی یکپارچه ========== */
|
| 85 |
/* استایل پایه برای تمام عناصر ورودی */
|
| 86 |
.stTextInput input,
|
|
@@ -221,15 +215,44 @@ st.markdown("""
|
|
| 221 |
}
|
| 222 |
|
| 223 |
|
| 224 |
-
|
|
|
|
| 225 |
.stRadio > label,
|
| 226 |
.stRadio > div > label,
|
| 227 |
.stRadio > div > div > label,
|
| 228 |
-
.stRadio > div > div > div > label
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 229 |
.stRadio span {
|
| 230 |
-
color:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 231 |
}
|
| 232 |
-
|
| 233 |
|
| 234 |
|
| 235 |
/* تنظیمات مخصوص موبایل */
|
|
|
|
| 75 |
border-right: 3px solid var(--primary) !important;
|
| 76 |
}
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
/* ========== استایلهای ورودی یکپارچه ========== */
|
| 79 |
/* استایل پایه برای تمام عناصر ورودی */
|
| 80 |
.stTextInput input,
|
|
|
|
| 215 |
}
|
| 216 |
|
| 217 |
|
| 218 |
+
/* ========== استایل تضمینی برای گزینههای رادیویی ========== */
|
| 219 |
+
/* تمام سطوح لیبلها */
|
| 220 |
.stRadio > label,
|
| 221 |
.stRadio > div > label,
|
| 222 |
.stRadio > div > div > label,
|
| 223 |
+
.stRadio > div > div > div > label {
|
| 224 |
+
color: #000000 !important; /* مشکی خالص */
|
| 225 |
+
font-weight: normal !important;
|
| 226 |
+
margin-right: 8px !important; /* فاصله از دکمه رادیویی */
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
/* دایره رادیویی */
|
| 230 |
+
.stRadio input[type="radio"] + span {
|
| 231 |
+
border-color: #000000 !important; /* حاشیه مشکی */
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
/* دایره رادیویی هنگام انتخاب */
|
| 235 |
+
.stRadio input[type="radio"]:checked + span {
|
| 236 |
+
background-color: #000000 !important; /* پسزمینه مشکی */
|
| 237 |
+
border-color: #000000 !important;
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
/* متن گزینهها */
|
| 241 |
.stRadio span {
|
| 242 |
+
color: #000000 !important; /* مشکی خالص */
|
| 243 |
+
font-size: 14px !important;
|
| 244 |
+
padding-right: 5px !important;
|
| 245 |
+
}
|
| 246 |
+
|
| 247 |
+
/* حالت hover */
|
| 248 |
+
.stRadio label:hover span {
|
| 249 |
+
color: #333333 !important; /* مشکی کمی روشنتر */
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
/* کانتینر اصلی */
|
| 253 |
+
.stRadio > div {
|
| 254 |
+
margin-bottom: 10px !important;
|
| 255 |
}
|
|
|
|
| 256 |
|
| 257 |
|
| 258 |
/* تنظیمات مخصوص موبایل */
|