Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,29 +28,57 @@ st.markdown("""
|
|
| 28 |
text-align: right !important;
|
| 29 |
direction: rtl !important;
|
| 30 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
.rahyar-header {
|
| 33 |
-
background-color: #6a0dad;
|
| 34 |
-
padding: 15px;
|
| 35 |
-
border-radius: 10px;
|
| 36 |
-
color: white;
|
| 37 |
-
margin-bottom: 20px;
|
| 38 |
-
text-align: center;
|
| 39 |
}
|
| 40 |
|
| 41 |
.price-container {
|
| 42 |
-
background-color: #f8f9fa;
|
| 43 |
-
border-radius: 10px;
|
| 44 |
-
padding: 15px;
|
| 45 |
margin: 15px 0;
|
| 46 |
border-right: 5px solid #6a0dad;
|
| 47 |
}
|
| 48 |
|
| 49 |
.rahyar-price {
|
| 50 |
-
color: #6a0dad;
|
| 51 |
-
font-size: 28px;
|
| 52 |
-
font-weight: bold;
|
| 53 |
-
text-align: center;
|
| 54 |
margin: 10px 0;
|
| 55 |
}
|
| 56 |
|
|
@@ -86,25 +114,25 @@ st.markdown("""
|
|
| 86 |
}
|
| 87 |
|
| 88 |
.rahyar-badge {
|
| 89 |
-
background-color: #e6e6fa;
|
| 90 |
-
color: #6a0dad;
|
| 91 |
-
padding: 5px 10px;
|
| 92 |
-
border-radius: 15px;
|
| 93 |
-
font-size: 14px;
|
| 94 |
-
display: inline-block;
|
| 95 |
-
margin-left: 10px;
|
| 96 |
}
|
| 97 |
|
| 98 |
.explanation-title {
|
| 99 |
-
color: #6a0dad;
|
| 100 |
-
font-weight: bold;
|
| 101 |
-
margin-top: 20px;
|
| 102 |
}
|
| 103 |
|
| 104 |
.explanation-item {
|
| 105 |
margin: 10px 0;
|
| 106 |
-
padding-right: 15px;
|
| 107 |
-
border-right: 3px solid #6a0dad;
|
| 108 |
}
|
| 109 |
|
| 110 |
.accept-btn {
|
|
@@ -163,6 +191,14 @@ st.markdown("""
|
|
| 163 |
.stApp {
|
| 164 |
background-color: white !important;
|
| 165 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 166 |
</style>
|
| 167 |
""", unsafe_allow_html=True)
|
| 168 |
|
|
|
|
| 28 |
text-align: right !important;
|
| 29 |
direction: rtl !important;
|
| 30 |
}
|
| 31 |
+
:root {
|
| 32 |
+
color-scheme: light only;
|
| 33 |
+
--primary-color: #6a0dad;
|
| 34 |
+
--text-color: #333333;
|
| 35 |
+
--background-color: #ffffff;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
@media (prefers-color-scheme: dark) {
|
| 39 |
+
:root {
|
| 40 |
+
--text-color: #f0f0f0;
|
| 41 |
+
--background-color: #121212;
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
* {
|
| 46 |
+
font-family: 'Vazir', sans-serif !important;
|
| 47 |
+
text-align: right !important;
|
| 48 |
+
direction: rtl !important;
|
| 49 |
+
color: var(--text-color) !important;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
body {
|
| 53 |
+
background-color: var(--background-color) !important;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.stApp {
|
| 57 |
+
background-color: var(--background-color) !important;
|
| 58 |
+
}
|
| 59 |
|
| 60 |
.rahyar-header {
|
| 61 |
+
background-color: #6a0dad !important;
|
| 62 |
+
padding: 15px !important;
|
| 63 |
+
border-radius: 10px !important;
|
| 64 |
+
color: white !important;
|
| 65 |
+
margin-bottom: 20px !important;
|
| 66 |
+
text-align: center !important;
|
| 67 |
}
|
| 68 |
|
| 69 |
.price-container {
|
| 70 |
+
background-color: #f8f9fa !important;
|
| 71 |
+
border-radius: 10px !important;
|
| 72 |
+
padding: 15px !important;
|
| 73 |
margin: 15px 0;
|
| 74 |
border-right: 5px solid #6a0dad;
|
| 75 |
}
|
| 76 |
|
| 77 |
.rahyar-price {
|
| 78 |
+
color: #6a0dad !important;
|
| 79 |
+
font-size: 28px !important;
|
| 80 |
+
font-weight: bold !important;
|
| 81 |
+
text-align: center !important;
|
| 82 |
margin: 10px 0;
|
| 83 |
}
|
| 84 |
|
|
|
|
| 114 |
}
|
| 115 |
|
| 116 |
.rahyar-badge {
|
| 117 |
+
background-color: #e6e6fa !important;
|
| 118 |
+
color: #6a0dad !important;
|
| 119 |
+
padding: 5px 10px !important;
|
| 120 |
+
border-radius: 15px !important;
|
| 121 |
+
font-size: 14px !important;
|
| 122 |
+
display: inline-block !important;
|
| 123 |
+
margin-left: 10px !important;
|
| 124 |
}
|
| 125 |
|
| 126 |
.explanation-title {
|
| 127 |
+
color: #6a0dad !important;
|
| 128 |
+
font-weight: bold !important;
|
| 129 |
+
margin-top: 20px !important;
|
| 130 |
}
|
| 131 |
|
| 132 |
.explanation-item {
|
| 133 |
margin: 10px 0;
|
| 134 |
+
padding-right: 15px !important;
|
| 135 |
+
border-right: 3px solid #6a0dad !important;
|
| 136 |
}
|
| 137 |
|
| 138 |
.accept-btn {
|
|
|
|
| 191 |
.stApp {
|
| 192 |
background-color: white !important;
|
| 193 |
}
|
| 194 |
+
/* تنظیمات ریسپانسیو */
|
| 195 |
+
@media only screen and (max-width: 768px) {
|
| 196 |
+
/* استایلهای مخصوص موبایل */
|
| 197 |
+
.rahyar-request-btn, .rahyar-reject-btn {
|
| 198 |
+
padding: 12px 20px !important;
|
| 199 |
+
font-size: 14px !important;
|
| 200 |
+
}
|
| 201 |
+
}
|
| 202 |
</style>
|
| 203 |
""", unsafe_allow_html=True)
|
| 204 |
|