340 lines
5.9 KiB
CSS
340 lines
5.9 KiB
CSS
.table-paciente-container {
|
|
line-height: 2.5;
|
|
}
|
|
|
|
.table-paciente-card {
|
|
border: none;
|
|
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
|
|
}
|
|
|
|
.table-paciente-card .card-header {
|
|
background-color: #f8f9fa;
|
|
border-bottom: 1px solid #dee2e6;
|
|
padding: 1rem 1.25rem;
|
|
}
|
|
|
|
.table-paciente-filters {
|
|
background-color: #f8f9fa;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 0.375rem;
|
|
}
|
|
|
|
.table-paciente-filters h5 {
|
|
color: #495057;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.table-paciente-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.table-paciente-table th {
|
|
background-color: #f8f9fa;
|
|
color: #495057;
|
|
font-weight: 600;
|
|
padding: 15px 8px;
|
|
border-bottom: 2px solid #dee2e6;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.table-paciente-table td {
|
|
padding: 15px 8px;
|
|
vertical-align: middle;
|
|
border-bottom: 1px solid #dee2e6;
|
|
}
|
|
|
|
.table-paciente-table tbody tr:hover {
|
|
background-color: rgba(0, 0, 0, 0.025);
|
|
}
|
|
|
|
.insurance-badge {
|
|
background-color: #6c757d !important;
|
|
color: white !important;
|
|
padding: 0.35em 0.65em;
|
|
font-size: 0.75em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.vip-badge {
|
|
background-color: #1e3a8a !important;
|
|
color: white !important;
|
|
padding: 0.35em 0.65em;
|
|
font-size: 0.75em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.results-badge {
|
|
background-color: #1e3a8a;
|
|
color: white;
|
|
padding: 0.5em 0.75em;
|
|
font-size: 0.875em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.anniversary-badge {
|
|
background-color: #ffc107;
|
|
color: #000;
|
|
padding: 0.35em 0.65em;
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
.btn-view {
|
|
background-color: #E6F2FF !important;
|
|
color: #004085 !important;
|
|
border: 1px solid #B8D4F0;
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.btn-view:hover {
|
|
background-color: #D1E7FF !important;
|
|
border-color: #9EC5FE;
|
|
}
|
|
|
|
.btn-edit {
|
|
background-color: #FFF3CD !important;
|
|
color: #856404 !important;
|
|
border: 1px solid #FFEAA7;
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.btn-edit:hover {
|
|
background-color: #FFEEBA !important;
|
|
border-color: #FFE087;
|
|
}
|
|
|
|
.btn-delete {
|
|
background-color: #F8D7DA !important;
|
|
color: #721C24 !important;
|
|
border: 1px solid #F5C6CB;
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
background-color: #F1B0B7 !important;
|
|
border-color: #ED969E;
|
|
}
|
|
|
|
.advanced-filters {
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 0.375rem;
|
|
background-color: white;
|
|
}
|
|
|
|
.advanced-filters h6 {
|
|
color: #495057;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.form-label.fw-bold {
|
|
color: #495057;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.delete-modal .modal-header {
|
|
background-color: rgba(220, 53, 69, 0.1);
|
|
border-bottom: 1px solid rgba(220, 53, 69, 0.2);
|
|
}
|
|
|
|
.delete-modal .modal-title {
|
|
color: #dc3545;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.empty-state {
|
|
padding: 2rem;
|
|
text-align: center;
|
|
color: #6c757d;
|
|
}
|
|
|
|
.empty-state td {
|
|
border-bottom: none;
|
|
padding: 2rem !important;
|
|
}
|
|
|
|
.filters-active .badge {
|
|
font-size: 0.75em;
|
|
padding: 0.4em 0.65em;
|
|
}
|
|
|
|
.table-paciente-table tbody tr {
|
|
transition: background-color 0.15s ease-in-out;
|
|
}
|
|
|
|
.btn-view,
|
|
.btn-edit,
|
|
.btn-delete {
|
|
transition: all 0.15s ease-in-out;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.table-paciente-table {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.table-paciente-table th,
|
|
.table-paciente-table td {
|
|
padding: 10px 6px;
|
|
}
|
|
|
|
.btn-view,
|
|
.btn-edit,
|
|
.btn-delete {
|
|
padding: 0.25rem 0.5rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.table-paciente-filters .d-flex {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.table-paciente-filters .form-select {
|
|
min-width: 100% !important;
|
|
}
|
|
|
|
.patient-name-container {
|
|
flex-direction: column;
|
|
align-items: flex-start !important;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.patient-badges {
|
|
margin-left: 0 !important;
|
|
}
|
|
}
|
|
|
|
.compact-select {
|
|
font-size: 1.0rem;
|
|
padding: 0.45rem 0.5rem;
|
|
}
|
|
|
|
.compact-select option {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.table-paciente-filters .btn-sm {
|
|
font-size: 0.8rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.table-paciente-filters .d-flex {
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* ===== ESTILOS PARA PAGINAÇÃO ===== */
|
|
|
|
.contador-pacientes {
|
|
background-color: #1e3a8a;
|
|
color: white;
|
|
padding: 0.5em 0.75em;
|
|
font-size: 0.875em;
|
|
font-weight: 500;
|
|
border-radius: 0.375rem;
|
|
text-align: center;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Estilos para a paginação */
|
|
.pagination {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.page-link {
|
|
color: #495057;
|
|
border: 1px solid #dee2e6;
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.page-link:hover {
|
|
color: #1e3a8a;
|
|
background-color: #e9ecef;
|
|
border-color: #dee2e6;
|
|
}
|
|
|
|
.page-item.active .page-link {
|
|
background-color: #1e3a8a;
|
|
border-color: #1e3a8a;
|
|
color: white;
|
|
}
|
|
|
|
.page-item.disabled .page-link {
|
|
color: #6c757d;
|
|
background-color: #f8f9fa;
|
|
border-color: #dee2e6;
|
|
}
|
|
|
|
/* Ajustes para a seção de paginação */
|
|
.d-flex.justify-content-between.align-items-center {
|
|
border-top: 1px solid #dee2e6;
|
|
padding-top: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* Estilos para empty state */
|
|
.text-center.py-4 .text-muted {
|
|
padding: 2rem;
|
|
}
|
|
|
|
.text-center.py-4 .bi-search {
|
|
font-size: 3rem;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.text-center.py-4 p {
|
|
margin-bottom: 0.5rem;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.text-center.py-4 td {
|
|
border-bottom: none;
|
|
padding: 2rem !important;
|
|
}
|
|
|
|
/* Responsividade para paginação */
|
|
@media (max-width: 768px) {
|
|
.d-flex.justify-content-between.align-items-center {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
align-items: stretch !important;
|
|
}
|
|
|
|
.d-flex.justify-content-between.align-items-center > div {
|
|
justify-content: center !important;
|
|
}
|
|
|
|
.pagination {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.me-3.text-muted {
|
|
text-align: center;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.contador-pacientes {
|
|
font-size: 0.8rem;
|
|
padding: 0.4em 0.6em;
|
|
}
|
|
}
|
|
|
|
/* Ajuste para o select de itens por página */
|
|
.form-select.form-select-sm.w-auto {
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 0.375rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* Melhorar a aparência dos badges de filtros ativos */
|
|
.filters-active .badge {
|
|
font-size: 0.75em;
|
|
padding: 0.4em 0.65em;
|
|
margin-bottom: 0.25rem;
|
|
} |