Maryam Ilka commited on
Commit
a3a4c2b
·
verified ·
1 Parent(s): 5bcef7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -91,6 +91,11 @@ st.markdown("""
91
  background-color: var(--input-bg) !important;
92
  border: 1px var(--text) !important;
93
  }
 
 
 
 
 
94
 
95
  /* استایل لیبل‌ها */
96
  .stTextInput > label,
@@ -111,6 +116,7 @@ st.markdown("""
111
 
112
  /* ========== استایل‌های خاص Selectbox ========== */
113
  /* حذف کامل فلش پیشفرض در تمام مرورگرها */
 
114
  div[data-baseweb="select"] > div:first-child {
115
  -webkit-appearance: none !important;
116
  -moz-appearance: none !important;
@@ -182,7 +188,7 @@ st.markdown("""
182
  outline: none !important;
183
  }
184
 
185
- /* دکمه اصلی (بنفش با متن سفید) */
186
  .stButton>button,
187
  [data-testid="baseButton-primary"],
188
  .accept-btn,
 
91
  background-color: var(--input-bg) !important;
92
  border: 1px var(--text) !important;
93
  }
94
+
95
+ .stSelectbox option {
96
+ background-color: white !important;
97
+ color: var(--text) !important;
98
+ }
99
 
100
  /* استایل لیبل‌ها */
101
  .stTextInput > label,
 
116
 
117
  /* ========== استایل‌های خاص Selectbox ========== */
118
  /* حذف کامل فلش پیشفرض در تمام مرورگرها */
119
+
120
  div[data-baseweb="select"] > div:first-child {
121
  -webkit-appearance: none !important;
122
  -moz-appearance: none !important;
 
188
  outline: none !important;
189
  }
190
 
191
+ /* دکمه اصلی (بنفش با متن سفید) */
192
  .stButton>button,
193
  [data-testid="baseButton-primary"],
194
  .accept-btn,