Maryam Ilka commited on
Commit
867b2ca
·
verified ·
1 Parent(s): 89bf67b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -27
app.py CHANGED
@@ -105,37 +105,30 @@ st.markdown("""
105
  color: black !important;
106
  opacity: 0.7 !important;
107
  }
108
-
109
- .stSelectbox {
110
- position: relative;
 
 
 
 
 
 
111
  }
112
-
113
- .stSelectbox::after {
114
- content: "▼";
115
- position: absolute;
116
- right: 12px;
117
- top: 50%;
118
- transform: translateY(-50%);
119
- color: #6a0dad;
120
- pointer-events: none;
121
- z-index: 1;
122
  }
123
-
124
- .stSelectbox select {
125
- -webkit-appearance: none !important;
126
- -moz-appearance: none !important;
127
- appearance: none !important;
128
- background: transparent !important;
129
- padding-right: 30px !important;
130
- width: 100%;
131
- position: relative;
132
- z-index: 2;
133
  }
134
 
135
- /* استایل hover برای فلش */
136
- .stSelectbox div[data-baseweb="select"]:hover::after {
137
- color: var(--primary) !important;
138
- }
139
 
140
  /* استایل دکمه‌های number input */
141
  .stNumberInput button {
 
105
  color: black !important;
106
  opacity: 0.7 !important;
107
  }
108
+
109
+ /* استایل دکمه‌های select */
110
+ .stSelectbox button {
111
+ color: var(--primary) !important;
112
+ background-color: transparent !important;
113
+ border: none !important;
114
+ width: 30px !important;
115
+ font-weight: bold !important;
116
+ font-size: 16px !important;
117
  }
118
+
119
+ /* استایل برای دکمه‌های سلکت select */
120
+ .stSelectbox button {
121
+ color: var(--primary) !important;
122
+ background-color: transparent !important;
123
+ border: none !important;
124
+ width: 30px !important;
 
 
 
125
  }
126
+
127
+ /*فلش استایل برای hover */
128
+ .stSelectbox button:hover {
129
+ background-color: #f0e6ff !important;
 
 
 
 
 
 
130
  }
131
 
 
 
 
 
132
 
133
  /* استایل دکمه‌های number input */
134
  .stNumberInput button {