style: institutional look, square corners and sober headings
How: --issste-radius is 4px instead of Material's medium corner (12px), and the Material shape tokens are overridden after mat.theme (corner-full 4px, so buttons stop being pills; medium and large 4px; extra-large 6px). The indicators feature's 999px pills (legend buttons, EEG badges) use the shared radius. Headings use Roboto at weight 500 instead of Rajdhani at 700, a step smaller: page title 1.75rem, section titles 1.25rem, card titles 1.125rem, KPI titles 1rem and KPI values 1.75rem; the header title is 1.25rem. Implications: the corner tokens are global, so Conectar and Gobernanza (dialogs, panels, buttons) also get square corners; their own 999px chips are unchanged. Circles drawn with 50% (dots, swatches) stay round. Rajdhani is no longer used anywhere, so it can be dropped from the font assets. No behaviour changes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
:host { display: block; min-width: 0; padding: var(--issste-space-4); overflow-wrap: anywhere;
|
||||
background: var(--issste-surface); color: var(--issste-text); border: 1px solid var(--issste-border); border-radius: var(--issste-radius); }
|
||||
h2 { font-size: 1.5rem; margin-top: 0; }
|
||||
h2 { font-size: 1.25rem; font-weight: 500; margin-top: 0; }
|
||||
p { color: var(--issste-text-secondary); }
|
||||
form { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin-bottom: 1rem; }
|
||||
label { display: flex; flex-direction: column; gap: .5rem; max-width: 100%; }
|
||||
@@ -31,7 +31,7 @@ tbody tr[data-paciente]:hover { background-color: color-mix(in srgb, var(--issst
|
||||
tbody tr[data-paciente]:focus-within { outline: 2px solid var(--issste-accent); outline-offset: -2px; }
|
||||
.patient-link { min-height: 44px; padding: .35rem .5rem; border: 0; border-radius: var(--issste-radius); background: transparent; color: var(--issste-accent); font: inherit; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
|
||||
.patient-link:focus-visible { outline: 2px solid var(--issste-accent); outline-offset: 2px; }
|
||||
.eeg { display: inline-block; padding: .15rem .6rem; border-radius: 999px; border: 1px solid var(--issste-border); font-weight: 600; }
|
||||
.eeg { display: inline-block; padding: .15rem .6rem; border-radius: var(--issste-radius); border: 1px solid var(--issste-border); font-weight: 600; }
|
||||
.eeg-anormal { border-color: var(--issste-accent); color: var(--issste-accent); }
|
||||
tbody tr.tea-row { cursor: pointer; transition: background-color 120ms ease; }
|
||||
tbody tr.tea-row:hover, tbody tr.tea-row.abierta { background-color: color-mix(in srgb, var(--issste-accent) 7%, transparent); }
|
||||
|
||||
Reference in New Issue
Block a user