Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -138,53 +138,6 @@ html, body, .stApp {
|
|
| 138 |
background: #333;
|
| 139 |
border-radius: 2px;
|
| 140 |
}
|
| 141 |
-
/* تنظیم پدینگ عمومی با * */
|
| 142 |
-
[data-testid="stAppViewContainer"] * {
|
| 143 |
-
padding-right: 5px !important;
|
| 144 |
-
padding-left: 8px !important;
|
| 145 |
-
box-sizing: border-box !important;
|
| 146 |
-
}
|
| 147 |
-
|
| 148 |
-
/* استثناهای اصلی */
|
| 149 |
-
[data-testid="stAppViewContainer"]::after,
|
| 150 |
-
[data-testid="stAppViewContainer"]::-webkit-scrollbar,
|
| 151 |
-
[data-testid="stAppViewContainer"] .stButton>button,
|
| 152 |
-
[data-testid="stAppViewContainer"] .stTextInput>div>div>input,
|
| 153 |
-
[data-testid="stAppViewContainer"] .stNumberInput>div>div>input,
|
| 154 |
-
[data-testid="stAppViewContainer"] .stSelectbox>div>div>select,
|
| 155 |
-
[data-testid="stAppViewContainer"] .stTextArea>div>textarea,
|
| 156 |
-
[data-testid="stAppViewContainer"] .stDateInput>div>div>input,
|
| 157 |
-
[data-testid="stAppViewContainer"] .stTimeInput>div>div>input,
|
| 158 |
-
[data-testid="stAppViewContainer"] .price-container,
|
| 159 |
-
[data-testid="stAppViewContainer"] .explanation-item,
|
| 160 |
-
[data-testid="stAppViewContainer"] .stAlert,
|
| 161 |
-
[data-testid="stAppViewContainer"] .stMarkdown,
|
| 162 |
-
[data-testid="stAppViewContainer"] .folium-map,
|
| 163 |
-
[data-testid="stAppViewContainer"] .stRadio>div>div>div>label,
|
| 164 |
-
[data-testid="stAppViewContainer"] .stCheckbox>div>div>label,
|
| 165 |
-
[data-testid="stAppViewContainer"] .stSlider>div>div>div>div,
|
| 166 |
-
[data-testid="stAppViewContainer"] .stMultiSelect>div>div>div {
|
| 167 |
-
padding-right: 0 !important;
|
| 168 |
-
padding-left: 0 !important;
|
| 169 |
-
}
|
| 170 |
-
|
| 171 |
-
/* تنظیمات خاص برای کانتینرهای Streamlit */
|
| 172 |
-
[data-testid="stAppViewContainer"] [data-testid="stVerticalBlock"]>div,
|
| 173 |
-
[data-testid="stAppViewContainer"] [data-testid="stHorizontalBlock"]>div {
|
| 174 |
-
padding-right: 5px !important;
|
| 175 |
-
padding-left: 8px !important;
|
| 176 |
-
}
|
| 177 |
-
|
| 178 |
-
/* بازنشانی پدینگ برای المانهای داخلی خاص */
|
| 179 |
-
[data-testid="stAppViewContainer"] .stTextInput>div,
|
| 180 |
-
[data-testid="stAppViewContainer"] .stNumberInput>div,
|
| 181 |
-
[data-testid="stAppViewContainer"] .stSelectbox>div,
|
| 182 |
-
[data-testid="stAppViewContainer"] .stTextArea>div,
|
| 183 |
-
[data-testid="stAppViewContainer"] .stDateInput>div,
|
| 184 |
-
[data-testid="stAppViewContainer"] .stTimeInput>div {
|
| 185 |
-
padding-right: 0 !important;
|
| 186 |
-
padding-left: 0 !important;
|
| 187 |
-
}
|
| 188 |
}
|
| 189 |
|
| 190 |
/* هدر راهیار */
|
|
@@ -603,11 +556,54 @@ h3 {
|
|
| 603 |
padding: calc(var(--base-font-size) * 0.7) calc(var(--base-font-size) * 1.2) !important;
|
| 604 |
}
|
| 605 |
|
| 606 |
-
|
| 607 |
-
|
| 608 |
-
|
| 609 |
-
|
| 610 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 611 |
}
|
| 612 |
|
| 613 |
</style>
|
|
|
|
| 138 |
background: #333;
|
| 139 |
border-radius: 2px;
|
| 140 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
}
|
| 142 |
|
| 143 |
/* هدر راهیار */
|
|
|
|
| 556 |
padding: calc(var(--base-font-size) * 0.7) calc(var(--base-font-size) * 1.2) !important;
|
| 557 |
}
|
| 558 |
|
| 559 |
+
@media (min-width: 768px) {
|
| 560 |
+
/* تنظیم پدینگ عمومی با * */
|
| 561 |
+
[data-testid="stAppViewContainer"] * {
|
| 562 |
+
padding-right: 5px !important;
|
| 563 |
+
padding-left: 8px !important;
|
| 564 |
+
box-sizing: border-box !important;
|
| 565 |
+
}
|
| 566 |
+
|
| 567 |
+
/* استثناهای اصلی */
|
| 568 |
+
[data-testid="stAppViewContainer"]::after,
|
| 569 |
+
[data-testid="stAppViewContainer"]::-webkit-scrollbar,
|
| 570 |
+
[data-testid="stAppViewContainer"] .stButton>button,
|
| 571 |
+
[data-testid="stAppViewContainer"] .stTextInput>div>div>input,
|
| 572 |
+
[data-testid="stAppViewContainer"] .stNumberInput>div>div>input,
|
| 573 |
+
[data-testid="stAppViewContainer"] .stSelectbox>div>div>select,
|
| 574 |
+
[data-testid="stAppViewContainer"] .stTextArea>div>textarea,
|
| 575 |
+
[data-testid="stAppViewContainer"] .stDateInput>div>div>input,
|
| 576 |
+
[data-testid="stAppViewContainer"] .stTimeInput>div>div>input,
|
| 577 |
+
[data-testid="stAppViewContainer"] .price-container,
|
| 578 |
+
[data-testid="stAppViewContainer"] .explanation-item,
|
| 579 |
+
[data-testid="stAppViewContainer"] .stAlert,
|
| 580 |
+
[data-testid="stAppViewContainer"] .stMarkdown,
|
| 581 |
+
[data-testid="stAppViewContainer"] .folium-map,
|
| 582 |
+
[data-testid="stAppViewContainer"] .stRadio>div>div>div>label,
|
| 583 |
+
[data-testid="stAppViewContainer"] .stCheckbox>div>div>label,
|
| 584 |
+
[data-testid="stAppViewContainer"] .stSlider>div>div>div>div,
|
| 585 |
+
[data-testid="stAppViewContainer"] .stMultiSelect>div>div>div {
|
| 586 |
+
padding-right: 0 !important;
|
| 587 |
+
padding-left: 0 !important;
|
| 588 |
+
}
|
| 589 |
+
|
| 590 |
+
/* تنظیمات خاص برای کانتینرهای Streamlit */
|
| 591 |
+
[data-testid="stAppViewContainer"] [data-testid="stVerticalBlock"]>div,
|
| 592 |
+
[data-testid="stAppViewContainer"] [data-testid="stHorizontalBlock"]>div {
|
| 593 |
+
padding-right: 5px !important;
|
| 594 |
+
padding-left: 8px !important;
|
| 595 |
+
}
|
| 596 |
+
|
| 597 |
+
/* بازنشانی پدینگ برای المانهای داخلی خاص */
|
| 598 |
+
[data-testid="stAppViewContainer"] .stTextInput>div,
|
| 599 |
+
[data-testid="stAppViewContainer"] .stNumberInput>div,
|
| 600 |
+
[data-testid="stAppViewContainer"] .stSelectbox>div,
|
| 601 |
+
[data-testid="stAppViewContainer"] .stTextArea>div,
|
| 602 |
+
[data-testid="stAppViewContainer"] .stDateInput>div,
|
| 603 |
+
[data-testid="stAppViewContainer"] .stTimeInput>div {
|
| 604 |
+
padding-right: 0 !important;
|
| 605 |
+
padding-left: 0 !important;
|
| 606 |
+
}
|
| 607 |
}
|
| 608 |
|
| 609 |
</style>
|