Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -319,12 +319,18 @@ div[data-baseweb="textarea"] > div:first-child:focus-within {
|
|
| 319 |
font-family: 'B Nazanin' !important;
|
| 320 |
}
|
| 321 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 322 |
/* استایل دکمههای افزایش/کاهش - راه حل قطعی */
|
| 323 |
-
div[data-testid="stNumberInput"] button
|
| 324 |
-
div[data-testid="stNumberInput"] button[aria-label="Decrease value"] {
|
| 325 |
color: var(--primary) !important;
|
| 326 |
-
background-color:
|
| 327 |
-
border:
|
| 328 |
width: 36px !important;
|
| 329 |
height: 100% !important;
|
| 330 |
font-weight: bold !important;
|
|
@@ -336,16 +342,22 @@ div[data-testid="stNumberInput"] button[aria-label="Decrease value"] {
|
|
| 336 |
transition: all 0.2s ease !important;
|
| 337 |
margin: 0 !important;
|
| 338 |
position: relative !important;
|
|
|
|
| 339 |
}
|
| 340 |
|
| 341 |
-
/* آیکون دکمهها */
|
| 342 |
-
div[data-testid="stNumberInput"] button[aria-label="Increase value"]::
|
| 343 |
-
div[data-testid="stNumberInput"] button[aria-label="Decrease value"]::after {
|
| 344 |
content: "+";
|
| 345 |
-
position: absolute
|
| 346 |
}
|
| 347 |
-
div[data-testid="stNumberInput"] button[aria-label="Decrease value"]::
|
| 348 |
content: "-";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 349 |
}
|
| 350 |
|
| 351 |
/* استایل hover برای دکمهها */
|
|
@@ -360,7 +372,6 @@ div[data-testid="stNumberInput"] > div:focus-within {
|
|
| 360 |
outline: none !important;
|
| 361 |
}
|
| 362 |
|
| 363 |
-
|
| 364 |
/* کامپوننتهای سفارشی */
|
| 365 |
.rahyar-header {
|
| 366 |
background-color: var(--primary) !important;
|
|
|
|
| 319 |
font-family: 'B Nazanin' !important;
|
| 320 |
}
|
| 321 |
|
| 322 |
+
/* پاکسازی عناصر سیاه رنگ ناخواسته */
|
| 323 |
+
div[data-testid="stNumberInput"] > div > div:first-child,
|
| 324 |
+
div[data-testid="stNumberInput"] > div > div:last-child {
|
| 325 |
+
background-color: transparent !important;
|
| 326 |
+
border: none !important;
|
| 327 |
+
}
|
| 328 |
+
|
| 329 |
/* استایل دکمههای افزایش/کاهش - راه حل قطعی */
|
| 330 |
+
div[data-testid="stNumberInput"] button {
|
|
|
|
| 331 |
color: var(--primary) !important;
|
| 332 |
+
background-color: transparent !important;
|
| 333 |
+
border: none !important;
|
| 334 |
width: 36px !important;
|
| 335 |
height: 100% !important;
|
| 336 |
font-weight: bold !important;
|
|
|
|
| 342 |
transition: all 0.2s ease !important;
|
| 343 |
margin: 0 !important;
|
| 344 |
position: relative !important;
|
| 345 |
+
z-index: 2 !important;
|
| 346 |
}
|
| 347 |
|
| 348 |
+
/* آیکونهای سفارشی برای دکمهها */
|
| 349 |
+
div[data-testid="stNumberInput"] button[aria-label="Increase value"]::before {
|
|
|
|
| 350 |
content: "+";
|
| 351 |
+
position: absolute;
|
| 352 |
}
|
| 353 |
+
div[data-testid="stNumberInput"] button[aria-label="Decrease value"]::before {
|
| 354 |
content: "-";
|
| 355 |
+
position: absolute;
|
| 356 |
+
}
|
| 357 |
+
|
| 358 |
+
/* حذف عناصر سیاه پسزمینه */
|
| 359 |
+
div[data-testid="stNumberInput"] button > div {
|
| 360 |
+
display: none !important;
|
| 361 |
}
|
| 362 |
|
| 363 |
/* استایل hover برای دکمهها */
|
|
|
|
| 372 |
outline: none !important;
|
| 373 |
}
|
| 374 |
|
|
|
|
| 375 |
/* کامپوننتهای سفارشی */
|
| 376 |
.rahyar-header {
|
| 377 |
background-color: var(--primary) !important;
|