Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -434,20 +434,33 @@ def user_contact():
|
|
| 434 |
"""راه ارتباطی ساده"""
|
| 435 |
st.markdown("""
|
| 436 |
<style>
|
|
|
|
| 437 |
.stTextInput input,
|
| 438 |
.stNumberInput input,
|
| 439 |
.stSelectbox select {
|
| 440 |
color: #333333 !important;
|
| 441 |
background-color: white !important;
|
| 442 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 443 |
</style>
|
| 444 |
|
| 445 |
-
|
| 446 |
-
|
| 447 |
-
|
| 448 |
-
|
| 449 |
-
|
| 450 |
-
|
| 451 |
contact_info = st.text_input(
|
| 452 |
"راه ارتباطی (اختیاری)",
|
| 453 |
placeholder="مثال: @username یا 09123456789 یا example@email.com",
|
|
|
|
| 434 |
"""راه ارتباطی ساده"""
|
| 435 |
st.markdown("""
|
| 436 |
<style>
|
| 437 |
+
/* استایل برای فیلدهای ورودی */
|
| 438 |
.stTextInput input,
|
| 439 |
.stNumberInput input,
|
| 440 |
.stSelectbox select {
|
| 441 |
color: #333333 !important;
|
| 442 |
background-color: white !important;
|
| 443 |
}
|
| 444 |
+
|
| 445 |
+
/* استایل برای placeholder (متن راهنما) */
|
| 446 |
+
.stTextInput input::placeholder,
|
| 447 |
+
.stNumberInput input::placeholder {
|
| 448 |
+
color: #333333 !important;
|
| 449 |
+
opacity: 1 !important; /* برای اطمینان از نمایش کامل رنگ */
|
| 450 |
+
}
|
| 451 |
+
|
| 452 |
+
/* استایل برای select box */
|
| 453 |
+
.stSelectbox select option {
|
| 454 |
+
color: #333333 !important;
|
| 455 |
+
background-color: white !important;
|
| 456 |
+
}
|
| 457 |
</style>
|
| 458 |
|
| 459 |
+
<div style="text-align: center; margin-bottom: 30px;">
|
| 460 |
+
<h3>📩 راه ارتباطی شما (اختیاری)</h3>
|
| 461 |
+
<p>در صورت تمایل به شرکت در قرعهکشی میتوانید آیدی تلگرام، شماره تماس یا ایمیل خود را وارد کنید:</p>
|
| 462 |
+
</div>
|
| 463 |
+
""", unsafe_allow_html=True)
|
|
|
|
| 464 |
contact_info = st.text_input(
|
| 465 |
"راه ارتباطی (اختیاری)",
|
| 466 |
placeholder="مثال: @username یا 09123456789 یا example@email.com",
|