Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -242,6 +242,40 @@ st.markdown("""
|
|
| 242 |
.stMarkdown p {
|
| 243 |
font-size: 13px !important;
|
| 244 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 245 |
}
|
| 246 |
}
|
| 247 |
</style>
|
|
|
|
| 242 |
.stMarkdown p {
|
| 243 |
font-size: 13px !important;
|
| 244 |
}
|
| 245 |
+
}
|
| 246 |
+
/* تنظیمات عمومی برای همه inputها */
|
| 247 |
+
.stTextInput input,
|
| 248 |
+
.stNumberInput input,
|
| 249 |
+
.stSelectbox select,
|
| 250 |
+
.stTextArea textarea {
|
| 251 |
+
color: #000000 !important; /* متن سیاه */
|
| 252 |
+
background-color: #ffffff !important; /* پسزمینه سفید */
|
| 253 |
+
border: 1px solid #6a0dad !important; /* حاشیه بنفش */
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
/* برای حالت hover و focus */
|
| 257 |
+
.stTextInput input:focus,
|
| 258 |
+
.stNumberInput input:focus,
|
| 259 |
+
.stSelectbox select:focus,
|
| 260 |
+
.stTextArea textarea:focus {
|
| 261 |
+
border-color: #6a0dad !important;
|
| 262 |
+
box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.2) !important;
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
/* مخصوص موبایل - اندازه بزرگتر */
|
| 266 |
+
@media (max-width: 768px) {
|
| 267 |
+
.stTextInput input,
|
| 268 |
+
.stNumberInput input,
|
| 269 |
+
.stSelectbox select {
|
| 270 |
+
font-size: 16px !important;
|
| 271 |
+
padding: 12px !important;
|
| 272 |
+
height: auto !important;
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
+
/* لیست dropdown */
|
| 276 |
+
.stSelectbox [role="listbox"] {
|
| 277 |
+
font-size: 16px !important;
|
| 278 |
+
}
|
| 279 |
}
|
| 280 |
}
|
| 281 |
</style>
|