Files
WebApp/src/app/indicadores/tab-indicadores.scss
T
Angel Capetillo Zavala 31400c77b1 CaCu indicators: HPV genotype, biopsy results, diagnosis timing by ICD-10 and referral PPV cards
The HPV genotype and biopsy distributions, the biopsy request confirmation and the
timing by ICD-10 code are placed beside cytology. The referral PPV cards are titled as
registered procedures and say that a colposcopy may be inferred from notes and that the
preceding cytology is a date association, not a confirmed referral. The new strata and
their values have Spanish labels.
2026-11-27 18:42:41 -06:00

135 lines
3.5 KiB
SCSS

:host {
display: block;
padding-top: var(--space-4);
}
.filters {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: var(--space-4);
margin-bottom: var(--space-4);
}
.field {
display: flex;
flex-direction: column;
gap: var(--space-1);
}
.label {
color: var(--color-text-secondary);
font-size: 12px;
}
h2 {
font-size: 1.15rem;
font-weight: 500;
margin: var(--space-6) 0 var(--space-3);
}
.kpis {
display: grid;
gap: var(--space-3);
grid-template-columns: 1fr;
}
@media (min-width: 600px) {
.kpis {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1000px) {
.kpis {
grid-template-columns: repeat(3, 1fr);
}
}
@media (min-width: 1350px) {
.kpis {
grid-template-columns: repeat(5, 1fr);
}
}
.kpi-title {
font-weight: 500;
min-height: 2.6em;
}
.kpi-value {
font-size: 2rem;
font-weight: 500;
margin: var(--space-2) 0;
}
.kpi-detail {
font-size: 13px;
}
.route {
margin-top: var(--space-4);
}
.route mat-card-header {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: var(--space-3);
justify-content: space-between;
}
.route-toggle { flex-wrap: wrap; max-width: 100%; }
.route-values summary { color: var(--color-text-secondary); cursor: pointer; padding: var(--space-2) 0; }
.route-values summary:focus-visible { outline: 2px solid var(--color-action); outline-offset: 2px; }
.route-table td { font-variant-numeric: tabular-nums; }
.route-table th:first-child { width: 70%; }
.duration-track { position: relative; }
.duration-track .bar { background: #42a77e; }
.quartile { position: absolute; top: -3px; width: 2px; height: 14px; background: #17324d; }
.confirmation-cards { display: grid; grid-template-columns: 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
.confirmation-cards { align-items: start; }
.confirmation-cards p { margin: var(--space-2) 0; }
@media (min-width: 850px) { .confirmation-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.clinical {
display: grid;
gap: var(--space-4);
grid-template-columns: 1fr;
align-items: start;
}
.results-card { margin-bottom: var(--space-4); }
.results-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
.results-grid section { min-width: 0; }
.results-grid h3 { font-size: 1rem; font-weight: 500; margin: var(--space-3) 0; }
.results-grid p { font-size: 13px; margin: var(--space-2) 0; }
.distribution { border-collapse: collapse; width: 100%; font-size: 13px; }
.distribution th { font-weight: 500; text-align: left; }
.distribution td, .distribution thead th:not(:first-child) { text-align: right; white-space: nowrap; padding-left: 12px; }
.distribution tbody th { padding: 5px 0; }
.distribution .group th { background: #edf2f4; padding: 6px 8px; font-weight: 600; }
.bar-track { display: block; height: 8px; background: #eef1f3; margin-top: 3px; }
.bar { display: block; height: 100%; }
.results-grid .distribution tbody th:has(.distribution-label) { display: flex; align-items: center; gap: 10px; }
.results-grid .distribution-label { flex: 0 1 45%; min-width: 0; }
.results-grid .bar-track { flex: 1; min-width: 40px; height: 16px; margin: 0; }
.results-grid .distribution td { padding-left: 8px; }
@media (min-width: 850px) {
.results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.biopsy { grid-column: 1 / -1; }
}
@media (min-width: 1304px) {
.clinical {
grid-template-columns: repeat(2, 1fr);
}
}
.figure-title {
color: var(--color-text-secondary);
font-size: 14px;
font-weight: 500;
margin: var(--space-3) 0 0;
}