Spaces:
Running
Running
/* Estilos gerais */ | |
body { | |
font-family: 'Roboto', sans-serif; | |
background-color: #7fafcf; | |
color: #31333F; | |
} | |
.stApp { | |
padding: 4rem; | |
} | |
/* Estilo para o data editor */ | |
.stDataFrame { | |
border: none ; | |
width: 100% ; | |
padding: initial ; | |
align-self: center ; | |
cursor: pointer; | |
border-radius: 15px ; | |
overflow: hidden ; | |
border-radius: 8px ; | |
box-shadow: rgba(85, 91, 100, 0.411) 20px 10px 17px 0px, rgb(99, 111, 119) 20px 8px 20px ; | |
background: linear-gradient(180deg, #5f5fe73b, #f0505047) ; | |
} | |
.stDataFrame table { | |
border-collapse: separate ; | |
background-color: #719fe7 ; | |
border-spacing: 0 ; | |
width: 100% ; | |
} | |
.stDataFrame th { | |
background-color: #E6E7EB ; | |
color: #31333F ; | |
font-weight: bold ; | |
padding: 15px 12px ; | |
text-align: left ; | |
border-bottom: 2px solid #D1D9E6 ; | |
} | |
.stDataFrame td { | |
background-color: #FFFFFF ; | |
color: #31333F ; | |
padding: 12px ; | |
border-bottom: 1px solid #E6E7EB ; | |
} | |
.stDataFrame tr:last-child td { | |
border-bottom: none ; | |
} | |
.stDataFrame tr:hover td { | |
background-color: #F8F9FA ; | |
} | |
/* Estilo para as métricas */ | |
div[data-testid="stMetricValue"] { | |
background: linear-gradient(145deg, #E6E7EB, #FFFFFF) ; | |
border: none ; | |
border-radius: 15px ; | |
padding: 20px ; | |
box-shadow: 8px 8px 15px #D1D9E6, -8px -8px 15px #FFFFFF ; | |
transition: all 0.3s ease ; | |
} | |
div[data-testid="stMetricValue"]:hover { | |
transform: translateY(-5px) ; | |
box-shadow: 12px 12px 20px #D1D9E6, -12px -12px 20px #FFFFFF ; | |
} | |
div[data-testid="stMetricLabel"] { | |
font-size: 16px ; | |
color: #6C757D ; | |
margin-bottom: 8px ; | |
} | |
div[data-testid="stMetricValue"] > div { | |
font-size: 28px ; | |
font-weight: bold ; | |
color: #4A90E2 ; | |
} | |
/* Estilo para os botões */ | |
.stButton button { | |
border: none ; | |
border-radius: 25px ; | |
padding: 12px 24px ; | |
font-weight: bold ; | |
font-size: 18px ; | |
transition: all 0.3s ease ; | |
background: linear-gradient(145deg, #ebeae6, #FFFFFF) ; | |
color: #31333F ; | |
box-shadow: 8px 8px 15px #D1D9E6, -8px -8px 15px #FFFFFF ; | |
} | |
.stCheckbox stCheckbox { | |
margin-left: 1px ; | |
align-content: normal ; | |
transform: scale(0.8) ; | |
color: #2572b6 ; | |
font-palette: #a77406 ; | |
} | |
.stButton button:hover { | |
font-size: large ; | |
font-weight: bolder ; | |
transform: translateY(-2px) ; | |
box-shadow: 12px 12px 20px #D1D9E6, -12px -12px 20px #FFFFFF ; | |
background: linear-gradient(145deg, #E6F3FF, #C5E4FF) ; | |
color: #7aaad4 ; | |
} | |
.stButton button:active { | |
transform: translateY(1px) ; | |
box-shadow: inset 5px 5px 10px #B3D7FF, inset -5px -5px 10px #FFFFFF ; | |
background: linear-gradient(145deg, #9bc3e5, #E6F3FF) ; | |
} | |
.stSelectbox selectbox { | |
background: linear-gradient(145deg, #e6e7eb, #ffffff) ; | |
border: none ; | |
border-radius: 10px ; | |
padding: 20px ; | |
color: #31333F ; | |
box-shadow: | |
8px 8px 16px #d1d9e6, | |
-8px -8px 16px #ffffff, | |
inset 2px 2px 4px #d1d9e6, | |
inset -2px -2px 4px #ffffff ; | |
transition: all 0.3s ease ; | |
font-size: 16px ; | |
line-height: 1.5 ; | |
} | |
/* Estilo para inputs e selects */ | |
.stTextInput input, .stSelectbox select { | |
background: #FFFFFF ; | |
border: none ; | |
border-radius: 10px ; | |
padding: 12px 16px ; | |
color: #31333F ; | |
align-content: jusify-content ; | |
box-shadow: inset 5px 5px 10px #D1D9E6, inset -5px -5px 10px #FFFFFF ; | |
} | |
.stTextInput input:focus, .stSelectbox select:focus { | |
box-shadow: inset 7px 7px 12px #D1D9E6, inset -7px -7px 12px #FFFFFF ; | |
outline: none ; | |
} | |
/* Estilo para o título */ | |
h1 { | |
color: #9f4707 ; | |
font-size: 2.5rem ; | |
margin-bottom: 1.5rem ; | |
text-shadow: 2px 2px 4px #D1D9E6 ; | |
} | |
/* Estilo para subheaders */ | |
h2, h3 { | |
color: #9f4707 ; | |
margin-top: 2rem ; | |
margin-bottom: 1rem ; | |
text-shadow: 2px 2px 6px #e9d3be ; | |
} | |
h4, h5, h6 { | |
color: #9f4707 ; | |
margin-top: 2rem ; | |
margin-bottom: 0rem ; | |
text-shadow: 2px 2px 6px #e9d3be ; | |
} | |
/* Estilo para links */ | |
a { | |
color: #e28f4b ; | |
text-decoration: none ; | |
transition: color 0.3s ease ; | |
} | |
p, ol, ul, dl { | |
margin: 0px 0px 1rem; | |
padding: 0px; | |
font-size: 1.1rem; | |
font-weight: 400; | |
color: #9f4707; | |
} | |
a:hover { | |
color: #cea022 ; | |
} | |
/* Estilo aprimorado para o text box de processamento de texto */ | |
.stTextArea textarea { | |
background: linear-gradient(145deg, #e6e7eb, #ffffff) ; | |
border: none ; | |
border-radius: 10px ; | |
padding: 20px ; | |
color: #31333F ; | |
box-shadow: | |
8px 8px 16px #d1d9e6, | |
-8px -8px 16px #ffffff, | |
inset 2px 2px 4px #d1d9e6, | |
inset -2px -2px 4px #ffffff ; | |
transition: all 0.3s ease ; | |
font-size: 16px ; | |
line-height: 1.5 ; | |
} | |
.stTextArea textarea:focus { | |
box-shadow: | |
12px 12px 20px #d1d9e6, | |
-12px -12px 20px #ffffff, | |
inset 4px 4px 8px #d1d9e6, | |
inset -4px -4px 8px #ffffff ; | |
outline: none ; | |
transform: translateY(-2px) ; | |
} | |
.stTextArea textarea::placeholder { | |
color: #9aa0a8 ; | |
} | |
/ | |
/* Estilo para o container do text box */ | |
/*.stTextArea > div { | |
border-radius: 22px !important; | |
padding: 2px !important; | |
background: linear-gradient(145deg, #d1d9e6, #ffffff) !important; | |
box-shadow: | |
10px 10px 20px #b8bfcc, | |
-10px -10px 20px #ffffff !important; | |
} | |
/* Ajuste para o label do text box */ | |
.stTextArea label { | |
background: transparent ; | |
color: #4A90E2 ; | |
font-weight: bold ; | |
font-size: 18px ; | |
margin-bottom: 8px ; | |
text-shadow: 1px 1px 2px #ffffff, -1px -1px 2px #d1d9e6 ; | |
} | |
/* Estilo para o formulário */ | |
form { | |
background: linear-gradient(145deg, #E6E7EB, #FFFFFF) ; | |
border-radius: 20px ; | |
padding: 25px ; | |
box-shadow: 8px 8px 15px #D1D9E6, -8px -8px 15px #FFFFFF ; | |
transition: all 0.3s ease ; | |
} | |
form:hover { | |
transform: translateY(-5px) ; | |
box-shadow: 12px 12px 20px #D1D9E6, -12px -12px 20px #FFFFFF ; | |
} | |
/* Estilo para os inputs dentro do formulário */ | |
/*form .stTextInput input, form .stTimeInput input, form .stNumberInput input { | |
background: #FFFFFF !important; | |
border: none !important; | |
border-radius: 10px !important; | |
padding: 12px 16px !important; | |
color: #31333F !important; | |
box-shadow: inset 5px 5px 10px #D1D9E6, inset -5px -5px 10px #FFFFFF !important; | |
transition: all 0.3s ease !important; | |
} | |
form .stTextInput input:focus, form .stTimeInput input:focus, form .stNumberInput input:focus { | |
box-shadow: inset 7px 7px 12px #D1D9E6, inset -7px -7px 12px #FFFFFF !important; | |
outline: none !important; | |
} | |
/* Estilo para o botão dentro do formulário */ | |
form .stButton button { | |
width: 100% ; | |
margin-top: 15px ; | |
} |