Maryam Ilka commited on
Commit
c0cc9fe
·
verified ·
1 Parent(s): 555cfbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -14
app.py CHANGED
@@ -147,22 +147,16 @@ st.markdown("""
147
  div[data-baseweb="popover"] {
148
  z-index: 9999 !important;
149
  margin-top: 5px !important;
150
- animation: fadeIn 0.3s !important;
151
  }
152
 
153
  /* لیست dropdown */
154
  div[data-baseweb="popover"] > div:first-child {
155
  background: white !important;
156
- border: 1px solid var(--primary) !important;
157
- border-radius: 6px !important;
158
- box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
159
- padding: 6px 0 !important;
160
- min-width: 200px !important;
161
  }
162
 
163
  /* آیتم‌های لیست */
164
  div[data-baseweb="popover"] [role="option"] {
165
- padding: 10px 16px !important;
166
  color: var(--text) !important;
167
  font-size: 14px !important;
168
  transition: all 0.2s ease !important;
@@ -180,13 +174,7 @@ st.markdown("""
180
  background-color: #f0e6ff !important;
181
  color: black !important;
182
  }
183
-
184
- /* انیمیشن برای ظاهر شدن */
185
- @keyframes fadeIn {
186
- from { opacity: 0; transform: translateY(-5px); }
187
- to { opacity: 1; transform: translateY(0); }
188
- }
189
-
190
 
191
 
192
  /* ========== استایل‌های Number Input ========== */
 
147
  div[data-baseweb="popover"] {
148
  z-index: 9999 !important;
149
  margin-top: 5px !important;
 
150
  }
151
 
152
  /* لیست dropdown */
153
  div[data-baseweb="popover"] > div:first-child {
154
  background: white !important;
155
+ border: 1px var(--primary) !important;
 
 
 
 
156
  }
157
 
158
  /* آیتم‌های لیست */
159
  div[data-baseweb="popover"] [role="option"] {
 
160
  color: var(--text) !important;
161
  font-size: 14px !important;
162
  transition: all 0.2s ease !important;
 
174
  background-color: #f0e6ff !important;
175
  color: black !important;
176
  }
177
+
 
 
 
 
 
 
178
 
179
 
180
  /* ========== استایل‌های Number Input ========== */