vashu2425 commited on
Commit
c0dab79
·
verified ·
1 Parent(s): 75a2b67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -14
app.py CHANGED
@@ -214,22 +214,24 @@ def main():
214
  transform: scale(1.03); /* Reduced from 1.05 */
215
  }
216
 
217
- .top-left-button {
218
- position: auto;
219
- top: 50px;
220
- left: 20px;
221
- z-index: 100;
222
- padding: 10px 20px;
223
- background-color: #e0162e;
224
- color: white !important;
225
- text-decoration: none !important;
226
- border-radius: 50px;
227
- margin-top: 10px;
228
- font-size: 16px;
229
- text-align: center;
230
  }
231
  .top-left-button:hover {
232
- background-color: #f7525a;
 
 
233
  }
234
 
235
  /* Fullscreen styles */
@@ -254,6 +256,7 @@ def main():
254
  /* Header background */
255
  [data-testid="stHeader"] {
256
  background: #1e1e30;
 
257
  }
258
 
259
  /* Apply background color to the whole Streamlit app */
 
214
  transform: scale(1.03); /* Reduced from 1.05 */
215
  }
216
 
217
+ .top-left-button {
218
+ position: fixed;
219
+ top: 20px;
220
+ left: 20px;
221
+ z-index: 1000;
222
+ padding: 10px 20px;
223
+ background-color: #e0162e;
224
+ color: white !important;
225
+ text-decoration: none !important;
226
+ border-radius: 25px;
227
+ font-size: 16px;
228
+ box-shadow: 0 2px 4px rgba(0,0,0,0.2);
229
+ transition: all 0.3s ease;
230
  }
231
  .top-left-button:hover {
232
+ background-color: #c91127;
233
+ transform: translateY(-1px);
234
+ box-shadow: 0 4px 8px rgba(0,0,0,0.3);
235
  }
236
 
237
  /* Fullscreen styles */
 
256
  /* Header background */
257
  [data-testid="stHeader"] {
258
  background: #1e1e30;
259
+ z-index: 1001;
260
  }
261
 
262
  /* Apply background color to the whole Streamlit app */