Aufgaben im Wochenbericht, Meilensteine „Erreicht“, Panels als Planblatt

- Wochenbericht: Abschnitt „Aufgaben“ je Projekt (erledigt seit Vorwoche,
  überfällig, nächste zwei Wochen), rote Zahl in der Tagesordnung,
  Tabelle in der PDF-Akte; Klick öffnet das Aufgaben-Panel
- Meilensteine lassen sich als erreicht markieren (plan_milestones.erreicht);
  nur nicht erreichte vergangene gelten als überfällig
- Aufgabe- und Meilenstein-Panel neu aufgebaut: Stand oben, Lage im
  Terminplan, Angaben als Zeilen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
erikandClaude Opus 5.5 committed 2026-11-10 10:41:44 +01:00
1 parent 4ac3d8d53d
commit e12936444d
13 files changed
+693 -137

No files matched your search

+118
View File
@@ -1872,3 +1872,121 @@ button.notizen-link, button.notizen-link:hover { all: unset; cursor: pointer; co
.plan-nav-item { height: 32px; padding: 0 12px; border-bottom: 0; border-radius: 8px; font-weight: 400; display: inline-flex; align-items: center; }
.plan-nav-item:hover { background: var(--surface-sunk); color: var(--text); }
.plan-nav-item.is-active { background: var(--surface-sunk); color: var(--text); font-weight: 500; border-bottom-color: transparent; box-shadow: inset 0 0 0 1px var(--line-soft); }
/* ===========================================================================
Planblatt — Seitenpanels Aufgabe und Meilenstein (Eriks Wahl, unslop,
11/2026). Kopf: Art, Projekt, Stand und die Lage im Terminplan
(lageBildHtml() in plan-modals.js); darunter die Angaben als Zeilen mit
Beschriftung links, wie im Schriftkopf eines Plans. Ersetzt die
Abschnitte .pd-abs. Werte im 4er-Raster, neutraler Schatten.
=========================================================================== */
.modal-bg.als-panel > .modal.pd { box-shadow: -12px 0 32px rgba(16,20,24,.14); }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .modal-bg.als-panel > .modal.pd { box-shadow: -12px 0 32px rgba(0,0,0,.5); } }
html[data-theme="dark"] .modal-bg.als-panel > .modal.pd { box-shadow: -12px 0 32px rgba(0,0,0,.5); }
.pd-kopf { padding: 16px 20px 0; gap: 12px; border-bottom: 0; }
.pd-art { gap: 8px; height: 32px; font-size: 12px; font-weight: 500; min-width: 0; }
.pd-art > span { flex: none; }
.pd-art .pd-wo { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; color: var(--text-subtle); }
.pd-wo:not(:empty)::before { content: "· "; }
.pd-nr { font-family: var(--font-mono); font-size: 11px; }
.pd-art .modal-kbd { margin-left: 0; display: inline-flex; gap: 2px; align-items: center; }
.pd-kasten { width: 10px; height: 10px; border-radius: 3px; }
.pd-raute { width: 9px; height: 9px; }
kbd { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--text-subtle); border: 1px solid var(--line);
border-bottom-width: 2px; border-radius: 4px; padding: 0 4px; line-height: 16px; background: var(--surface-alt); }
.pd-zu { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; }
.pd-zu svg { width: 16px; height: 16px; }
/* Titel als Überschrift, Rahmen nur beim Zeigen und im Fokus */
.modal-bg.als-panel .pd-kopf .pd-titel,
html.glas .modal-bg.als-panel .pd-kopf .pd-titel {
font-size: 19px; font-weight: 500; line-height: 28px; height: auto; padding: 2px 8px; margin: 0 -8px; width: calc(100% + 16px);
border: 1px solid transparent; border-radius: 8px; background: transparent; box-shadow: none;
}
.modal-bg.als-panel .pd-kopf .pd-titel:hover { border-color: var(--line-soft); }
.modal-bg.als-panel .pd-kopf .pd-titel:focus { border-color: var(--line); outline: none; background: var(--surface); }
.modal-bg.als-panel .pd-kopf .pd-titel.is-error { border-color: var(--red); }
/* Stand direkt unter dem Titel */
.pd-stand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 32px; }
.pd-stand .pd-seg { width: auto; flex: none; }
.pd-stand .pd-seg button { flex: none; min-height: 28px; padding: 0 12px; font-size: 12px; }
.pd-stand .progress-row { flex: 1; min-width: 140px; margin: 0; }
.pd-stand .progress-row output { min-width: 32px; font-family: var(--font-mono); }
#milestoneEditStand button[data-stand="offen"][aria-pressed="true"] .segmented-dot { background: var(--meilenstein); }
#milestoneEditStand button[data-stand="erreicht"][aria-pressed="true"] .segmented-dot { background: var(--green); }
.pd-warnung { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--red); }
.pd-warnung::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.pd-warnung[hidden] { display: none; }
/* Lage im Terminplan: sechs Kalenderwochen um den Eintrag */
.pd-lage { margin: 0 -20px; padding: 12px 20px; background: var(--surface-alt); border-block: 1px solid var(--line-soft); display: grid; gap: 4px; }
.pd-lage-leer { font-size: 12px; color: var(--text-subtle); line-height: 20px; }
.pd-lage-skala { position: relative; height: 16px; }
.pd-lage-skala span { position: absolute; top: 0; padding-left: 4px; font-family: var(--font-mono); font-size: 11px; line-height: 16px; color: var(--text-subtle); }
.pd-lage-flaeche { position: relative; height: 52px; overflow: hidden;
background-image: repeating-linear-gradient(to right, var(--line-soft) 0 1px, transparent 1px calc(100% / 6)); }
.pd-lage-bar { position: absolute; height: 12px; border-radius: 3px; overflow: hidden; }
.pd-lage-bar.is-vor { background: color-mix(in srgb, var(--accent) 30%, var(--surface-alt)); }
.pd-lage-bar.is-fertig { background: var(--line); }
.pd-lage-bar.is-nach { background: color-mix(in srgb, var(--accent) 30%, var(--surface-alt)); }
.pd-lage-bar.is-diese { background: color-mix(in srgb, var(--accent) 24%, var(--surface)); box-shadow: inset 0 0 0 1px var(--accent); }
.pd-lage-bar.is-diese.is-fertig { background: color-mix(in srgb, var(--green) 30%, var(--surface)); box-shadow: inset 0 0 0 1px var(--green); }
.pd-lage-bar b { position: absolute; inset: 0 auto 0 0; background: var(--accent); }
.pd-lage-bar.is-fertig b { background: var(--green); }
.pd-lage-raute { position: absolute; width: 10px; height: 10px; margin-top: 1px; background: var(--meilenstein); transform: translateX(-50%) rotate(45deg); }
.pd-lage-raute.is-fertig { background: var(--text-subtle); }
.pd-lage-raute.is-diese { width: 12px; height: 12px; box-shadow: 0 0 0 2px var(--surface-alt), 0 0 0 3px var(--meilenstein); }
.pd-lage-raute.is-diese.is-fertig { background: var(--green); box-shadow: 0 0 0 2px var(--surface-alt), 0 0 0 3px var(--green); }
.pd-lage-raute.is-diese.is-ueber { background: var(--red); box-shadow: 0 0 0 2px var(--surface-alt), 0 0 0 3px var(--red); }
.pd-lage-heute { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--text-subtle); }
.pd-lage-legende { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--text-subtle); }
.pd-lage-legende span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* Angaben als Zeilen */
.pd-inhalt { padding: 4px 20px 16px; }
.pd-zeile { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.pd-zeile:last-child { border-bottom: 0; }
.pd-zeile[hidden] { display: none; }
.pd-lab, .pd-lab label { font-size: 12px; font-weight: 400; color: var(--text-subtle); line-height: 32px; }
.pd-wert { display: grid; gap: 8px; min-width: 0; }
.pd-wert .range-picker-display, .pd-wert select { width: 100%; box-sizing: border-box; }
.pd-wert .field-inline { display: flex; align-items: center; gap: 8px; }
.pd-wert .field-inline .range-picker-display { flex: 1; min-width: 0; }
.pd-wert .field-badge { font-family: var(--font-mono); font-weight: 400; }
.pd-wert .pd-hint { font-size: 12px; }
.pd-haken { min-height: 24px; }
@media (max-width: 480px) {
.pd-zeile { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.pd-lab, .pd-lab label { line-height: 20px; }
}
/* Aufwand: Kopf entfällt (Beschriftung steht links), Werte im Raster */
.pd-wert.pd-aufwand { margin: 0; padding: 0; border: 0; gap: 8px; }
.pd-aufwand-zeile { gap: 8px; }
.pd-stepper { height: 32px; }
.pd-stepper:focus-within { border-color: var(--accent); box-shadow: none; }
.pd-aufwand-schnell { gap: 4px; }
.pd-aufwand-schnell button { padding: 0 8px; height: 24px; line-height: 24px; border-radius: 6px; border-color: transparent; }
.pd-aufwand-schnell button[aria-pressed="true"] { font-weight: 500; border-color: transparent; }
.pd-externe { margin-top: 4px; padding-top: 8px; }
/* Vorgänger: gewählte offen, Auswahl eingeklappt */
.pd-vorg { display: grid; gap: 2px; }
.pd-vorg[hidden], .pd-vorg:empty { display: none; }
.pd-vorg-zeile { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 8px; align-items: center; height: 32px; padding: 0 8px; border-radius: 6px; background: var(--surface-alt); font-size: 13px; }
.pd-vorg-titel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-vorg-datum { font-family: var(--font-mono); font-size: 11px; color: var(--text-subtle); }
.pd-vorg-stand { width: 10px; height: 10px; border-radius: 3px; border: 1px solid var(--line); }
.pd-vorg-stand.is-fertig { background: var(--green); border-color: var(--green); }
.pd-vorg-stand.is-ms { border-radius: 0; transform: rotate(45deg) scale(.85); border-color: var(--meilenstein); }
.pd-vorg-stand.is-ms.is-fertig { background: var(--green); border-color: var(--green); }
.pd-wert .fold > summary { min-height: 32px; padding: 0 12px; font-size: 12px; color: var(--text-muted); }
.pd-wert .fold-caret { display: inline-grid; place-items: center; width: 16px; height: 16px; }
.pd-wert .fold-caret svg, .pd-wert .fold-search-icon svg { width: 14px; height: 14px; }
.pd-wert .fold-search-icon { display: inline-grid; place-items: center; color: var(--text-subtle); }
.pd-notiz { min-height: 64px; padding: 8px 12px; font-size: 13px; line-height: 20px; }
.pd-stand .progress-row input[type=range] { min-width: 0; width: auto; }
.pd-fuss { padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); }