0.20.0: Liquidität mit Lage, Kurve, Kommt rein / Geht raus und Mindestgrenze per Zahnrad

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-10-21 16:46:54 +00:00
parent feb19241c5
commit 176b1db832
13 changed files with 562 additions and 126 deletions

View File

@@ -338,20 +338,91 @@ dl.werte dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums;
.vorschlag { display: grid; gap: 10px; justify-items: start; padding: 4px 0 8px; }
.vorschlag p { margin: 0; max-width: 65ch; color: var(--leise); }
/* Liquidität: Kennzahlen, Verlauf, Zahlungen je Zeitraum mit Datum (Henning, 20.10.2026) */
.liqui-kacheln { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.liqui-zahl .gross { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.liqui-zahl .gross small { color: var(--leise); font-weight: 400; }
.liqui-verlauf { margin-bottom: 16px; }
.liqui-verlauf h2 { font-size: 14px; margin: 0 0 8px; color: var(--leise); font-weight: 600; }
.saeulen { display: flex; gap: 6px; height: 170px; align-items: stretch; }
.saeule { flex: 1; min-width: 0; display: grid; grid-template-rows: 1fr auto; gap: 4px; }
.saeule .flaeche { position: relative; border-bottom: 0; background: linear-gradient(var(--leise), var(--leise)) 0 var(--null) / 100% 1px no-repeat; }
.saeule i { position: absolute; left: 12%; right: 12%; border-radius: 3px; }
.saeule i.plus { bottom: calc(100% - var(--null)); background: var(--akzent); opacity: 0.8; }
.saeule i.minus { top: var(--null); background: var(--warn); opacity: 0.85; }
.saeule small { text-align: center; font-size: 11px; color: var(--leise); white-space: nowrap; overflow: hidden; }
.liqui-zahl .ein { color: var(--ein); }
/* Liquidität (Henning, 21.10.2026): Reiter Lage / Monatsplan / Alle Zahlungen, Zeitraum 4 Wochen bis 3 Monate */
.liqui-leiste .hinweis { margin-left: 0; }
.liqui-zeit { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.chip-knopf { padding: 5px 12px; border: 1px solid var(--linie); border-radius: 99px; background: var(--fl); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.chip-knopf.an { background: var(--akzent-hell); border-color: var(--akzent); color: var(--akzent); font-weight: 600; }
.liqui-reiter { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.liqui-seite { display: grid; gap: 14px; }
.liqui-lage { display: grid; grid-template-columns: minmax(200px, auto) 1fr; gap: 10px 28px; align-items: center; border-left: 6px solid var(--gut-text); }
.liqui-lage.gelb { border-left-color: var(--eingabe-linie); }
.liqui-lage.rot { border-left-color: var(--warn); }
.karte .karte.liqui-lage { border-top: 0; border-right: 0; border-bottom: 0; border-radius: 0; padding: 4px 0 4px 14px; margin-bottom: 12px; }
.liqui-frei { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.liqui-frei .gross { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.liqui-frei .hinweis { font-size: 13px; }
.liqui-satz { min-width: 0; }
.liqui-satz p { margin: 6px 0 0; font-size: 15px; text-wrap: pretty; }
.liqui-satz p.hinweis { font-size: 14px; }
.ampel-chip { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--gut-bg); color: var(--gut-text); }
.ampel-chip.gelb { background: var(--eingabe-bg); color: var(--eingabe-text); }
.ampel-chip.rot { background: var(--warnung-bg); color: var(--warnung-text); }
.liqui-kurve h2, .liqui-liste h2 { font-size: 15px; margin: 0; }
.liqui-kurve .zahnrad { white-space: nowrap; }
.kurve-huelle { overflow-x: auto; }
.liqui-svg { display: block; width: 100%; height: auto; overflow: visible; }
.liqui-svg .gitter { stroke: var(--linie); stroke-width: 1; vector-effect: non-scaling-stroke; }
.liqui-svg .gitter.null { stroke: var(--leise); }
.liqui-svg text { font-size: 11px; fill: var(--leise); }
.liqui-svg .grenz-flaeche { fill: var(--warnung-bg); opacity: 0.7; }
.liqui-svg .grenze { stroke: var(--warn); stroke-width: 1.5; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.liqui-svg .grenz-text { fill: var(--warn); }
.liqui-svg .stand-flaeche { fill: var(--akzent); opacity: 0.08; }
.liqui-svg .stand-linie { fill: none; stroke: var(--akzent); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.liqui-svg .ein-linie { fill: none; stroke: var(--gut-text); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.liqui-svg .aus-linie { fill: none; stroke: var(--warn); stroke-width: 2; stroke-dasharray: 6 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.liqui-svg .stand-punkt { fill: var(--fl); stroke: var(--akzent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.liqui-svg .stand-punkt.an { fill: var(--akzent); }
.liqui-svg .heute-punkt { fill: var(--akzent); }
.liqui-svg .heute-text { fill: var(--akzent); font-weight: 700; }
.liqui-svg .tief-punkt { fill: var(--fl); stroke: var(--holz); stroke-width: 3; vector-effect: non-scaling-stroke; }
.liqui-svg .tief-text { fill: var(--holz); font-weight: 700; }
.liqui-svg .woche-ziel { fill: transparent; cursor: pointer; }
.liqui-svg .woche-ziel:hover, .liqui-svg .woche-ziel.an { fill: var(--akzent); fill-opacity: 0.07; }
.liqui-svg .woche-ziel:focus-visible { outline: none; fill: var(--akzent); fill-opacity: 0.12; }
.kurve-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--leise); margin-top: 4px; }
.kurve-legende i { display: inline-block; width: 18px; height: 0; border-top: 3px solid; vertical-align: middle; margin-right: 5px; }
.kurve-legende .k-stand { border-color: var(--akzent); }
.kurve-legende .k-ein { border-color: var(--gut-text); }
.kurve-legende .k-aus { border-color: var(--warn); border-top-style: dashed; }
.kurve-legende .k-grenze { border-color: var(--warn); border-top-width: 2px; border-top-style: dotted; }
.liqui-kurve > .hinweis { margin: 4px 0 0; font-size: 12px; }
.liqui-woche { margin-top: 10px; padding: 10px 12px; background: var(--bg); border-radius: 8px; }
.liqui-woche h3 { font-size: 14px; margin: 0; }
.liqui-grenze { display: grid; gap: 8px; padding: 10px 12px; margin-bottom: 8px; background: var(--bg); border-radius: 8px; }
.liqui-grenze .schalter { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.liqui-grenze input[name=betrag] { width: 110px; padding: 6px 8px; border: 1px solid var(--linie); border-radius: 6px; background: var(--fl); color: var(--text); font: inherit; }
.liqui-grenze .knoepfe { display: flex; gap: 8px; justify-content: flex-end; }
.liqui-grenze p { margin: 0; }
.liqui-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.liqui-posten { width: 100%; border-collapse: collapse; margin-top: 6px; table-layout: fixed; }
.liqui-posten td { padding: 7px 4px; border-top: 1px solid var(--linie); font-size: 14px; vertical-align: top; }
.liqui-posten td.datum, .liqui-posten td:first-child { width: 86px; white-space: nowrap; color: var(--leise); }
.liqui-posten td.text { overflow-wrap: break-word; }
.liqui-posten td.zahl { width: 112px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.liqui-posten .ein { color: var(--gut-text); }
.liqui-posten .aus { color: var(--warn); }
.liqui-posten tr.ueber td { background: var(--warnung-bg); }
.liqui-posten tr.ueber td.datum { color: var(--warnung-text); }
.liqui-posten tr.mehr td { border-top: 1px dashed var(--linie); }
.liqui-posten tr.mehr button { text-decoration: none; font-weight: 600; }
.liqui-posten tfoot td { border-top: 2px solid var(--linie); font-weight: 700; }
.tag-ueber { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 4px; background: var(--warnung-bg); color: var(--warn); white-space: nowrap; }
tr.ueber .tag-ueber { background: var(--fl); }
.liqui-plan-kopf { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 10px; }
.liqui-plan-kopf > div { display: flex; gap: 6px; }
@media (max-width: 900px) {
.liqui-lage { grid-template-columns: 1fr; }
.liqui-zwei { grid-template-columns: 1fr; }
.liqui-reiter { margin-left: 0; }
}
@media (max-width: 500px) {
.liqui-posten td.datum, .liqui-posten td:first-child { width: 62px; font-size: 13px; white-space: normal; }
.liqui-posten td.zahl { width: 84px; }
.liqui-posten td { padding-inline: 2px; }
.liqui-frei .gross { font-size: 26px; }
}
.liqui-tabelle td.ein { color: var(--ein); }
.liqui-tabelle .periode td:first-child { white-space: nowrap; }
.liqui-tabelle .pfeil { display: inline-block; width: 14px; color: var(--leise); }