Spaces:
Sleeping
Sleeping
Commit
·
512491e
1
Parent(s):
c78da1e
....
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ else:
|
|
| 17 |
st.set_page_config (
|
| 18 |
page_title=config.TITLE,
|
| 19 |
page_icon= "assets/faviconV2.png",
|
| 20 |
-
|
| 21 |
initial_sidebar_state=st.session_state.sidebar_state
|
| 22 |
)
|
| 23 |
|
|
|
|
| 17 |
st.set_page_config (
|
| 18 |
page_title=config.TITLE,
|
| 19 |
page_icon= "assets/faviconV2.png",
|
| 20 |
+
layout="wide",
|
| 21 |
initial_sidebar_state=st.session_state.sidebar_state
|
| 22 |
)
|
| 23 |
|
style.css
CHANGED
|
@@ -8,20 +8,15 @@ h2 {
|
|
| 8 |
padding-bottom: 0.5rem;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
h3 {
|
| 12 |
-
padding-bottom: 0.0rem;
|
| 13 |
-
}
|
| 14 |
-
|
| 15 |
-
|
| 16 |
/* La ligne suivante est nécessaire à cause du module streamlit_option_menu qui "casse" les CSS suivants */
|
| 17 |
@media (prefers-color-scheme: dark) {
|
| 18 |
-
.st-
|
| 19 |
color: #fff!important; /* Couleur du texte en mode sombre */
|
| 20 |
}
|
| 21 |
.st-cg:hover {
|
| 22 |
color: rgb(255, 75, 75)!important; /* Couleur du texte en mode sombre */
|
| 23 |
}
|
| 24 |
-
section[data-testid="stSidebar"] .stSelectbox .st-
|
| 25 |
color: rgb(255, 75, 75)!important;
|
| 26 |
font-weight: bold;
|
| 27 |
}
|
|
@@ -49,7 +44,7 @@ footer {
|
|
| 49 |
|
| 50 |
/* Radio buttons */
|
| 51 |
|
| 52 |
-
.st-
|
| 53 |
color: black;
|
| 54 |
font-weight: 500;
|
| 55 |
}
|
|
@@ -82,7 +77,7 @@ section[data-testid="stSidebar"] button[kind="icon"] {
|
|
| 82 |
display: none;
|
| 83 |
}
|
| 84 |
|
| 85 |
-
section[data-testid="stSidebar"] .st-
|
| 86 |
background-color: #10b8dd;
|
| 87 |
}
|
| 88 |
|
|
@@ -100,18 +95,11 @@ section[data-testid="stSidebar"] h2 {
|
|
| 100 |
color: white;
|
| 101 |
}
|
| 102 |
|
| 103 |
-
section[data-testid="stSidebar"] .stSelectbox .st-
|
| 104 |
-
background-color: #a0d3de;
|
| 105 |
-
}
|
| 106 |
-
|
| 107 |
-
.st-emotion-cache-1h9usn1{
|
| 108 |
-
font-weight: bold!important;
|
| 109 |
background-color: #a0d3de;
|
| 110 |
}
|
| 111 |
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
section[data-testid="stSidebar"] .stSelectbox .st-cc {
|
| 115 |
color: rgb(255, 75, 75);
|
| 116 |
font-weight: bold;
|
| 117 |
}
|
|
@@ -139,7 +127,3 @@ section[tabindex="0"] .block-container {
|
|
| 139 |
padding-top: 0px;
|
| 140 |
padding-bottom: 0px;
|
| 141 |
}
|
| 142 |
-
|
| 143 |
-
.st-emotion-cache-12fmjuu {
|
| 144 |
-
height: 0rem;
|
| 145 |
-
}
|
|
|
|
| 8 |
padding-bottom: 0.5rem;
|
| 9 |
}
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
/* La ligne suivante est nécessaire à cause du module streamlit_option_menu qui "casse" les CSS suivants */
|
| 12 |
@media (prefers-color-scheme: dark) {
|
| 13 |
+
.st-bm {
|
| 14 |
color: #fff!important; /* Couleur du texte en mode sombre */
|
| 15 |
}
|
| 16 |
.st-cg:hover {
|
| 17 |
color: rgb(255, 75, 75)!important; /* Couleur du texte en mode sombre */
|
| 18 |
}
|
| 19 |
+
section[data-testid="stSidebar"] .stSelectbox .st-bm {
|
| 20 |
color: rgb(255, 75, 75)!important;
|
| 21 |
font-weight: bold;
|
| 22 |
}
|
|
|
|
| 44 |
|
| 45 |
/* Radio buttons */
|
| 46 |
|
| 47 |
+
.st-bm {
|
| 48 |
color: black;
|
| 49 |
font-weight: 500;
|
| 50 |
}
|
|
|
|
| 77 |
display: none;
|
| 78 |
}
|
| 79 |
|
| 80 |
+
section[data-testid="stSidebar"] .st-ax {
|
| 81 |
background-color: #10b8dd;
|
| 82 |
}
|
| 83 |
|
|
|
|
| 95 |
color: white;
|
| 96 |
}
|
| 97 |
|
| 98 |
+
section[data-testid="stSidebar"] .stSelectbox .st-ax {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
background-color: #a0d3de;
|
| 100 |
}
|
| 101 |
|
| 102 |
+
section[data-testid="stSidebar"] .stSelectbox .st-bm {
|
|
|
|
|
|
|
| 103 |
color: rgb(255, 75, 75);
|
| 104 |
font-weight: bold;
|
| 105 |
}
|
|
|
|
| 127 |
padding-top: 0px;
|
| 128 |
padding-bottom: 0px;
|
| 129 |
}
|
|
|
|
|
|
|
|
|
|
|
|