Abschläge als Meilensteine, Zoom an der Zeitskala, Liquidität übersichtlicher (0.4.0)
- POST /api/projekte/:id/zahlungsplan schlägt 30/40/20/10 vor; geplante Raten mit Vorgang wandern mit dessen Ende - Terminplan: €-Meilensteine je Projekt, Zoom per Regler und Ziehen an der Zeitskala - Liquidität: Kennzahlen, Kontostandverlauf, Zahlungen je Zeitraum mit Fälligkeitsdatum 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:
@@ -4,7 +4,7 @@
|
||||
:root {
|
||||
--marke: #451e0c; --holz: #a26e3a;
|
||||
--leiste: #13294a; --leiste-text: #b9c7da; --leiste-aktiv: #234a7c;
|
||||
--bg: #f2f4f8; --fl: #ffffff; --text: #18202c; --leise: #5f6b7a; --linie: #e0e5ec;
|
||||
--ein: #2f6b5a; --bg: #f2f4f8; --fl: #ffffff; --text: #18202c; --leise: #5f6b7a; --linie: #e0e5ec;
|
||||
--akzent: #1d5fa8; --akzent-hover: #174d89; --akzent-text: #ffffff; --akzent-hell: #e4eefa;
|
||||
--warn: #b42318; --warnung-bg: #fdecea; --warnung-text: #7a1c14; --warnung-linie: #f5c2bd;
|
||||
font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px;
|
||||
@@ -13,14 +13,14 @@
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme="light"]) {
|
||||
--leiste: #0d1a2e; --leiste-aktiv: #1d3a62;
|
||||
--bg: #111822; --fl: #1a2331; --text: #e8edf4; --leise: #9aa7b8; --linie: #2b3747;
|
||||
--ein: #7fd0b2; --bg: #111822; --fl: #1a2331; --text: #e8edf4; --leise: #9aa7b8; --linie: #2b3747;
|
||||
--akzent: #5a9be0; --akzent-hover: #78b0ea; --akzent-text: #0d1a2e; --akzent-hell: #1d3352; --warn: #f97066;
|
||||
--warnung-bg: #3a1714; --warnung-text: #f9c9c3; --warnung-linie: #6b2620; color-scheme: dark;
|
||||
}
|
||||
}
|
||||
:root[data-theme="dark"] {
|
||||
--leiste: #0d1a2e; --leiste-aktiv: #1d3a62;
|
||||
--bg: #111822; --fl: #1a2331; --text: #e8edf4; --leise: #9aa7b8; --linie: #2b3747;
|
||||
--ein: #7fd0b2; --bg: #111822; --fl: #1a2331; --text: #e8edf4; --leise: #9aa7b8; --linie: #2b3747;
|
||||
--akzent: #5a9be0; --akzent-hover: #78b0ea; --akzent-text: #0d1a2e; --akzent-hell: #1d3352; --warn: #f97066;
|
||||
--warnung-bg: #3a1714; --warnung-text: #f9c9c3; --warnung-linie: #6b2620; color-scheme: dark;
|
||||
}
|
||||
@@ -285,3 +285,49 @@ dl.werte dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums;
|
||||
.g-links, .gantt.schmal .g-links { grid-template-columns: 22px 1fr 24px 24px; }
|
||||
.g-links > :nth-child(1), .g-links > :nth-child(4), .g-links > :nth-child(5), .g-links > :nth-child(6), .g-links > :nth-child(7), .g-links > :nth-child(8) { display: none; }
|
||||
}
|
||||
|
||||
/* Zoom an der Zeitskala und Abschläge als Meilensteine (Henning, 20.10.2026) */
|
||||
.g-zoom { display: inline-flex; align-items: center; gap: 4px; }
|
||||
.g-zoom button { min-width: 32px; padding-inline: 8px; }
|
||||
.g-zoom input[type="range"] { width: 120px; accent-color: var(--akzent); }
|
||||
.g-zeit { cursor: ew-resize; touch-action: none; user-select: none; }
|
||||
.zahlung-ms { position: absolute; top: 7px; width: 20px; height: 20px; pointer-events: auto; cursor: pointer; z-index: 2;
|
||||
clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); display: grid; place-items: center; font-size: 11px; font-weight: 700;
|
||||
background: color-mix(in srgb, var(--farbe) 30%, var(--fl)); color: var(--farbe); }
|
||||
.zahlung-ms.gestellt { background: color-mix(in srgb, var(--farbe) 55%, var(--fl)); color: #fff; }
|
||||
.zahlung-ms.bezahlt { background: var(--farbe); color: #fff; }
|
||||
.g-links .g-raten { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0; text-align: left; font-weight: 400; }
|
||||
.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); }
|
||||
.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); }
|
||||
.liqui-tabelle tr.periode.offen td { border-bottom-color: transparent; background: var(--akzent-hell); }
|
||||
.liqui-tabelle tr.details > td { padding: 0 0 12px 22px; background: var(--akzent-hell); }
|
||||
.posten-tabelle { width: 100%; background: var(--fl); border-radius: 8px; }
|
||||
.posten-tabelle th, .posten-tabelle td { font-size: 13px; padding: 6px 10px; }
|
||||
.posten-tabelle td.aus { color: var(--text); }
|
||||
.posten-tabelle td.ein { color: var(--ein); font-weight: 600; }
|
||||
.posten-tabelle tr.vorbei td { color: var(--leise); }
|
||||
@media (max-width: 800px) {
|
||||
.liqui-tabelle th, .liqui-tabelle td { padding-inline: 6px; font-size: 13px; }
|
||||
.liqui-tabelle .periode td:first-child { white-space: normal; }
|
||||
.liqui-tabelle .periode small { display: block; }
|
||||
.liqui-tabelle tr.details > td { padding-left: 6px; }
|
||||
.liqui-tabelle td.zahl { white-space: normal; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user