Maryam Ilka commited on
Commit
d1bd74f
·
verified ·
1 Parent(s): 078f009

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -16
app.py CHANGED
@@ -233,21 +233,6 @@ st.markdown("""
233
  font-weight: bold !important;
234
  }
235
 
236
- /* استایل دکمه سبز سفارشی */
237
- div[data-testid="stButton"] > button.green-btn {
238
- background-color: #28a745 !important;
239
- color: white !important;
240
- border: none !important;
241
- border-radius: 8px !important;
242
- padding: 10px 20px !important;
243
- font-weight: bold !important;
244
- width: 100% !important;
245
- }
246
- div[data-testid="stButton"] > button.green-btn:hover {
247
- background-color: #218838 !important;
248
- transform: translateY(-1px);
249
- box-shadow: 0 2px 4px rgba(0,0,0,0.1);
250
- }
251
 
252
 
253
  /* ========== استایل تضمینی برای گزینه‌های رادیویی ========== */
@@ -623,7 +608,7 @@ def attention_check1():
623
  </button>
624
  """, height=45)
625
 
626
- if st.session_state.get("continue_green_clicked") or st.button("ادامه", key="continue_btn_hidden"):
627
  if answer:
628
  st.session_state.attention_check1 = answer
629
  st.session_state.current_page = "random_likert_questions"
 
233
  font-weight: bold !important;
234
  }
235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
 
237
 
238
  /* ========== استایل تضمینی برای گزینه‌های رادیویی ========== */
 
608
  </button>
609
  """, height=45)
610
 
611
+ if st.session_state.get("continue_green_clicked"):
612
  if answer:
613
  st.session_state.attention_check1 = answer
614
  st.session_state.current_page = "random_likert_questions"