Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -140,15 +140,36 @@ st.markdown("""
|
|
| 140 |
font-size: 14px;
|
| 141 |
pointer-events: none;
|
| 142 |
}
|
| 143 |
-
|
| 144 |
-
/* استایل لیست dropdown */
|
| 145 |
-
div[role="listbox"] {
|
| 146 |
-
color: var(--primary);
|
| 147 |
background-color: white !important;
|
| 148 |
-
border: 1px var(--primary) !important;
|
| 149 |
border-radius: 4px !important;
|
| 150 |
box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
|
| 151 |
margin-top: 5px !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
}
|
| 153 |
|
| 154 |
/* ========== استایلهای Number Input ========== */
|
|
|
|
| 140 |
font-size: 14px;
|
| 141 |
pointer-events: none;
|
| 142 |
}
|
| 143 |
+
|
| 144 |
+
/* استایل اصلی برای لیست dropdown */
|
| 145 |
+
div[data-baseweb="select"] div[role="listbox"] {
|
|
|
|
| 146 |
background-color: white !important;
|
| 147 |
+
border: 1px solid var(--primary) !important;
|
| 148 |
border-radius: 4px !important;
|
| 149 |
box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
|
| 150 |
margin-top: 5px !important;
|
| 151 |
+
padding: 8px 0 !important;
|
| 152 |
+
z-index: 1000 !important;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
/* آیتمهای لیست */
|
| 156 |
+
div[data-baseweb="select"] div[role="option"] {
|
| 157 |
+
padding: 8px 16px !important;
|
| 158 |
+
color: var(--text) !important;
|
| 159 |
+
cursor: pointer !important;
|
| 160 |
+
transition: background-color 0.2s !important;
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
/* حالت hover آیتمها */
|
| 164 |
+
div[data-baseweb="select"] div[role="option"]:hover {
|
| 165 |
+
background-color: #f0e6ff !important;
|
| 166 |
+
color: var(--primary) !important;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
/* آیتم انتخاب شده */
|
| 170 |
+
div[data-baseweb="select"] div[role="option"][aria-selected="true"] {
|
| 171 |
+
background-color: var(--primary) !important;
|
| 172 |
+
color: white !important;
|
| 173 |
}
|
| 174 |
|
| 175 |
/* ========== استایلهای Number Input ========== */
|