0.17.2: Kostenart Fahrt (2 × Strecke × Einsatztage × Fahrzeuge)
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-21 15:22:39 +00:00
parent 4d82336f73
commit 4c9f0643d6
12 changed files with 91 additions and 39 deletions

View File

@@ -12,7 +12,7 @@
/* Angebotsmaske: Eingaben gelb, Formeln blau, Kostenarten farbig (Bilder vom 21.10.2026) */
--eingabe-bg: #fff6c4; --eingabe-linie: #e8d36a; --eingabe-text: #4d4000; --formel-text: #1d4f8a; --titel-bg: #f6f8fb; --markiert: #fff9db;
--art-lohn-bg: #e4eefa; --art-lohn: #1d5fa8; --art-mat-bg: #f4e9dd; --art-mat: #7a4a1c; --art-ger-bg: #dcf1f4; --art-ger: #0f6674;
--art-sub-bg: #ece6f8; --art-sub: #5b3fa0; --art-son-bg: #eceff3; --art-son: #4a5563;
--art-sub-bg: #ece6f8; --art-sub: #5b3fa0; --art-son-bg: #eceff3; --art-son: #4a5563; --art-fahrt-bg: #e3f3e8; --art-fahrt: #2c6b3f;
font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px;
}
/* dunkel nach Systemeinstellung, außer jemand wählt ausdrücklich hell (data-theme) */
@@ -26,7 +26,7 @@
--gut-bg: #173a26; --gut-text: #8fe0b0; color-scheme: dark;
--eingabe-bg: #3a3310; --eingabe-linie: #7a6a1f; --eingabe-text: #f5e7a1; --formel-text: #8fbdf0; --titel-bg: #161f2c; --markiert: #2e2a14;
--art-lohn-bg: #1d3352; --art-lohn: #8fbdf0; --art-mat-bg: #3a2a1a; --art-mat: #e8c39b; --art-ger-bg: #133b40; --art-ger: #8fdbe4;
--art-sub-bg: #2e2548; --art-sub: #c8b6f2; --art-son-bg: #262f3b; --art-son: #b5c0cd;
--art-sub-bg: #2e2548; --art-sub: #c8b6f2; --art-son-bg: #262f3b; --art-son: #b5c0cd; --art-fahrt-bg: #1f3426; --art-fahrt: #9fd3ae;
}
}
:root[data-theme="dark"] {
@@ -38,7 +38,7 @@
--gut-bg: #173a26; --gut-text: #8fe0b0; color-scheme: dark;
--eingabe-bg: #3a3310; --eingabe-linie: #7a6a1f; --eingabe-text: #f5e7a1; --formel-text: #8fbdf0; --titel-bg: #161f2c; --markiert: #2e2a14;
--art-lohn-bg: #1d3352; --art-lohn: #8fbdf0; --art-mat-bg: #3a2a1a; --art-mat: #e8c39b; --art-ger-bg: #133b40; --art-ger: #8fdbe4;
--art-sub-bg: #2e2548; --art-sub: #c8b6f2; --art-son-bg: #262f3b; --art-son: #b5c0cd;
--art-sub-bg: #2e2548; --art-sub: #c8b6f2; --art-son-bg: #262f3b; --art-son: #b5c0cd; --art-fahrt-bg: #1f3426; --art-fahrt: #9fd3ae;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); display: flex; min-height: 100vh; }
@@ -761,15 +761,15 @@ button.weg:hover { background: var(--warnung-bg); color: var(--warn); }
.position-details > .hinweis { margin: 0; font-size: 13px; }
table.kosten-tabelle { border-radius: 8px; width: auto; }
table.kosten-tabelle th, table.kosten-tabelle td { padding: 4px 6px; font-size: 13px; }
table.kosten-tabelle th, table.kosten-tabelle td { padding-left: 3px; padding-right: 3px; }
table.kosten-tabelle input.w-bez { width: 8.8em; }
table.kosten-tabelle input.w-bezug { width: 6.6em; }
table.kosten-tabelle input.w-ansatz { width: 4.2em; }
.kosten-rolle table.kosten-tabelle th, .kosten-rolle table.kosten-tabelle td { padding-left: 2px; padding-right: 2px; }
table.kosten-tabelle input.w-bez { width: 7.6em; }
table.kosten-tabelle input.w-bezug { width: 5.6em; }
table.kosten-tabelle input.w-ansatz { width: 3.8em; }
table.kosten-tabelle input.w-pers { width: 2.8em; }
table.kosten-tabelle input.w-einheit { width: 5.4em; }
table.kosten-tabelle input.w-ek { width: 4.9em; }
table.kosten-tabelle input.w-faktor { width: 3.1em; }
table.kosten-tabelle td:nth-child(7) select { width: 6.3em; }
table.kosten-tabelle td:nth-child(7) select { width: 6em; }
.angebot-raster input.w-menge { width: 5.5em; }
.angebot-raster input.w-euro { width: 6.5em; }
.angebot-raster input.w-kurz { width: 4.2em; }
@@ -778,7 +778,7 @@ table.kosten-tabelle tr.kz-lohn td:first-child { box-shadow: inset 3px 0 0 var(-
table.kosten-tabelle tr.kz-material td:first-child { box-shadow: inset 3px 0 0 var(--holz); }
table.kosten-tabelle tr.kz-geraet td:first-child { box-shadow: inset 3px 0 0 var(--ein); }
table.kosten-tabelle tr.kz-sonstiges td:first-child { box-shadow: inset 3px 0 0 var(--leise); }
table.kosten-tabelle td:first-child select { width: 5.9em; }
table.kosten-tabelle td:first-child select { width: 5.7em; }
.summen dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; }
.summen dt { color: var(--leise); }
.summen dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
@@ -989,5 +989,10 @@ h2.am-gruppe { font-size: 15px; margin: 18px 0 6px; color: var(--leise); text-tr
}
table.kosten-tabelle td.kz-aus { white-space: nowrap; padding-top: 9px; }
table.kosten-tabelle td.kz-aus .weg { margin-left: 2px; }
table.kosten-tabelle td.kz-aus .weg { margin-left: 0; padding: 2px 3px; }
table.kosten-tabelle td.kz-aus input { width: 16px; height: 16px; min-height: 0; padding: 0; vertical-align: middle; }
table.kosten-tabelle tr.kz-fahrt td:first-child { box-shadow: inset 3px 0 0 var(--art-fahrt); }
.art.fahrt { background: var(--art-fahrt-bg); color: var(--art-fahrt); }
table.kosten-tabelle .kz-rechnung { display: block; font-size: 11.5px; color: var(--leise); margin-top: 2px; white-space: nowrap; }
.kosten-rolle table.kosten-tabelle input, .kosten-rolle table.kosten-tabelle select { padding-left: 5px; padding-right: 5px; font-size: 13px; }
.kosten-rolle table.kosten-tabelle select { padding-left: 3px; padding-right: 0; }