Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -376,6 +376,22 @@ div[data-testid="stNumberInput"] button span {
|
|
| 376 |
display: none !important;
|
| 377 |
}
|
| 378 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 379 |
/* استایل hover برای دکمهها */
|
| 380 |
div[data-testid="stNumberInput"] button:hover {
|
| 381 |
background-color: #f0e6ff !important;
|
|
|
|
| 376 |
display: none !important;
|
| 377 |
}
|
| 378 |
|
| 379 |
+
/* بازنشانی کامل استایلهای Streamlit */
|
| 380 |
+
div[data-testid="stNumberInput"] button {
|
| 381 |
+
all: unset !important;
|
| 382 |
+
width: 36px !important;
|
| 383 |
+
height: 100% !important;
|
| 384 |
+
position: relative !important;
|
| 385 |
+
cursor: pointer !important;
|
| 386 |
+
z-index: 10 !important;
|
| 387 |
+
}
|
| 388 |
+
|
| 389 |
+
/* تضمین رنگ در حالتهای مختلف */
|
| 390 |
+
div[data-testid="stNumberInput"] button:hover::after,
|
| 391 |
+
div[data-testid="stNumberInput"] button:focus::after {
|
| 392 |
+
color: var(--primary) !important;
|
| 393 |
+
}
|
| 394 |
+
|
| 395 |
/* استایل hover برای دکمهها */
|
| 396 |
div[data-testid="stNumberInput"] button:hover {
|
| 397 |
background-color: #f0e6ff !important;
|