2025-09-19 11:24:07 -03:00

83 lines
1.7 KiB
CSS

.tabelasemanal {
width: 100%;
border-collapse: collapse;
margin: 2rem 0;
border-radius: 10px;
overflow: hidden; /* mantém o arredondado */
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border: 4px solid #4a90e2; /* borda azul, altere para a cor desejada */
}
/* Células da tabela */
.tabelasemanal th, .tabelasemanal td {
padding: 9px;
text-align: left;
border: 1px solid #e0e0e0;
}
/* Cabeçalho da semanal */
.tabelasemanal thead th,
.tabelasemanal thead td,
.tabelasemanal tr:first-child th,
.tabelasemanal tr:first-child td {
background-color: #0078d7 !important;
color: #ffffff !important;
font-weight: 600;
text-align: center;
border-bottom: 2px solid #005a9e;
}
/* Remover bordas laterais do cabeçalho (se quiser) */
.tabelasemanal thead th:first-child {
border-left: none;
}
.tabelasemanal thead th:last-child {
border-right: none;
}
/* Linhas pares do corpo */
.tabelasemanal tbody tr:nth-child(even) {
background-color: #e7e7e7a6;
}
/* Hover nas linhas */
.tabelasemanal tbody tr:hover {
background-color: #f1f1f1;
}
/* Card dentro da tabela */
.tabelasemanal .cardconsulta {
border-radius: 10px;
color: black;
height: 80px;
width: 100%;
padding: 12px;
}
/* Ajuste para a classe .diadia, se for usada */
.diadia {
margin-top: 20px;
border-collapse: collapse;
width: 100%;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 12px rgb(255, 255, 255);
border: 10px solid #ffffffc5;
background-color: rgb(253, 253, 253);
}
.tabelasemanal tr:nth-child(even) {
background-color: #e7e7e7a6 !important;
margin-left: 10px !important;
}
.tabelasemanal tr:nth-child(odd) {
background-color: #ffffff !important;
}
.tabelasemanal tr:hover {
background-color: #f1f1f1 !important;
}