js02vel commited on
Commit
8552652
·
verified ·
1 Parent(s): b539384

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +81 -0
src/streamlit_app.py CHANGED
@@ -144,4 +144,85 @@ if submit:
144
  st.write("🏋 Available Equipment:", ", ".join(equipment))
145
  else:
146
  st.write("🏋 Available Equipment: None selected")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
 
 
144
  st.write("🏋 Available Equipment:", ", ".join(equipment))
145
  else:
146
  st.write("🏋 Available Equipment: None selected")
147
+ st.markdown("""
148
+ <style>
149
+
150
+ /* Full page background */
151
+ .stApp {
152
+ background-color: #f4f7fb;
153
+ }
154
+
155
+ /* Main container */
156
+ .block-container {
157
+ background-color: #ffffff;
158
+ padding: 2.5rem;
159
+ border-radius: 16px;
160
+ max-width: 900px;
161
+ }
162
+
163
+ /* Headings */
164
+ h1, h2, h3 {
165
+ color: #0f172a !important;
166
+ }
167
+
168
+ /* Labels */
169
+ label {
170
+ color: #1e293b !important;
171
+ font-weight: 600;
172
+ }
173
+
174
+ /* Text inputs & number inputs */
175
+ input, textarea {
176
+ background-color: #ffffff !important;
177
+ color: #0f172a !important;
178
+ border-radius: 10px !important;
179
+ border: 1px solid #cbd5e1 !important;
180
+ }
181
+
182
+ /* Selectbox & Multiselect */
183
+ div[data-baseweb="select"] {
184
+ background-color: #ffffff !important;
185
+ color: #0f172a !important;
186
+ border-radius: 10px;
187
+ }
188
+
189
+ /* Dropdown text */
190
+ div[data-baseweb="select"] span {
191
+ color: #0f172a !important;
192
+ }
193
+
194
+ /* Number input buttons (+ / -) */
195
+ button[aria-label="Increment"],
196
+ button[aria-label="Decrement"] {
197
+ color: #0f172a !important;
198
+ }
199
+
200
+ /* Radio & checkbox text */
201
+ span {
202
+ color: #0f172a !important;
203
+ }
204
+
205
+ /* Form card */
206
+ div[data-testid="stForm"] {
207
+ background-color: #f8fafc;
208
+ padding: 2rem;
209
+ border-radius: 14px;
210
+ box-shadow: 0 10px 25px rgba(0,0,0,0.08);
211
+ }
212
+
213
+ /* Main action button */
214
+ .stButton > button {
215
+ width: 100%;
216
+ height: 3.2em;
217
+ border-radius: 10px;
218
+ background: linear-gradient(90deg, #2563eb, #1d4ed8);
219
+ color: white !important;
220
+ font-size: 17px;
221
+ font-weight: 600;
222
+ border: none;
223
+ }
224
+
225
+ </style>
226
+ """, unsafe_allow_html=True)
227
+
228