271 lines
8.1 KiB
CSS
271 lines
8.1 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
.filtros-container select,
|
|
.filtros-container input {
|
|
padding: 0.5rem;
|
|
border-radius: 5px;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
.btn-buscar {
|
|
padding: 0.5rem 1rem;
|
|
margin-right: 0.5rem;
|
|
border: none;
|
|
border-radius: 5px;
|
|
background-color: #f0f0f0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.unidade-selecionarprofissional {
|
|
background-color: #ffffff;
|
|
padding: 20px 20px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.busca-atendimento {
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin: 0;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.busca-atendimento input {
|
|
border: 2px solid #000000;
|
|
border-radius: 8px;
|
|
padding: 10px 15px;
|
|
width: 100%;
|
|
font-size: 1rem;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.container-btns-agenda-fila_esepera {
|
|
margin-top: 20px;
|
|
margin-left: 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 0;
|
|
border-bottom: 2px solid #E2E8F0;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.btn-fila-espera, .btn-agenda {
|
|
background-color: transparent;
|
|
border: 0;
|
|
border-bottom: 2px solid transparent;
|
|
padding: 12px 24px;
|
|
border-radius: 0;
|
|
font-weight: 600;
|
|
color: #718096;
|
|
cursor: pointer;
|
|
margin-bottom: -2px;
|
|
transition: color 0.2s, border-color 0.2s;
|
|
}
|
|
|
|
.btn-fila-espera:hover, .btn-agenda:hover {
|
|
color: #2B6CB0;
|
|
}
|
|
|
|
.opc-filaespera-ativo, .opc-agenda-ativo {
|
|
color: #4299E1;
|
|
background-color: transparent;
|
|
border-bottom: 2px solid #4299E1;
|
|
}
|
|
|
|
.input-e-dropdown-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.dropdown-medicos {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
background-color: #ffffff;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
border-top: none;
|
|
max-height: 250px;
|
|
overflow-y: auto;
|
|
}
|
|
.dropdown-item { padding: 10px 15px; cursor: pointer; }
|
|
.dropdown-item:hover { background-color: #f0f0f0; }
|
|
|
|
.calendar-wrapper {
|
|
display: flex;
|
|
gap: 24px;
|
|
background-color: #fff;
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
|
font-family: 'Inter', sans-serif;
|
|
margin-top: 20px;
|
|
}
|
|
.calendar-info-panel { flex: 0 0 300px; border-right: 1px solid #E2E8F0; padding-right: 24px; display: flex; flex-direction: column; }
|
|
.info-date-display { background-color: #EDF2F7; border-radius: 8px; padding: 12px; text-align: center; margin-bottom: 16px; }
|
|
.info-date-display span { font-weight: 600; color: #718096; text-transform: uppercase; font-size: 0.9rem; }
|
|
.info-date-display strong { display: block; font-size: 2.5rem; font-weight: 700; color: #2D3748; }
|
|
.info-details { text-align: center; margin-bottom: 24px; }
|
|
.info-details h3 { font-size: 1.25rem; font-weight: 600; color: #2D3748; margin: 0; text-transform: capitalize; }
|
|
.info-details p { color: #718096; margin: 0; }
|
|
.appointments-list { flex-grow: 1; overflow-y: auto; }
|
|
.appointments-list h4 { font-size: 1rem; font-weight: 600; color: #4A5568; margin-bottom: 12px; position: sticky; top: 0; background-color: #fff; padding-bottom: 8px; }
|
|
.appointment-item { display: flex; gap: 12px; padding: 10px; border-radius: 6px; border-left: 4px solid; margin-bottom: 8px; background-color: #F7FAFC; }
|
|
.item-time { font-weight: 600; color: #2B6CB0; }
|
|
.item-details { display: flex; flex-direction: column; }
|
|
.item-details span { font-weight: 500; color: #2D3748; }
|
|
.item-details small { color: #718096; }
|
|
.no-appointments-info { text-align: center; padding: 20px; color: #A0AEC0; }
|
|
.appointment-item[data-status="confirmed"] { border-color: #4299E1; }
|
|
.appointment-item[data-status="completed"] { border-color: #48BB78; }
|
|
.appointment-item[data-status="cancelled"] { border-color: #F56565; }
|
|
.appointment-item[data-status="agendado"],
|
|
.appointment-item[data-status="requested"] { border-color: #ED8936; }
|
|
.calendar-main { flex-grow: 1; }
|
|
.calendar-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
|
|
.date-indicator h2 { font-size: 1.5rem; font-weight: 600; color: #2D3748; margin: 0; text-transform: capitalize; }
|
|
.nav-buttons { display: flex; gap: 8px; }
|
|
.nav-buttons button { padding: 8px 12px; border-radius: 6px; border: 1px solid #CBD5E0; background-color: #fff; font-weight: 600; cursor: pointer; transition: all 0.2s; }
|
|
.nav-buttons button:hover { background-color: #EDF2F7; }
|
|
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
|
|
.day-header { font-weight: 600; color: #718096; text-align: center; padding: 8px 0; font-size: 0.875rem; }
|
|
.day-cell { min-height: 110px; border-radius: 8px; border: 1px solid #E2E8F0; padding: 8px; transition: background-color 0.2s, border-color 0.2s; cursor: pointer; position: relative; }
|
|
.day-cell span { font-weight: 600; color: #4A5568; }
|
|
.day-cell:hover { background-color: #EDF2F7; border-color: #BEE3F8; }
|
|
.day-cell.other-month { background-color: #F7FAFC; }
|
|
.day-cell.other-month span { color: #A0AEC0; }
|
|
.day-cell.today span { background-color: #4299E1; color: #fff; border-radius: 50%; padding: 2px 6px; display: inline-block; }
|
|
.day-cell.selected { background-color: #BEE3F8; border-color: #4299E1; }
|
|
.appointments-indicator { background-color: #4299E1; color: white; font-size: 0.7rem; font-weight: bold; border-radius: 50%; width: 18px; height: 18px; display: flex; justify-content: center; align-items: center; position: absolute; bottom: 8px; right: 8px; }
|
|
|
|
.calendar-legend {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.legend-item {
|
|
padding: 6px 12px;
|
|
border-radius: 6px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.legend-item[data-status="completed"] {
|
|
background-color: #C6F6D5;
|
|
border: 1px solid #9AE6B4;
|
|
color: #2F855A;
|
|
}
|
|
.legend-item[data-status="confirmed"] {
|
|
background-color: #EBF8FF;
|
|
border: 1px solid #BEE3F8;
|
|
color: #3182CE;
|
|
}
|
|
.legend-item[data-status="agendado"] {
|
|
background-color: #FEFCBF;
|
|
border: 1px solid #F6E05E;
|
|
color: #B7791F;
|
|
}
|
|
.legend-item[data-status="cancelled"] {
|
|
background-color: #FED7D7;
|
|
border: 1px solid #FEB2B2;
|
|
color: #C53030;
|
|
}
|
|
|
|
|
|
.appointment-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.item-details {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.appointment-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn-action {
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.btn-action.btn-edit {
|
|
background-color: #FEFCBF;
|
|
color: #B7791F;
|
|
}
|
|
.btn-action.btn-edit:hover {
|
|
background-color: #F6E05E;
|
|
}
|
|
|
|
.btn-action.btn-delete {
|
|
background-color: #E53E3E;
|
|
color: #fff;
|
|
}
|
|
.btn-action.btn-delete:hover {
|
|
background-color: #C53030;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.unidade-selecionarprofissional { flex-direction: column; align-items: stretch; gap: 12px; }
|
|
.calendar-wrapper { flex-direction: column; padding: 16px; }
|
|
.calendar-info-panel { flex: 0 0 auto; border-right: none; border-bottom: 1px solid #E2E8F0; padding-right: 0; padding-bottom: 16px; }
|
|
.calendar-grid { grid-template-columns: repeat(4, 1fr); }
|
|
.calendar-controls { flex-direction: column; align-items: flex-start; gap: 8px; }
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.calendar-grid { grid-template-columns: repeat(2, 1fr); }
|
|
.date-indicator h2 { font-size: 1.25rem; }
|
|
.legend-item { font-size: 0.75rem; padding: 4px 8px; }
|
|
.appointment-item { flex-direction: column; align-items: stretch; gap: 8px; }
|
|
.appointment-actions { width: 100%; }
|
|
.btn-action { width: 100%; }
|
|
}
|
|
.btn-adicionar-consulta {
|
|
background-color: #2a67e2;
|
|
color: #fff;
|
|
padding: 10px 24px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
.btn-adicionar-consulta:hover {
|
|
background-color: #1d4ed8;
|
|
}
|
|
.btn-adicionar-consulta i {
|
|
font-size: 1.2em;
|
|
vertical-align: middle;
|
|
}
|
|
.btn-adicionar-consulta i {
|
|
font-size: 1.2em;
|
|
vertical-align: middle;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|