Cosmetic pass: legends above plots, readable hovers and ticks, KPI qualifiers, a header that never wraps

This commit is contained in:
Roberto Treviño
2026-11-29 12:39:07 -06:00
parent 979b7cf34d
commit a93cd71126
8 changed files with 116 additions and 13 deletions
+38 -1
View File
@@ -21,10 +21,22 @@
.title {
flex: 1;
min-width: 0; // gives way to the switcher and the sections, on one line
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 1.25rem;
font-weight: 500;
}
// Nothing in the header wraps or shrinks: the title gives way first, then hides.
.domain,
.sections a,
.user {
flex-shrink: 0;
white-space: nowrap;
}
.domain {
--mat-button-filled-container-color: var(--color-primary);
--mat-button-filled-label-text-color: var(--color-text);
@@ -67,10 +79,35 @@
width: clamp(155px, 15vw, 185px);
}
@media (max-width: 720px) {
@media (max-width: 1100px) {
.title {
display: none;
}
.header {
justify-content: space-between;
gap: var(--space-3);
}
.sections {
gap: var(--space-3);
}
// the account by its icon alone; the switcher's name cut short if it must be
.user .who-name {
display: none;
}
.domain {
max-width: 15rem;
}
.domain ::ng-deep .mdc-button__label {
overflow: hidden;
text-overflow: ellipsis;
}
}
@media (max-width: 720px) {
.header {
flex-wrap: wrap;
padding-block: var(--space-2);
}
}
.user {