Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,41 +75,6 @@ st.markdown("""
|
|
| 75 |
border-right: 3px solid var(--primary) !important;
|
| 76 |
}
|
| 77 |
|
| 78 |
-
/* دکمه اصلی (بنفش با متن سفید) */
|
| 79 |
-
.stButton>button,
|
| 80 |
-
[data-testid="baseButton-primary"],
|
| 81 |
-
.accept-btn,
|
| 82 |
-
div[data-testid="stVerticalBlock"] > div[data-testid="stHorizontalBlock"] > div > div > button {
|
| 83 |
-
background-color: var(--primary) !important;
|
| 84 |
-
color: white !important;
|
| 85 |
-
border: none !important;
|
| 86 |
-
border-radius: 8px !important;
|
| 87 |
-
padding: 10px 20px !important;
|
| 88 |
-
font-weight: bold !important;
|
| 89 |
-
}
|
| 90 |
-
|
| 91 |
-
/* دکمه ثانویه (سفید با حاشیه بنفش) */
|
| 92 |
-
.stFormSubmitButton>button,
|
| 93 |
-
[data-testid="baseButton-secondary"],
|
| 94 |
-
.reject-btn {
|
| 95 |
-
background-color: var(--primary) !important;
|
| 96 |
-
color: var(--input-bg) !important;
|
| 97 |
-
border: 1px solid var(--primary) !important;
|
| 98 |
-
border-radius: 8px !important;
|
| 99 |
-
padding: 10px 20px !important;
|
| 100 |
-
font-weight: bold !important;
|
| 101 |
-
}
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
/* استایل برای سوالات رادیویی و گزینهها */
|
| 105 |
-
.stRadio > label,
|
| 106 |
-
.stRadio > div > label,
|
| 107 |
-
.stRadio > div > div > label,
|
| 108 |
-
.stRadio > div > div > div > label,
|
| 109 |
-
.stRadio span {
|
| 110 |
-
color: black !important;
|
| 111 |
-
}
|
| 112 |
-
|
| 113 |
/* ========== استایلهای ورودی یکپارچه ========== */
|
| 114 |
/* استایل پایه برای تمام عناصر ورودی */
|
| 115 |
.stTextInput input,
|
|
@@ -224,6 +189,42 @@ st.markdown("""
|
|
| 224 |
border-right: 5px solid var(--primary) !important;
|
| 225 |
}
|
| 226 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 227 |
/* تنظیمات مخصوص موبایل */
|
| 228 |
@media (max-width: 768px) {
|
| 229 |
.folium-map {
|
|
|
|
| 75 |
border-right: 3px solid var(--primary) !important;
|
| 76 |
}
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
/* ========== استایلهای ورودی یکپارچه ========== */
|
| 79 |
/* استایل پایه برای تمام عناصر ورودی */
|
| 80 |
.stTextInput input,
|
|
|
|
| 189 |
border-right: 5px solid var(--primary) !important;
|
| 190 |
}
|
| 191 |
|
| 192 |
+
/* دکمه اصلی (بنفش با متن سفید) */
|
| 193 |
+
.stButton>button,
|
| 194 |
+
[data-testid="baseButton-primary"],
|
| 195 |
+
.accept-btn,
|
| 196 |
+
div[data-testid="stVerticalBlock"] > div[data-testid="stHorizontalBlock"] > div > div > button {
|
| 197 |
+
background-color: var(--primary) !important;
|
| 198 |
+
color: white !important;
|
| 199 |
+
border: none !important;
|
| 200 |
+
border-radius: 8px !important;
|
| 201 |
+
padding: 10px 20px !important;
|
| 202 |
+
font-weight: bold !important;
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
/* دکمه ثانویه (سفید با حاشیه بنفش) */
|
| 206 |
+
.stFormSubmitButton>button,
|
| 207 |
+
[data-testid="baseButton-secondary"],
|
| 208 |
+
.reject-btn {
|
| 209 |
+
background-color: var(--primary) !important;
|
| 210 |
+
color: var(--input-bg) !important;
|
| 211 |
+
border: 1px solid var(--primary) !important;
|
| 212 |
+
border-radius: 8px !important;
|
| 213 |
+
padding: 10px 20px !important;
|
| 214 |
+
font-weight: bold !important;
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
|
| 218 |
+
/* استایل برای سوالات رادیویی و گزینهها */
|
| 219 |
+
.stRadio > label,
|
| 220 |
+
.stRadio > div > label,
|
| 221 |
+
.stRadio > div > div > label,
|
| 222 |
+
.stRadio > div > div > div > label,
|
| 223 |
+
.stRadio span {
|
| 224 |
+
color: black !important;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
|
| 228 |
/* تنظیمات مخصوص موبایل */
|
| 229 |
@media (max-width: 768px) {
|
| 230 |
.folium-map {
|