Ajout d'une application de recherche

This commit is contained in:
François Pelletier 2024-10-03 22:36:29 -04:00
parent 5535db30c2
commit 1b9e16690f

View file

@ -6,6 +6,50 @@ import plotly.express as px
from dotenv import load_dotenv from dotenv import load_dotenv
import os import os
# Set page config to wide mode
st.set_page_config(layout="wide")
# Force dark theme
st.markdown("""
<style>
/* Main background */
.stApp {
background-color: #0e1117;
color: #fafafa;
}
/* Sidebar */
.css-1d391kg {
background-color: #262730;
}
/* Buttons */
.stButton>button {
color: #fafafa;
background-color: #262730;
border-color: #fafafa;
}
/* Text inputs */
.stTextInput>div>div>input {
color: #fafafa;
background-color: #262730;
}
/* Selectbox */
.stSelectbox>div>div>select {
color: #fafafa;
background-color: #262730;
}
/* Multiselect */
.stMultiSelect>div>div>select {
color: #fafafa;
background-color: #262730;
}
/* Date input */
.stDateInput>div>div>input {
color: #fafafa;
background-color: #262730;
}
</style>
""", unsafe_allow_html=True)
# Add this CSS to create a scrollable results area # Add this CSS to create a scrollable results area
st.markdown(""" st.markdown("""
<style> <style>