Projektseite: Kacheln wie in der Vorabansicht (0.6.1)
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

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-20 06:07:34 +00:00
parent de49fec216
commit 212d8107a0
4 changed files with 12 additions and 5 deletions

View File

@@ -253,7 +253,8 @@ ul.aufgaben li .kategorie { margin-left: auto; align-self: center; }
.dialog.kategorien li .neben, .dialog.kategorien form.neu .neben { flex: none; padding: 6px 12px; }
/* Projektseite (P2): Kopf mit Status, Kacheln, Reiter darunter wie bei Plancraft */
.projekt-kopf h1 { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.projekt-kopf h1 { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.projekt-kopf [data-a="bearbeiten"] { margin-left: auto; }
.projekt-kopf h1 .nummer { font-weight: 500; color: var(--leise); }
.projekt-kopf .zurueck { padding: 6px 12px; font-size: 18px; line-height: 1; }
.projekt-kopf select.etikett { border: 0; font: inherit; font-size: 14px; font-weight: 600; padding: 6px 12px; cursor: pointer; }
@@ -360,11 +361,13 @@ dl.werte dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums;
.projekt-raster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.projekt-haupt { display: grid; gap: 16px; min-width: 0; }
.projekt-raster .karte { margin: 0; }
.uebersicht-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "stunden kunde beschreibung" "zeitraum baustelle beschreibung"; gap: 12px; padding: 12px 16px 16px; }
/* wie die freigegebene Vorabansicht: oben drei gleich breite Kacheln, unten Zeitraum schmal und Baustelle doppelt breit */
.uebersicht-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "stunden kunde beschreibung" "zeitraum baustelle baustelle"; gap: 12px; padding: 12px 16px 16px; }
.uebersicht-kacheln .stunden { grid-area: stunden; } .uebersicht-kacheln .kunde { grid-area: kunde; }
.uebersicht-kacheln .zeitraum { grid-area: zeitraum; } .uebersicht-kacheln .baustelle { grid-area: baustelle; }
.uebersicht-kacheln .beschreibung { grid-area: beschreibung; display: flex; flex-direction: column; }
.kachel.beschreibung .text { flex: 1; white-space: pre-wrap; overflow-wrap: anywhere; cursor: text; border-radius: 6px; padding: 4px; margin: -4px; min-height: 60px; }
.uebersicht-kacheln .kachel h3 { font-size: 11.5px; margin-bottom: 8px; }
.kachel.beschreibung .text { flex: 1; white-space: pre-wrap; overflow-wrap: anywhere; cursor: text; border-radius: 6px; padding: 4px; margin: -4px; min-height: 40px; max-height: 7.5em; overflow: auto; }
.kachel.beschreibung .text:hover { background: var(--akzent-hell); }
.kachel.beschreibung textarea { width: 100%; padding: 8px; border: 1px solid var(--akzent); border-radius: 6px; background: var(--fl); color: var(--text); font: inherit; }
.kachel .stunden { display: flex; align-items: center; justify-content: space-between; gap: 12px; }