Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -254,24 +254,27 @@ def criar_grafico_personalizado(df, x_col, y_col, titulo):
|
|
254 |
return fig
|
255 |
|
256 |
if uploaded_file is not None:
|
257 |
-
with st.expander("
|
258 |
selected_tab = option_menu(
|
259 |
menu_title=None,
|
260 |
options=["Faixa Etária", "Gênero", "Cor", "Deficiência", "Doenças", "Escolaridade", "Identidade de Gênero"],
|
261 |
-
icons=["person", "gender-female", "person-plus", "person-wheelchair", "capsule-pill", "
|
262 |
menu_icon="cast",
|
263 |
default_index=0,
|
264 |
orientation="horizontal",
|
265 |
styles={
|
266 |
-
"container": {"padding": "
|
267 |
-
"icon": {"color": "
|
268 |
"nav-link": {
|
269 |
-
"font-size": "
|
270 |
"text-align": "center",
|
271 |
"margin": "0px",
|
272 |
-
"
|
|
|
|
|
273 |
},
|
274 |
-
"nav-link-selected": {"background-color": "#
|
|
|
275 |
},
|
276 |
)
|
277 |
|
|
|
254 |
return fig
|
255 |
|
256 |
if uploaded_file is not None:
|
257 |
+
with st.expander("Visualização", expanded=True):
|
258 |
selected_tab = option_menu(
|
259 |
menu_title=None,
|
260 |
options=["Faixa Etária", "Gênero", "Cor", "Deficiência", "Doenças", "Escolaridade", "Identidade de Gênero"],
|
261 |
+
icons=["person", "gender-female", "person-plus", "person-wheelchair", "capsule-pill", "stars", "gender-trans"],
|
262 |
menu_icon="cast",
|
263 |
default_index=0,
|
264 |
orientation="horizontal",
|
265 |
styles={
|
266 |
+
"container": {"padding": "0!important", "background-color": "#262730"},
|
267 |
+
"icon": {"color": "#4FCBFC", "font-size": "18px"},
|
268 |
"nav-link": {
|
269 |
+
"font-size": "14px",
|
270 |
"text-align": "center",
|
271 |
"margin": "0px",
|
272 |
+
"padding": "10px",
|
273 |
+
"--hover-color": "#363940",
|
274 |
+
"color": "#FFFFFF",
|
275 |
},
|
276 |
+
"nav-link-selected": {"background-color": "#0083B8"},
|
277 |
+
"separator": {"border-color": "#4B4B4B"},
|
278 |
},
|
279 |
)
|
280 |
|