GSMEthesis commited on
Commit
9a4ed5d
·
verified ·
1 Parent(s): b5f9e54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -0
app.py CHANGED
@@ -138,6 +138,39 @@ html, body, .stApp {
138
  background: #333;
139
  border-radius: 2px;
140
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  }
142
 
143
  /* هدر راهیار */
 
138
  background: #333;
139
  border-radius: 2px;
140
  }
141
+ /* اعمال پدینگ فقط برای المان‌های محتوایی عمومی */
142
+ [data-testid="stAppViewContainer"] > div > div > div > div > div > div:not(.stTextInput):not(.stNumberInput):not(.stSelectbox):not(.stTextArea):not(.stDateInput):not(.stTimeInput):not(.stButton):not(.price-container):not(.explanation-item) {
143
+ padding-right: 5px !important;
144
+ padding-left: 8px !important;
145
+ }
146
+
147
+ /* تنظیمات خاص برای باکس‌ها و کانتینرها */
148
+ [data-testid="stAppViewContainer"] .stTextInput,
149
+ [data-testid="stAppViewContainer"] .stNumberInput,
150
+ [data-testid="stAppViewContainer"] .stSelectbox,
151
+ [data-testid="stAppViewContainer"] .stTextArea,
152
+ [data-testid="stAppViewContainer"] .stDateInput,
153
+ [data-testid="stAppViewContainer"] .stTimeInput,
154
+ [data-testid="stAppViewContainer"] .stButton,
155
+ [data-testid="stAppViewContainer"] .price-container,
156
+ [data-testid="stAppViewContainer"] .explanation-item,
157
+ [data-testid="stAppViewContainer"] .stAlert,
158
+ [data-testid="stAppViewContainer"] .stMarkdown,
159
+ [data-testid="stAppViewContainer"] .folium-map {
160
+ padding-right: initial !important;
161
+ padding-left: initial !important;
162
+ }
163
+
164
+ /* تنظیمات داخلی برای باکس‌ها */
165
+ [data-testid="stAppViewContainer"] .stTextInput > div,
166
+ [data-testid="stAppViewContainer"] .stNumberInput > div,
167
+ [data-testid="stAppViewContainer"] .stSelectbox > div,
168
+ [data-testid="stAppViewContainer"] .stTextArea > div,
169
+ [data-testid="stAppViewContainer"] .stDateInput > div,
170
+ [data-testid="stAppViewContainer"] .stTimeInput > div {
171
+ padding-right: 0 !important;
172
+ padding-left: 0 !important;
173
+ }
174
  }
175
 
176
  /* هدر راهیار */