Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -298,75 +298,6 @@ div[data-testid="stVerticalBlock"] > div[data-testid="stHorizontalBlock"] > div
|
|
| 298 |
margin-right: 8px !important;
|
| 299 |
}
|
| 300 |
|
| 301 |
-
/* استایل موبایل برای تمامی دستگاهها */
|
| 302 |
-
@media (max-width: 768px) {
|
| 303 |
-
/* اجبار نمایش تمام صفحه به اندازه موبایل */
|
| 304 |
-
html, body, .stApp {
|
| 305 |
-
max-width: 768px !important;
|
| 306 |
-
margin: 0 auto;
|
| 307 |
-
width: 100% !important;
|
| 308 |
-
}
|
| 309 |
-
|
| 310 |
-
/* تنظیم ارتفاع نقشه برای موبایل */
|
| 311 |
-
.folium-map {
|
| 312 |
-
height: 300px !important;
|
| 313 |
-
}
|
| 314 |
-
|
| 315 |
-
/* دکمهها برای موبایل */
|
| 316 |
-
.stButton>button,
|
| 317 |
-
[data-testid="baseButton-primary"] {
|
| 318 |
-
font-size: 16px !important;
|
| 319 |
-
padding: 10px 20px !important;
|
| 320 |
-
}
|
| 321 |
-
|
| 322 |
-
/* چینش فرمها و المانها در موبایل */
|
| 323 |
-
.stTextInput>label,
|
| 324 |
-
.stNumberInput>label,
|
| 325 |
-
.stSelectbox>label {
|
| 326 |
-
font-size: 14px !important;
|
| 327 |
-
padding: 4px 0 !important;
|
| 328 |
-
}
|
| 329 |
-
|
| 330 |
-
.stTextInput input,
|
| 331 |
-
.stNumberInput input,
|
| 332 |
-
.stSelectbox select {
|
| 333 |
-
font-size: 16px !important;
|
| 334 |
-
padding: 12px !important;
|
| 335 |
-
height: auto !important;
|
| 336 |
-
}
|
| 337 |
-
|
| 338 |
-
.stButton>button {
|
| 339 |
-
font-size: 14px !important;
|
| 340 |
-
padding: 8px 16px !important;
|
| 341 |
-
}
|
| 342 |
-
|
| 343 |
-
/* پنهان کردن همه المانها در حالت دسکتاپ */
|
| 344 |
-
@media (min-width: 769px) {
|
| 345 |
-
.stApp {
|
| 346 |
-
width: 100% !important;
|
| 347 |
-
}
|
| 348 |
-
}
|
| 349 |
-
|
| 350 |
-
/* اطمینان از اینکه دکمهها درست در حالت موبایل ظاهر شوند */
|
| 351 |
-
.stAlert .st-ae {
|
| 352 |
-
padding: 12px !important;
|
| 353 |
-
font-size: 13px !important;
|
| 354 |
-
}
|
| 355 |
-
|
| 356 |
-
/* حذف فاصله اضافی از المانهای مختلف در موبایل */
|
| 357 |
-
.stMarkdown h3 {
|
| 358 |
-
font-size: 16px !important;
|
| 359 |
-
}
|
| 360 |
-
|
| 361 |
-
.stMarkdown p {
|
| 362 |
-
font-size: 13px !important;
|
| 363 |
-
}
|
| 364 |
-
|
| 365 |
-
.stSelectbox [role="listbox"] {
|
| 366 |
-
font-size: 16px !important;
|
| 367 |
-
}
|
| 368 |
-
}
|
| 369 |
-
|
| 370 |
</style>
|
| 371 |
""", unsafe_allow_html=True)
|
| 372 |
|
|
|
|
| 298 |
margin-right: 8px !important;
|
| 299 |
}
|
| 300 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 301 |
</style>
|
| 302 |
""", unsafe_allow_html=True)
|
| 303 |
|