Jfink09 commited on
Commit
996f726
·
verified ·
1 Parent(s): 2d5dd80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -1
app.py CHANGED
@@ -6,12 +6,44 @@ import math
6
  # Set page config at the very beginning
7
  st.set_page_config(page_title='Total Corneal Astigmatism Prediction', page_icon=':eyeglasses:', layout='wide')
8
 
9
- # Custom CSS to set background color to #000
10
  st.markdown("""
11
  <style>
12
  .stApp {
13
  background-color: #000;
14
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  </style>
16
  """, unsafe_allow_html=True)
17
 
 
6
  # Set page config at the very beginning
7
  st.set_page_config(page_title='Total Corneal Astigmatism Prediction', page_icon=':eyeglasses:', layout='wide')
8
 
9
+ # Custom CSS to set background color to #000 for main app and navigation
10
  st.markdown("""
11
  <style>
12
  .stApp {
13
  background-color: #000;
14
  }
15
+
16
+ .stDeployButton {
17
+ display: none !important;
18
+ }
19
+
20
+ header[data-testid="stHeader"] {
21
+ background-color: #000;
22
+ }
23
+
24
+ .stDecoration {
25
+ background-color: #000 !important;
26
+ }
27
+
28
+ .stToolbar {
29
+ background-color: #000 !important;
30
+ }
31
+
32
+ #MainMenu {
33
+ background-color: #000 !important;
34
+ }
35
+
36
+ div[data-testid="stToolbar"] {
37
+ background-color: #000 !important;
38
+ }
39
+
40
+ button[kind="headerNoPadding"], button[data-testid="baseButton-headerNoPadding"], button[aria-haspopup="menu"] {
41
+ background-color: transparent !important;
42
+ }
43
+
44
+ .stApp > header {
45
+ background-color: transparent !important;
46
+ }
47
  </style>
48
  """, unsafe_allow_html=True)
49