Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files57 unmodified lines585960616263642 unmodified lines676869707172737475767778799 unmodified lines899091929394956 unmodified lines10210310410510610710810911011111211311411511611711811912012 unmodified lines1331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162171 unmodified line21922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228357 unmodified linesfont-size: 14px !important;}/* باکسهای ورودی */.stTextInput input,.stNumberInput input,.stSelectbox select,2 unmodified lines.stTimeInput input,.stMultiSelect div[role="combobox"],div[data-testid="stVerticalBlock"] > div[data-testid="stHorizontalBlock"] > div > div > div > div > input,/* لیست dropdown */.st-bq, .st-br, .st-bs, .st-bt, .st-bu, .st-bv, .st-bw, .st-bx, .st-by, .st-bz {color: var(--text) !important;background-color: var(--input-bg) !important;}/* استایل برای متن بالای باکسهای دموگرافیک */.stTextInput > label,.stNumberInput > label,.stSelectbox > label,9 unmodified linesopacity: 0.7 !important;}/* دکمه اصلی (بنفش با متن سفید) */.stButton>button,[data-testid="baseButton-primary"],.accept-btn,6 unmodified linesfont-weight: bold !important;}/* دکمه ثانویه (سفید با حاشیه بنفش) */.stFormSubmitButton>button,[data-testid="baseButton-secondary"],.reject-btn {background-color: var(--primary) !important;color: var(--input-bg) !important;border: 1px solid var(--primary) !important;border-radius: 8px !important;padding: 10px 20px !important;font-weight: bold !important;}/* کامپوننتهای سفارشی */.rahyar-header {background-color: var(--primary) !important;12 unmodified linesborder-right: 5px solid var(--primary) !important;}.rahyar-price {color: var(--primary) !important;font-size: 28px !important;font-weight: bold !important;}/* فرم دموگرافیک */.stSelectbox > div > div {background-color: white !important;color: var(--text) !important;}.stSelectbox option {background-color: white !important;color: var(--text) !important;}/* توضیحات */.explanation-title {color: var(--primary) !important;font-weight: bold !important;margin: 20px 0 10px 0 !important;font-size: 18px !important;}.explanation-item {background-color: var(--secondary-bg) !important;border-radius: 8px !important;padding: 12px 15px !important;margin: 8px 0 !important;border-right: 3px solid var(--primary) !important;}/* استایل برای سوالات رادیویی و گزینهها */.stRadio > label,.stRadio > div > label,.stRadio > div > div > label,.stRadio > div > div > div > label,.stRadio span {color: black !important;}/* استایل برای متن سوالات */.stMarkdown h3,.stMarkdown p {color: black !important;}/* استایل برای دکمه ثبت */.stButton > button {color: white !important;}/* پیام موفقیت */.stAlert .stSuccess {color: var(--text) !important;background-color: #f0fff0 !important;}/* تنظیمات مخصوص دسکتاپ */@media (min-width: 769px) {.folium-map {height: 500px !important;}}/* تنظیمات مخصوص موبایل */@media (max-width: 768px) {.folium-map {height: 300px !important;}.stSelectbox > div > div {padding: 8px !important;}/* استایلهای مخصوص موبایل */@media (max-width: 768px) {/* تنظیمات عمومی فرم */.stTextInput>label,.stNumberInput>label,.stSelectbox>label {1 unmodified linepadding: 4px 0 !important;}/* باکسهای ورودی */.stTextInput input,.stNumberInput input,.stSelectbox select {font-size: 14px !important;padding: 8px 12px !important;}/* دکمهها */.stButton>button {font-size: 14px !important;padding: 8px 16px !important;}/* عنوانها */.stMarkdown h3 {font-size: 16px !important;}/* متنهای توضیحی */.stMarkdown p {font-size: 13px !important;}}/* تنظیمات عمومی برای همه inputها */.stTextInput input,.stNumberInput input,.stSelectbox select,.stTextArea textarea {color: #000000 !important; /* متن سیاه */background-color: #ffffff !important; /* پسزمینه سفید */border: 1px solid #6a0dad !important; /* حاشیه بنفش */}/* برای حالت hover و focus */.stTextInput input:focus,.stNumberInput input:focus,.stSelectbox select:focus,.stTextArea textarea:focus {border-color: #6a0dad !important;box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.2) !important;}/* مخصوص موبایل - اندازه بزرگتر */@media (max-width: 768px) {.stTextInput input,.stNumberInput input,.stSelectbox select {font-size: 16px !important;padding: 12px !important;height: auto !important;}/* لیست dropdown */.stSelectbox [role="listbox"] {font-size: 16px !important;}}}</style>""", unsafe_allow_html=True)57 unmodified lines585960616263642 unmodified lines676869707172737475767778798081828384858687889 unmodified lines98991001011021031046 unmodified lines11111211311411511612 unmodified lines1291301311321331341351361371381391401411 unmodified line14314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217357 unmodified linesfont-size: 14px !important;}/* باکسهای ورودی - عمومی */.stTextInput input,.stNumberInput input,.stSelectbox select,2 unmodified lines.stTimeInput input,.stMultiSelect div[role="combobox"],div[data-testid="stVerticalBlock"] > div[data-testid="stHorizontalBlock"] > div > div > div > div > input,.st-bq, .st-br, .st-bs, .st-bt, .st-bu, .st-bv, .st-bw, .st-bx, .st-by, .st-bz {color: #000000 !important;background-color: var(--input-bg) !important;border: 1px solid var(--primary) !important;}/* حالت فوکوس */.stTextInput input:focus,.stNumberInput input:focus,.stSelectbox select:focus,.stTextArea textarea:focus {border-color: var(--primary) !important;box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.2) !important;}/* لیبلها */.stTextInput > label,.stNumberInput > label,.stSelectbox > label,9 unmodified linesopacity: 0.7 !important;}/* دکمهها */.stButton>button,[data-testid="baseButton-primary"],.accept-btn,6 unmodified linesfont-weight: bold !important;}/* کامپوننتهای سفارشی */.rahyar-header {background-color: var(--primary) !important;12 unmodified linesborder-right: 5px solid var(--primary) !important;}/* تنظیمات مخصوص موبایل */@media (max-width: 768px) {.folium-map {height: 300px !important;}/* فرمها در موبایل */.stTextInput>label,.stNumberInput>label,.stSelectbox>label {1 unmodified linepadding: 4px 0 !important;}.stTextInput input,.stNumberInput input,.stSelectbox select {font-size: 16px !important;padding: 12px !important;height: auto !important;}.stButton>button {font-size: 14px !important;padding: 8px 16px !important;}.stMarkdown h3 {font-size: 16px !important;}.stMarkdown p {font-size: 13px !important;}.stSelectbox [role="listbox"] {font-size: 16px !important;}}</style>""", unsafe_allow_html=True)
app.py+18-128