GSMEthesis commited on
Commit
fda81c8
·
verified ·
1 Parent(s): 6c56c24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
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;