Files
WebApp/src/app/features/indicadores/paciente-detalle/paciente-detalle.scss
T
Roberto Treviño Cervantes e6e6fb7210 preliminary release
2026-10-29 12:12:15 -06:00

37 lines
2.7 KiB
SCSS

:host { display: block; min-width: 0; color: var(--issste-text); overflow-wrap: anywhere; }
header { margin-block: 1.5rem; }
h2 { margin-block: .5rem 1rem; font-size: 1.65rem; }
h3 { margin-block: 0 1rem; font-size: 1.2rem; }
h4 { font: inherit; font-weight: 600; }
.back-button { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding-inline: .65rem; }
.back-button mat-icon { width: 1.15rem; height: 1.15rem; font-size: 1.15rem; }
.availability { margin-block: .75rem; color: var(--issste-text-secondary); }
.pending-changes { margin-block: .75rem; color: var(--issste-text-secondary); font-size: .9rem; }
.summary { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; }
dt { color: var(--issste-text-secondary); font-size: .9rem; }
dd { margin: .4rem 0 0; font-weight: 600; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "history tests" "risks risks"; gap: 1rem; align-items: start; }
mat-card { min-width: 0; background: var(--issste-surface); color: inherit; border-color: var(--issste-border); }
.history-card { grid-area: history; }
.tests-card { grid-area: tests; }
.risks-card { grid-area: risks; }
.history-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.history-table-scroll { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; margin-top: .75rem; border: 1px solid var(--issste-border); border-radius: .5rem; }
.history-table-scroll:focus-visible { outline: 2px solid var(--issste-accent); outline-offset: 2px; }
.history-table { width: 100%; min-width: 26rem; border-collapse: separate; border-spacing: 0; text-align: start; }
.history-table th, .history-table td { padding: .7rem .75rem; vertical-align: top; border-bottom: 1px solid var(--issste-border); }
.history-table thead th { color: var(--issste-text-secondary); font-size: .9rem; font-weight: 600; }
.history-table thead th:last-child, .history-table td:last-child { width: 9rem; white-space: nowrap; }
.history-table .section-row th { text-align: start; background: color-mix(in srgb, var(--issste-surface), var(--issste-border) 24%); font-weight: 600; }
.history-table .empty-row { color: var(--issste-text-secondary); font-size: .9rem; }
.record-detail { display: block; margin-top: .35rem; color: var(--issste-text-secondary); font-size: .9rem; }
.risks-card mat-card-content { min-width: 0; }
ul { list-style: none; padding: 0; }
li { padding-block: .75rem; border-top: 1px solid var(--issste-border); }
li span { display: block; margin-top: .4rem; }
button { min-height: 44px; color: var(--issste-text); border-color: var(--issste-border); }
@media (max-width: 48rem) {
.detail-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "history" "tests" "risks"; }
.history-table { min-width: 22rem; }
}