Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -215,7 +215,7 @@ html, body, .stApp {
|
|
| 215 |
border-right: 3px solid var(--primary) !important;
|
| 216 |
}
|
| 217 |
|
| 218 |
-
|
| 219 |
/* ========== استایلهای ورودی یکپارچه ========== */
|
| 220 |
/* استایل پایه برای تمام کانتینرهای ورودی */
|
| 221 |
div[data-baseweb="select"] > div:first-child,
|
|
@@ -318,6 +318,64 @@ div[data-baseweb="textarea"] > div:first-child:focus-within {
|
|
| 318 |
opacity: 0.5 !important;
|
| 319 |
font-family: 'B Nazanin' !important;
|
| 320 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 321 |
|
| 322 |
|
| 323 |
/* کامپوننتهای سفارشی */
|
|
|
|
| 215 |
border-right: 3px solid var(--primary) !important;
|
| 216 |
}
|
| 217 |
|
| 218 |
+
|
| 219 |
/* ========== استایلهای ورودی یکپارچه ========== */
|
| 220 |
/* استایل پایه برای تمام کانتینرهای ورودی */
|
| 221 |
div[data-baseweb="select"] > div:first-child,
|
|
|
|
| 318 |
opacity: 0.5 !important;
|
| 319 |
font-family: 'B Nazanin' !important;
|
| 320 |
}
|
| 321 |
+
/* استایل پایه برای کانتینر NumberInput */
|
| 322 |
+
.stNumberInput > div {
|
| 323 |
+
display: flex !important;
|
| 324 |
+
align-items: center !important;
|
| 325 |
+
border: 1px solid var(--primary) !important;
|
| 326 |
+
border-radius: 6px !important;
|
| 327 |
+
background-color: var(--input-bg) !important;
|
| 328 |
+
overflow: hidden !important;
|
| 329 |
+
}
|
| 330 |
+
|
| 331 |
+
/* استایل فیلد ورودی عددی */
|
| 332 |
+
.stNumberInput input {
|
| 333 |
+
color: var(--text) !important;
|
| 334 |
+
background-color: transparent !important;
|
| 335 |
+
border: none !important;
|
| 336 |
+
padding: 10px 12px !important;
|
| 337 |
+
min-height: 40px !important;
|
| 338 |
+
flex-grow: 1 !important;
|
| 339 |
+
text-align: right !important;
|
| 340 |
+
font-family: 'B Nazanin' !important;
|
| 341 |
+
}
|
| 342 |
+
|
| 343 |
+
/* استایل دکمههای افزایش/کاهش */
|
| 344 |
+
.stNumberInput button {
|
| 345 |
+
color: var(--primary) !important;
|
| 346 |
+
background-color: transparent !important;
|
| 347 |
+
border: none !important;
|
| 348 |
+
width: 40px !important;
|
| 349 |
+
height: 100% !important;
|
| 350 |
+
font-weight: bold !important;
|
| 351 |
+
font-size: 16px !important;
|
| 352 |
+
display: flex !important;
|
| 353 |
+
align-items: center !important;
|
| 354 |
+
justify-content: center !important;
|
| 355 |
+
cursor: pointer !important;
|
| 356 |
+
transition: all 0.2s ease !important;
|
| 357 |
+
}
|
| 358 |
+
|
| 359 |
+
/* استایل hover برای دکمهها */
|
| 360 |
+
.stNumberInput button:hover {
|
| 361 |
+
background-color: #f0e6ff !important;
|
| 362 |
+
}
|
| 363 |
+
|
| 364 |
+
/* استایل focus برای کل NumberInput */
|
| 365 |
+
.stNumberInput > div:focus-within {
|
| 366 |
+
border-color: var(--primary) !important;
|
| 367 |
+
box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.15) !important;
|
| 368 |
+
outline: none !important;
|
| 369 |
+
}
|
| 370 |
+
|
| 371 |
+
/* استایل لیبل */
|
| 372 |
+
.stNumberInput > label {
|
| 373 |
+
color: var(--text) !important;
|
| 374 |
+
font-weight: bold !important;
|
| 375 |
+
margin-bottom: 8px !important;
|
| 376 |
+
font-size: 14px !important;
|
| 377 |
+
display: block !important;
|
| 378 |
+
}
|
| 379 |
|
| 380 |
|
| 381 |
/* کامپوننتهای سفارشی */
|