module.css: Webshop und Buchungskalender (sh-, bk-)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cbd36c0ae6
commit
b20ac71750
2 files changed
+251
-1
No files matched your search
@@ -362,3 +362,253 @@
|
|||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
.kn .tm-seg, .kn .tm-chip { transition: none; }
|
.kn .tm-seg, .kn .tm-chip { transition: none; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ============================================ 2 Webshop und Buchungskalender (sh-, bk-) === */
|
||||||
|
/* Die Reiter, Pillen und Formulare des Buchungskalenders sind die sh-Klassen des Webshops. */
|
||||||
|
|
||||||
|
/* ---- Hinweise und Meldungen ---- */
|
||||||
|
.kn .sh-box { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 16px; padding: 10px 12px; border: 0; border-radius: var(--kn-radius); background: var(--kn-bg-subtle); color: var(--kn-text); font-size: 14px; line-height: 20px; }
|
||||||
|
.kn .sh-box[hidden] { display: none; }
|
||||||
|
.kn .sh-box-info { background: var(--kn-bg-subtle); }
|
||||||
|
.kn .sh-box-warn { background: #fcedb9; color: #a82c00; }
|
||||||
|
.kn .sh-hinweise:empty { display: none; }
|
||||||
|
.kn .sh-meldung { margin: 0 0 16px; padding: 10px 12px; border: 0; border-radius: var(--kn-radius); font-size: 14px; line-height: 20px; scroll-margin-top: 72px; }
|
||||||
|
.kn .sh-meldung:empty { margin: 0; padding: 0; }
|
||||||
|
.kn .sh-meldung:focus { outline: none; }
|
||||||
|
.kn .sh-meldung-ok { background: #d7f7c2; color: #006908; }
|
||||||
|
.kn .sh-meldung-fehler { background: #ffe7f2; color: #b3093c; }
|
||||||
|
.kn .sh-info p { margin: 0 0 10px; color: var(--kn-text-2); }
|
||||||
|
.kn .sh-info p:last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
/* ---- Reiter (nur in der alten Ansicht gezeichnet; im Abo-Modell zeichnet die Etage sie) ---- */
|
||||||
|
.kn .sh-reiterleiste { display: flex; flex-wrap: nowrap; gap: 24px; margin: 0 0 16px; border-bottom: 1px solid var(--kn-line); overflow-x: auto; scrollbar-width: none; }
|
||||||
|
.kn .sh-reiterleiste::-webkit-scrollbar { display: none; }
|
||||||
|
.kn .sh-reiter { flex: none; margin-bottom: -1px; padding: 8px 0 10px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--kn-text-2); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
|
||||||
|
.kn .sh-reiter:hover { color: var(--kn-text); }
|
||||||
|
.kn .sh-reiter[aria-selected='true'] { color: var(--kn-accent); border-bottom-color: var(--kn-accent); }
|
||||||
|
.kn .sh-reiter:focus-visible { outline-offset: -2px; }
|
||||||
|
.kn .sh-panel:focus { outline: none; }
|
||||||
|
|
||||||
|
/* ---- Abschnitte, Pillen, Fakten ---- */
|
||||||
|
.kn .sh-abschnitt { margin: 0; padding: 20px 0; }
|
||||||
|
.kn .sh-abschnitt + .sh-abschnitt { border-top: 1px solid var(--kn-line); }
|
||||||
|
.kn .sh-abschnitt h3 { margin: 0 0 4px; font-size: 15px; line-height: 22px; font-weight: 600; }
|
||||||
|
.kn .sh-abschnitt h4 { margin: 16px 0 4px; font-size: 14px; font-weight: 600; }
|
||||||
|
.kn .sh-abschnitt-text { margin: 0 0 12px; color: var(--kn-text-2); }
|
||||||
|
.kn .sh-pille { display: inline-flex; align-items: center; height: 20px; margin-bottom: 8px; padding: 0 6px; border: 0; border-radius: 4px; background: #ebeef1; color: #414552; font-size: 12px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
|
||||||
|
.kn .sh-pille-ok { background: #d7f7c2; color: #006908; }
|
||||||
|
.kn .sh-pille-wait { background: #fcedb9; color: #a82c00; }
|
||||||
|
.kn .sh-pille-off { background: #ebeef1; color: #414552; }
|
||||||
|
.kn .sh-pille-bad { background: #ffe7f2; color: #b3093c; }
|
||||||
|
.kn .sh-aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
|
||||||
|
.kn .sh-fakten { display: grid; gap: 6px; margin: 12px 0 0; }
|
||||||
|
.kn .sh-fakten > div { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: 4px 16px; }
|
||||||
|
.kn .sh-fakten dt { font-size: 13px; color: var(--kn-text-2); }
|
||||||
|
.kn .sh-fakten dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
|
||||||
|
.kn .sh-begruendung { margin: 0 0 12px; padding: 4px 0 4px 12px; border-left: 2px solid var(--kn-line-strong); color: var(--kn-text-2); overflow-wrap: anywhere; white-space: pre-wrap; }
|
||||||
|
.kn .sh-zusammenfassung { margin-top: 16px; }
|
||||||
|
.kn .sh-zusammenfassung h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
|
||||||
|
|
||||||
|
/* ---- Anfrage ---- */
|
||||||
|
.kn .sh-anfrage h3 { margin-bottom: 6px; }
|
||||||
|
.kn .sh-erklaerung p { margin: 0 0 10px; color: var(--kn-text-2); }
|
||||||
|
.kn .sh-erklaerung ul { margin: 0 0 12px; padding-left: 20px; color: var(--kn-text-2); }
|
||||||
|
.kn .sh-erklaerung li { margin-bottom: 4px; }
|
||||||
|
.kn .sh-form { margin-top: 16px; padding-top: 4px; border-top: 1px solid var(--kn-line); }
|
||||||
|
.kn .sh-hinweis[data-satz] { margin: 16px 0 12px; font-size: 14px; line-height: 20px; color: var(--kn-text); }
|
||||||
|
|
||||||
|
/* ---- Formulare ---- */
|
||||||
|
.kn .sh-feld { display: grid; gap: 6px; min-width: 0; margin: 12px 0 0; }
|
||||||
|
.kn .sh-feld[hidden] { display: none; }
|
||||||
|
.kn .sh-feld > label, .kn .sh-label { font-weight: 500; }
|
||||||
|
.kn .sh-feld input:not([type=checkbox]):not([type=radio]):not([type=color]), .kn .sh-feld select, .kn .sh-feld textarea { width: 100%; }
|
||||||
|
.kn .sh-hinweis { margin: 0; font-size: 13px; color: var(--kn-text-2); }
|
||||||
|
.kn .sh-fehler { margin: 0; font-size: 13px; color: var(--kn-danger); }
|
||||||
|
.kn .sh-fehler:empty { display: none; }
|
||||||
|
.kn .sh-gruppe { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
|
||||||
|
.kn .sh-gruppe legend { padding: 0; font-weight: 500; }
|
||||||
|
.kn .sh-haken { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 4px; cursor: pointer; }
|
||||||
|
.kn .sh-haken input { flex: none; width: 16px; height: 16px; margin-top: 2px; }
|
||||||
|
.kn .sh-haken > span { font-weight: 500; }
|
||||||
|
.kn .sh-haken small { display: block; margin-top: 2px; font-weight: 400; color: var(--kn-text-2); }
|
||||||
|
.kn .sh-feld-haken { margin-top: 4px; }
|
||||||
|
.kn .sh-radiogruppe { min-width: 0; margin: 0 0 8px; padding: 0; border: 0; }
|
||||||
|
.kn .sh-radiogruppe legend { padding: 0; font-weight: 500; }
|
||||||
|
.kn .sh-frage-box { display: grid; gap: 10px; margin: 12px 0; padding: 12px 14px; border: 0; border-radius: var(--kn-radius-lg); background: var(--kn-bg-subtle); }
|
||||||
|
.kn .sh-frage-box:focus { outline: none; }
|
||||||
|
.kn .sh-untergruppe[hidden], .kn .sh-abschnitt[hidden] { display: none; }
|
||||||
|
|
||||||
|
/* ---- Reiter Übersicht ---- */
|
||||||
|
.kn .sh-checkliste, .kn .sh-stripe-status, .kn .sh-erklaerung-liste { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
|
||||||
|
.kn .sh-checkliste li, .kn .sh-stripe-status li { display: flex; align-items: flex-start; gap: 10px; }
|
||||||
|
.kn .sh-checkliste .sh-haken-zeichen { flex: none; width: 20px; text-align: center; font-weight: 600; }
|
||||||
|
.kn .sh-checkliste .sh-ok .sh-haken-zeichen { color: #006908; }
|
||||||
|
.kn .sh-checkliste .sh-offen .sh-haken-zeichen { color: var(--kn-text-3); }
|
||||||
|
.kn .sh-stripe-status .sh-ok { color: #006908; }
|
||||||
|
.kn .sh-stripe-status .sh-offen { color: #a82c00; }
|
||||||
|
.kn .sh-erklaerung-liste { display: block; padding-left: 20px; list-style: disc; color: var(--kn-text-2); }
|
||||||
|
.kn .sh-erklaerung-liste li { margin-bottom: 4px; }
|
||||||
|
.kn .sh-zustand { margin: 12px 0 0; font-weight: 600; }
|
||||||
|
.kn .sh-zustand-offen { color: #006908; }
|
||||||
|
.kn .sh-zustand-zu { color: var(--kn-text-2); }
|
||||||
|
.kn .sh-code { margin: 0 0 8px; padding: 12px 14px; overflow-x: auto; border-radius: var(--kn-radius-lg); background: var(--kn-bg-subtle); font-size: 13px; line-height: 20px; white-space: pre; }
|
||||||
|
.kn .sh-code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
|
||||||
|
|
||||||
|
/* ---- Reiter Rechtliches ---- */
|
||||||
|
.kn .sh-gewaehrleistung-bild { display: block; max-width: 100%; height: auto; margin: 0 0 12px; border-radius: var(--kn-radius); background: var(--kn-bg-hover); }
|
||||||
|
.kn .sh-rechtliches textarea { font-family: inherit; line-height: 20px; }
|
||||||
|
|
||||||
|
/* ---- Reiter Bestellungen ---- */
|
||||||
|
.kn .sh-umschalter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
|
||||||
|
.kn .sh-umschalter [aria-pressed='true'] { background: var(--kn-accent); color: #fff; }
|
||||||
|
.kn .sh-werkzeug { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px; }
|
||||||
|
.kn .sh-werkzeug .sh-feld { flex: 1 1 200px; margin: 0; }
|
||||||
|
.kn .sh-liste { display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; }
|
||||||
|
.kn .sh-zeile {
|
||||||
|
display: grid; grid-template-columns: minmax(80px, 110px) minmax(110px, 150px) minmax(0, 1fr) minmax(70px, 90px) minmax(80px, 100px) auto; align-items: center; gap: 6px 12px;
|
||||||
|
width: 100%; padding: 12px 8px; border: 0; border-bottom: 1px solid var(--kn-line); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
|
||||||
|
}
|
||||||
|
.kn .sh-liste > :first-child .sh-zeile, .kn .sh-liste > .sh-zeile:first-child { border-top: 1px solid var(--kn-line); }
|
||||||
|
.kn .sh-zeile:hover { background: var(--kn-bg-hover); }
|
||||||
|
.kn .sh-zeile .sh-pille { justify-self: start; margin: 0; }
|
||||||
|
.kn .sh-zeile-name, .kn .sh-zeile-art { overflow-wrap: anywhere; }
|
||||||
|
.kn .sh-zeile-summe { font-weight: 600; font-variant-numeric: tabular-nums; }
|
||||||
|
.kn .sh-zeile-warnung { grid-column: 1 / -1; font-size: 13px; color: #a82c00; }
|
||||||
|
.kn .sh-seiten { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
|
||||||
|
.kn .sh-zurueck { margin-bottom: 12px; }
|
||||||
|
.kn .sh-positionen, .kn .sh-verlauf { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
|
||||||
|
.kn .sh-positionen li { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
|
||||||
|
.kn .sh-positionen li > span:first-child { overflow-wrap: anywhere; }
|
||||||
|
.kn .sh-verlauf li { display: grid; grid-template-columns: minmax(130px, 170px) minmax(0, 1fr); gap: 4px 12px; }
|
||||||
|
.kn .sh-verlauf-zeit { font-size: 13px; color: var(--kn-text-2); }
|
||||||
|
.kn .sh-aktionen-bereich:empty, .kn .sh-erstatten-frage:empty { display: none; }
|
||||||
|
.kn .sh-widerruf { padding: 12px 14px; border-radius: var(--kn-radius-lg); background: var(--kn-bg-subtle); }
|
||||||
|
.kn .sh-widerruf .sh-fakten { margin-top: 0; }
|
||||||
|
|
||||||
|
/* ---- Reiter Artikel ---- */
|
||||||
|
.kn .sh-artikelliste { display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; }
|
||||||
|
.kn .sh-artikel { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--kn-line); }
|
||||||
|
.kn .sh-artikel:first-child { border-top: 1px solid var(--kn-line); }
|
||||||
|
.kn .sh-artikel:hover { background: var(--kn-bg-hover); }
|
||||||
|
.kn .sh-artikel-bild { display: block; width: 56px; height: 56px; border-radius: var(--kn-radius); object-fit: cover; background: var(--kn-bg-hover); }
|
||||||
|
.kn .sh-artikel-info { display: grid; gap: 2px; min-width: 0; }
|
||||||
|
.kn .sh-artikel-name { overflow-wrap: anywhere; font-weight: 500; }
|
||||||
|
.kn .sh-artikel-preis { font-variant-numeric: tabular-nums; }
|
||||||
|
.kn .sh-artikel-bestand { font-size: 13px; color: var(--kn-text-2); }
|
||||||
|
.kn .sh-artikel-aus { color: var(--kn-danger); }
|
||||||
|
.kn .sh-artikel-aktionen { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
|
||||||
|
.kn .sh-schalter { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
|
||||||
|
.kn .sh-schalter input { width: 16px; height: 16px; }
|
||||||
|
.kn .sh-artikel .sh-frage-box { grid-column: 1 / -1; margin: 4px 0 0; }
|
||||||
|
.kn .sh-artikel-editor .sh-abschnitt { margin-bottom: 0; }
|
||||||
|
.kn .sh-einklappbar > summary { padding: 2px 0; cursor: pointer; }
|
||||||
|
.kn .sh-einklappbar > summary strong { font-size: 15px; font-weight: 600; }
|
||||||
|
.kn .sh-einklappbar[open] > summary { margin-bottom: 6px; }
|
||||||
|
.kn .sh-grundpreis { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 16px; }
|
||||||
|
.kn .sh-wertzeile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 0 12px; align-items: end; margin-bottom: 4px; }
|
||||||
|
.kn .sh-wertzeile > button { margin-bottom: 2px; }
|
||||||
|
.kn .sh-bilder { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 0; padding: 0; list-style: none; }
|
||||||
|
.kn .sh-bild { display: grid; gap: 6px; justify-items: start; padding: 8px; border-radius: var(--kn-radius-lg); box-shadow: var(--kn-ring); }
|
||||||
|
.kn .sh-bild img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--kn-radius); background: var(--kn-bg-hover); }
|
||||||
|
.kn .sh-bild .sh-pille { margin-bottom: 0; }
|
||||||
|
.kn .sh-bild .sh-aktionen { margin-top: 0; }
|
||||||
|
|
||||||
|
/* ---- Buchungskalender: Anfragen und Rechnungen ---- */
|
||||||
|
.kn .bk-filter { display: flex; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
|
||||||
|
.kn .bk-liste { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
|
||||||
|
.kn .bk-zeile {
|
||||||
|
display: grid; grid-template-columns: 90px 1.4fr 1fr auto auto; gap: 8px 14px; align-items: center; width: 100%; padding: 12px 8px; border: 0; border-bottom: 1px solid var(--kn-line);
|
||||||
|
background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
|
||||||
|
}
|
||||||
|
.kn .bk-liste > :first-child .bk-zeile, .kn .bk-liste > .bk-zeile:first-child { border-top: 1px solid var(--kn-line); }
|
||||||
|
.kn .bk-zeile:hover { background: var(--kn-bg-hover); }
|
||||||
|
.kn .bk-zeile .sh-pille { justify-self: start; margin: 0; }
|
||||||
|
.kn .bk-betrag { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
|
||||||
|
.kn .bk-zurueck { margin-bottom: 12px; }
|
||||||
|
.kn .bk-detail-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
||||||
|
.kn .bk-detail-kopf .sh-pille { margin: 0; }
|
||||||
|
.kn .bk-daten { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 16px; }
|
||||||
|
.kn .bk-daten dt { color: var(--kn-text-2); }
|
||||||
|
.kn .bk-daten dd { margin: 0; overflow-wrap: anywhere; }
|
||||||
|
.kn .bk-posten-kopf, .kn .bk-posten-zeile { display: grid; grid-template-columns: minmax(0, 3fr) 70px 110px 80px auto; gap: 8px; align-items: center; }
|
||||||
|
.kn .bk-posten-kopf { margin-bottom: 4px; font-size: 12px; color: var(--kn-text-2); }
|
||||||
|
.kn .bk-posten-zeile { margin-bottom: 8px; }
|
||||||
|
.kn .bk-posten input, .kn .bk-posten select { width: 100%; }
|
||||||
|
.kn .bk-summen { margin: 12px 0; text-align: right; font-variant-numeric: tabular-nums; }
|
||||||
|
.kn .bk-summen p { margin: 2px 0; }
|
||||||
|
.kn .bk-gesamt { font-size: 18px; font-weight: 600; }
|
||||||
|
.kn .bk-aktionen { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 12px 0; }
|
||||||
|
.kn .bk-tabelle { width: 100%; margin: 8px 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
|
||||||
|
.kn .bk-tabelle td { padding: 8px 4px; border-bottom: 1px solid var(--kn-line); }
|
||||||
|
.kn .bk-tabelle td:last-child { text-align: right; }
|
||||||
|
.kn .bk-link input { width: 100%; margin: 6px 0 10px; }
|
||||||
|
.kn .bk-rechnung { display: grid; grid-template-columns: 110px 100px 1fr auto auto auto; gap: 8px 14px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--kn-line); }
|
||||||
|
.kn .bk-rechnung:hover { background: var(--kn-bg-hover); }
|
||||||
|
.kn .bk-rechnung .sh-pille { margin: 0; }
|
||||||
|
|
||||||
|
/* ---- Buchungskalender: Kalender (belegt #111, angefragt orange, gesperrt grau, frei weiß mit Haarlinie) ---- */
|
||||||
|
.kn .bk-kalenderkopf { flex-wrap: wrap; }
|
||||||
|
.kn .bk-monat { min-width: 9em; text-align: center; font-weight: 600; }
|
||||||
|
.kn .bk-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; width: 100%; margin: 12px 0; }
|
||||||
|
.kn .bk-wochentag { text-align: center; font-size: 12px; color: var(--kn-text-2); }
|
||||||
|
.kn .bk-tag { min-height: 40px; aspect-ratio: 1.5; border: 0; border-radius: var(--kn-radius); background: var(--kn-bg); box-shadow: inset 0 0 0 1px var(--kn-line); color: var(--kn-text); font: inherit; font-variant-numeric: tabular-nums; cursor: pointer; }
|
||||||
|
.kn .bk-tag:hover { background: var(--kn-bg-hover); }
|
||||||
|
.kn .bk-tag.bk-ausserhalb { opacity: .45; }
|
||||||
|
.kn .bk-tag.bk-heute { font-weight: 700; box-shadow: inset 0 0 0 1px var(--kn-line-strong); }
|
||||||
|
.kn .bk-tag.bk-start { outline: 2px solid #111; outline-offset: 2px; }
|
||||||
|
.kn .ist-frei { background: var(--kn-bg); }
|
||||||
|
.kn .ist-gebucht { background: #111; color: #fff; box-shadow: none; }
|
||||||
|
.kn .ist-gebucht:hover { background: #111; }
|
||||||
|
.kn .ist-reserviert { background: #fcedb9; color: #a82c00; box-shadow: none; }
|
||||||
|
.kn .ist-reserviert:hover { background: #fcedb9; }
|
||||||
|
.kn .ist-ical { background: #e0f2fe; color: #075985; box-shadow: none; }
|
||||||
|
.kn .ist-ical:hover { background: #e0f2fe; }
|
||||||
|
.kn .ist-manuell { background: #ebeef1; color: #414552; box-shadow: none; }
|
||||||
|
.kn .ist-manuell:hover { background: #ebeef1; }
|
||||||
|
.kn .bk-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0; padding: 0; list-style: none; }
|
||||||
|
.kn .bk-legende li { display: flex; align-items: center; gap: 6px; font-size: 13px; }
|
||||||
|
.kn .bk-farbe { display: inline-block; width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--kn-line-strong); }
|
||||||
|
.kn .bk-farbe.ist-gebucht, .kn .bk-farbe.ist-reserviert, .kn .bk-farbe.ist-ical, .kn .bk-farbe.ist-manuell { box-shadow: none; }
|
||||||
|
|
||||||
|
/* ---- Buchungskalender: Unterkünfte, Preise, Import ---- */
|
||||||
|
.kn .bk-staffel { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
|
||||||
|
.kn .bk-staffel input { width: 90px; }
|
||||||
|
.kn .bk-personenpreise { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; min-width: 0; max-width: 100%; }
|
||||||
|
.kn .bk-personenpreise[hidden], .kn .bk-preis-einzeln[hidden] { display: none; }
|
||||||
|
.kn .bk-personpreis { display: grid; gap: 2px; font-size: 13px; font-weight: 500; }
|
||||||
|
.kn .bk-personpreis > span { white-space: nowrap; }
|
||||||
|
.kn .bk-vorschau { font-weight: 600; font-variant-numeric: tabular-nums; }
|
||||||
|
.kn .bk-import { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
|
||||||
|
.kn .bk-anleitung details { margin: 8px 0; }
|
||||||
|
.kn .bk-vorschaufelder input, .kn .bk-importform input { width: 100%; }
|
||||||
|
|
||||||
|
/* ---- Handy ---- */
|
||||||
|
@media (max-width: 880px), (pointer: coarse) and (max-height: 500px) {
|
||||||
|
.kn .sh-reiter { display: inline-flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0; }
|
||||||
|
.kn .sh-haken { align-items: center; min-height: 44px; margin-top: 0; margin-bottom: 0; }
|
||||||
|
.kn .sh-haken input, .kn .sh-schalter input { width: 20px; height: 20px; margin-top: 0; }
|
||||||
|
.kn .sh-schalter { min-height: 44px; }
|
||||||
|
.kn .bk-tag { min-height: 44px; }
|
||||||
|
.kn .sh-zeile, .kn .bk-zeile { min-height: 44px; }
|
||||||
|
}
|
||||||
|
@media (max-width: 700px) {
|
||||||
|
.kn .sh-zeile { grid-template-columns: minmax(0, 1fr) auto; }
|
||||||
|
.kn .sh-verlauf li { grid-template-columns: minmax(0, 1fr); }
|
||||||
|
.kn .bk-zeile { grid-template-columns: 1fr auto; }
|
||||||
|
.kn .bk-posten-kopf { display: none; }
|
||||||
|
.kn .bk-posten-zeile { grid-template-columns: 1fr 1fr; }
|
||||||
|
.kn .bk-posten-zeile input:first-child { grid-column: 1 / -1; }
|
||||||
|
.kn .bk-rechnung { grid-template-columns: 1fr auto; }
|
||||||
|
}
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.kn .sh-fakten > div { grid-template-columns: minmax(0, 1fr); }
|
||||||
|
.kn .sh-aktionen > * { flex: 1 1 auto; }
|
||||||
|
.kn .sh-artikel { grid-template-columns: 56px minmax(0, 1fr); }
|
||||||
|
.kn .sh-artikel-aktionen { grid-column: 1 / -1; justify-content: flex-start; }
|
||||||
|
.kn .sh-grundpreis, .kn .sh-wertzeile { grid-template-columns: minmax(0, 1fr); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---- Reduzierte Bewegung ---- */
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.kn .sh-zeile, .kn .bk-zeile, .kn .bk-tag { transition: none; }
|
||||||
|
}
|
||||||
@@ -72,7 +72,7 @@ function klassen(css, praefix) {
|
|||||||
return treffer
|
return treffer
|
||||||
}
|
}
|
||||||
|
|
||||||
const FERTIG = ['tm'] // Präfixe mit geprüfter Abdeckung; Task 11 bis 13 ergänzen sie
|
const FERTIG = ['tm', 'sh', 'bk'] // Präfixe mit geprüfter Abdeckung; Task 12 und 13 ergänzen sie
|
||||||
const UNGENUTZT = new Set([]) // alte Klassen, die in keiner JS-Datei vorkommen; der Test prüft das
|
const UNGENUTZT = new Set([]) // alte Klassen, die in keiner JS-Datei vorkommen; der Test prüft das
|
||||||
const ALT = { tm: 'termine.css', sh: 'shop.css', bk: 'buchungen.css', zt: 'zeiten.css', an: 'analyse.css', hs: 'analyse.css', nw: 'funktionen.css' }
|
const ALT = { tm: 'termine.css', sh: 'shop.css', bk: 'buchungen.css', zt: 'zeiten.css', an: 'analyse.css', hs: 'analyse.css', nw: 'funktionen.css' }
|
||||||
const FN_NEWS = ['fn-project', 'fn-booking', 'fn-price', 'fn-estimate', 'fn-desc-link', 'fn-consent', 'fn-thanks', 'fn-status', 'fn-facts', 'fn-pill', 'fn-pill-setup']
|
const FN_NEWS = ['fn-project', 'fn-booking', 'fn-price', 'fn-estimate', 'fn-desc-link', 'fn-consent', 'fn-thanks', 'fn-status', 'fn-facts', 'fn-pill', 'fn-pill-setup']
|
||||||
|
|||||||
Reference in new issue
Block a user