Web: "Ablauf-Anteile" – "Ohne MHD" ein-/ausblendbar

Die Ablauf-Ring-Karte bekommt einen Umschalter, ob der Anteil "Ohne MHD"
(Gegenstaende/undatierte Chargen) mitgezaehlt wird. Aus zeigt der Ring nur
In Ordnung/Bald/Abgelaufen mit entsprechend neu berechneten Prozenten. Die Wahl
wird in localStorage gemerkt.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Scarriffle
2026-07-26 21:46:18 +02:00
parent 3453471716
commit d993a48711
2 changed files with 24 additions and 2 deletions

View File

@@ -674,6 +674,9 @@ select.zeitraum:hover { color: var(--text); }
gap: var(--sp-4); flex-wrap: wrap;
flex: 1; min-height: 0;
}
/* Ablauf-Ring mit „Ohne MHD"-Umschalter darueber; der Ring fuellt den Rest. */
.ring-mit-schalter { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.ring-schalter { flex: 0 0 auto; justify-content: flex-end; margin: 0 0 4px; font-size: 0.78rem; color: var(--muted); }
.donut-svg { width: 160px; height: 160px; flex: 0 0 auto; }
.donut-svg circle { transition: stroke-width 120ms ease; cursor: default; }
.donut-value { font-size: 20px; font-weight: 680; fill: var(--text); }