Maryam Ilka commited on
Commit
0e498cf
·
verified ·
1 Parent(s): c6c73eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +66 -0
app.py CHANGED
@@ -248,6 +248,72 @@ st.markdown("""
248
  transform: translateY(-2px);
249
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
250
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
 
252
  /* تنظیمات مخصوص دسکتاپ */
253
  @media only screen and (min-width: 769px) {
 
248
  transform: translateY(-2px);
249
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
250
  }
251
+ /* استایل کلی تمام باکس‌های ورودی و انتخاب */
252
+ .stTextInput input,
253
+ .stNumberInput input,
254
+ .stSelectbox select,
255
+ .stTextArea textarea,
256
+ .stDateInput input,
257
+ .stTimeInput input {
258
+ color: #333333 !important;
259
+ background-color: white !important;
260
+ border: 1px solid #333333 !important;
261
+ border-radius: 8px !important;
262
+ padding: 8px 12px !important;
263
+ font-family: 'Vazir' !important;
264
+ }
265
+
266
+ /* استایل دکمه‌های + و - در number input */
267
+ .stNumberInput button {
268
+ background-color: white !important;
269
+ border: 1px solid #333333 !important;
270
+ color: #333333 !important;
271
+ }
272
+
273
+ /* استایل دکمه‌های ادامه و ثبت (مشابه بخش contact) */
274
+ .stFormSubmitButton button,
275
+ .stButton button {
276
+ background-color: white !important;
277
+ color: #333333 !important;
278
+ border: 1px solid #333333 !important;
279
+ border-radius: 8px !important;
280
+ padding: 10px 24px !important;
281
+ font-family: 'Vazir' !important;
282
+ font-weight: normal !important;
283
+ transition: all 0.3s ease !important;
284
+ width: 100% !important;
285
+ box-shadow: none !important;
286
+ }
287
+
288
+ .stFormSubmitButton button:hover,
289
+ .stButton button:hover {
290
+ background-color: #f5f5f5 !important;
291
+ }
292
+
293
+ /* استایل دکمه‌های رد و درخواست رهیار (بنفش) */
294
+ .rahyar-primary-btn {
295
+ background-color: #6a0dad !important;
296
+ color: white !important;
297
+ border: none !important;
298
+ }
299
+
300
+ /* استایل دکمه‌های لیکرت */
301
+ .likert-btn {
302
+ background-color: white !important;
303
+ color: #333333 !important;
304
+ border: 1px solid #333333 !important;
305
+ }
306
+
307
+ /* استایل متن‌های بنفش (رهیار) */
308
+ .rahyar-text {
309
+ color: #6a0dad !important;
310
+ }
311
+
312
+ /* استایل placeholder */
313
+ ::placeholder {
314
+ color: #999999 !important;
315
+ opacity: 1 !important;
316
+ }
317
 
318
  /* تنظیمات مخصوص دسکتاپ */
319
  @media only screen and (min-width: 769px) {