Terminplan als Gantt: Verknüpfungen mit mehreren Vorgängern, Neuplanung der Nachfolger, Vorgangsnummern
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:
@@ -94,3 +94,56 @@ td.zahl { white-space: nowrap; }
|
||||
th, td { padding: 11px 10px; }
|
||||
td .unter { font-size: 12px; }
|
||||
}
|
||||
|
||||
/* Terminplan (Gantt) */
|
||||
button.neben.an { background: var(--akzent-hell); border-color: var(--akzent); color: var(--akzent); font-weight: 600; }
|
||||
.schalter { display: inline-flex; align-items: center; gap: 6px; color: var(--leise); font-size: 14px; }
|
||||
.leiste .hinweis { font-size: 13px; margin-left: auto; }
|
||||
.gantt { --links: 520px; overflow: auto; max-height: calc(100vh - 150px); background: var(--fl); border: 1px solid var(--linie); border-radius: 10px; position: relative; }
|
||||
.g-inhalt { position: relative; }
|
||||
.g-kopf { position: sticky; top: 0; z-index: 4; display: flex; background: var(--fl); border-bottom: 1px solid var(--linie); }
|
||||
.g-links { position: sticky; left: 0; z-index: 2; width: var(--links); flex: none; display: grid; grid-template-columns: 44px 22px 1fr 64px 64px 34px 92px 26px; align-items: center; gap: 4px; padding: 0 6px 0 8px; height: 34px; background: var(--fl); border-right: 1px solid var(--linie); font-size: 13px; }
|
||||
.g-links.kopf { height: 63px; align-items: end; padding-bottom: 6px; font-size: 12px; color: var(--leise); font-weight: 600; z-index: 5; }
|
||||
.g-zeit .reihe { display: flex; height: 21px; font-size: 11px; color: var(--leise); }
|
||||
.g-zeit .reihe > div { border-left: 1px solid var(--linie); padding: 3px 4px; white-space: nowrap; overflow: hidden; flex: none; }
|
||||
.g-zeit .reihe.tage > div { padding: 3px 0; text-align: center; }
|
||||
.g-zeit .tage .frei, .g-zeit .tage .feiertag { color: var(--warn); }
|
||||
.g-zeit .tage .reserve { color: var(--holz); }
|
||||
.g-koerper { position: relative; }
|
||||
.g-zeile { position: absolute; left: 0; right: 0; height: 34px; border-bottom: 1px solid var(--linie); }
|
||||
.g-zeile.p .g-links { font-weight: 600; background: var(--bg); }
|
||||
.g-zeile.p { background: var(--bg); }
|
||||
.g-zeile .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.g-zeile .name small { font-weight: 400; color: var(--leise); }
|
||||
.g-zeile.a .name { font-weight: 600; padding-left: 4px; cursor: pointer; }
|
||||
.g-zeile.v .name { padding-left: 18px; cursor: pointer; }
|
||||
.g-zeile .name.vorgang:hover, .g-zeile .name.abschnitt:hover { color: var(--akzent); text-decoration: underline; }
|
||||
.g-zeile .nr { color: var(--leise); font-variant-numeric: tabular-nums; }
|
||||
.g-zeile .dat, .g-zeile .at { font-variant-numeric: tabular-nums; color: var(--leise); }
|
||||
.g-zeile .vg { color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
|
||||
.g-links .klapp, .g-links .plus { background: none; border: 0; color: var(--leise); cursor: pointer; font: inherit; padding: 0; width: 22px; height: 22px; border-radius: 5px; }
|
||||
.g-links .plus { font-size: 17px; color: var(--akzent); }
|
||||
.g-links .klapp:hover, .g-links .plus:hover { background: var(--akzent-hell); }
|
||||
.g-links .griff { cursor: grab; color: var(--leise); user-select: none; text-align: center; }
|
||||
.g-balken { position: absolute; height: 34px; left: var(--links); right: 0; pointer-events: none; z-index: 1; }
|
||||
.balken { position: absolute; top: 9px; height: 16px; border-radius: 4px; color: #fff; font-size: 11px; line-height: 16px; padding-left: 5px; white-space: nowrap; overflow: hidden; pointer-events: auto; }
|
||||
.balken.projekt { top: 14px; height: 6px; padding: 0; pointer-events: none; }
|
||||
.balken.abschnitt { top: 12px; height: 10px; opacity: 0.55; padding: 0; pointer-events: none; }
|
||||
.balken.vorgang { cursor: grab; touch-action: none; box-shadow: 0 1px 2px rgb(0 0 0 / 0.2); }
|
||||
.balken.zieht { cursor: grabbing; opacity: 0.8; outline: 2px solid var(--akzent); }
|
||||
.balken .griff-rechts { position: absolute; right: 0; top: 0; bottom: 0; width: 7px; cursor: ew-resize; background: rgb(255 255 255 / 0.35); }
|
||||
.balken.meilenstein { width: 14px; height: 14px; top: 10px; transform: rotate(45deg); border-radius: 2px; padding: 0; cursor: grab; touch-action: none; }
|
||||
.g-schatten { position: absolute; top: 0; bottom: 0; left: var(--links); }
|
||||
.g-schatten i { position: absolute; top: 0; bottom: 0; }
|
||||
.g-schatten .frei { background: rgb(120 130 150 / 0.10); }
|
||||
.g-schatten .feiertag { background: rgb(180 35 24 / 0.10); }
|
||||
.g-schatten .reserve { background: repeating-linear-gradient(135deg, rgb(162 110 58 / 0.10) 0 4px, transparent 4px 8px); }
|
||||
.g-schatten .heute { width: 2px; background: var(--warn); }
|
||||
.g-pfeile { position: absolute; top: 0; left: var(--links); pointer-events: none; z-index: 1; overflow: visible; }
|
||||
.g-pfeile path { fill: none; stroke: var(--leise); stroke-width: 1.2; }
|
||||
.g-pfeile polygon { fill: var(--leise); }
|
||||
@media (max-width: 800px) {
|
||||
.gantt { --links: 220px; }
|
||||
.g-links { grid-template-columns: 22px 1fr 22px; }
|
||||
.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) { display: none; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user