module.css: Terminplaner und gemeinsame Bestellbausteine (tm-)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a6a656f18a
commit
cbd36c0ae6
2 files changed
+280
-1
No files matched your search
@@ -83,3 +83,282 @@
|
||||
.kn .kb-btn-primary, .kn .abo-btn, .kn .kb-btn, .kn .kb-btn-outline { transition: none; }
|
||||
.kn :is(.tm-feld, .sh-feld, .nw-field, .zt-tag, .zt-zeit, .zt-regler, .tm-sprung, .fn-project, .bk-posten, .bk-staffel, .bk-filter, .bk-vorschaufelder, .bk-importform, .bk-personpreis, .an-heat-bar) :is(input, select, textarea) { transition: none; }
|
||||
}
|
||||
|
||||
/* ============================================================ 1 Terminplaner (tm-) === */
|
||||
/* Die tm-Bausteine gelten auch im Webshop, im Buchungskalender und bei Öffnungszeiten live (Bestellseite, Einschalt-Seite, Statuskarte, Hinweise). */
|
||||
|
||||
/* ---- Hinweise und Meldungen ---- */
|
||||
.kn .tm-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 .tm-box[hidden] { display: none; }
|
||||
.kn .tm-box-info { background: var(--kn-bg-subtle); }
|
||||
.kn .tm-box-warn { background: #fcedb9; color: #a82c00; }
|
||||
.kn .tm-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 .tm-meldung:empty { margin: 0; padding: 0; }
|
||||
.kn .tm-meldung:focus { outline: none; }
|
||||
.kn .tm-meldung-ok { background: #d7f7c2; color: #006908; }
|
||||
.kn .tm-meldung-fehler { background: #ffe7f2; color: #b3093c; }
|
||||
.kn .tm-info p { margin: 0 0 10px; color: var(--kn-text-2); }
|
||||
.kn .tm-info p:last-child { margin-bottom: 0; }
|
||||
|
||||
/* ---- Reiter (nur in der alten Ansicht gezeichnet; im Abo-Modell zeichnet die Etage sie, die Klassen bleiben gestaltet) ---- */
|
||||
.kn .tm-reiterleiste { display: flex; gap: 24px; margin: 0 0 16px; border-bottom: 1px solid var(--kn-line); overflow-x: auto; scrollbar-width: none; }
|
||||
.kn .tm-reiterleiste::-webkit-scrollbar { display: none; }
|
||||
.kn .tm-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 .tm-reiter:hover { color: var(--kn-text); }
|
||||
.kn .tm-reiter[aria-selected='true'] { color: var(--kn-accent); border-bottom-color: var(--kn-accent); }
|
||||
.kn .tm-reiter:focus-visible { outline-offset: -2px; }
|
||||
.kn .tm-panel:focus { outline: none; }
|
||||
|
||||
/* ---- Werkzeugleiste: Ansicht, Pfeile, Sprung, Filter ---- */
|
||||
.kn .tm-leiste { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
|
||||
.kn .tm-leiste [hidden], .kn .tm-filter[hidden] { display: none; }
|
||||
.kn .tm-segment { display: inline-flex; border-radius: var(--kn-radius); background: var(--kn-bg); box-shadow: var(--kn-ring); overflow: hidden; }
|
||||
.kn .tm-seg { min-height: 32px; padding: 0 14px; border: 0; background: none; color: var(--kn-text); font: inherit; font-weight: 500; cursor: pointer; transition: background-color .12s; }
|
||||
.kn .tm-seg + .tm-seg { box-shadow: -1px 0 0 var(--kn-line); }
|
||||
.kn .tm-seg:hover { background: var(--kn-bg-hover); }
|
||||
.kn .tm-seg[aria-pressed='true'] { background: var(--kn-accent); color: #fff; }
|
||||
.kn .tm-nav { display: inline-flex; align-items: center; gap: 6px; }
|
||||
.kn .tm-heute { min-width: 72px; }
|
||||
.kn .tm-pfeil { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--kn-radius); background: var(--kn-bg); box-shadow: var(--kn-ring); color: var(--kn-text); font: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
|
||||
.kn .tm-pfeil:hover { background: var(--kn-bg-hover); }
|
||||
.kn .tm-sprung { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--kn-text-2); }
|
||||
.kn .tm-zeitraum { margin: 20px 0 8px; font-size: 17px; line-height: 24px; font-weight: 600; }
|
||||
.kn .tm-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
|
||||
.kn .tm-chip { min-height: 28px; padding: 0 12px; border: 0; border-radius: var(--kn-radius); background: var(--kn-bg); box-shadow: var(--kn-ring); color: var(--kn-text); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .12s; }
|
||||
.kn .tm-chip:hover { background: var(--kn-bg-hover); }
|
||||
.kn .tm-chip[aria-pressed='true'] { background: var(--kn-accent); color: #fff; }
|
||||
.kn .tm-werkzeug-zeile { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
|
||||
.kn .tm-werkzeuge { display: contents; }
|
||||
.kn .tm-werkzeuge button[aria-expanded='true'] { background: var(--kn-bg-hover); }
|
||||
|
||||
/* ---- Terminliste: Zeilen mit Haarlinie ---- */
|
||||
.kn .tm-tag-kopf { margin: 20px 0 4px; font-size: 13px; font-weight: 600; color: var(--kn-text-2); }
|
||||
.kn .tm-tag:first-child .tm-tag-kopf { margin-top: 4px; }
|
||||
.kn .tm-liste[aria-busy='true'] { opacity: .55; }
|
||||
.kn .tm-leer { margin: 0 0 8px; padding: 12px 0; color: var(--kn-text-2); }
|
||||
.kn .tm-eintraege { margin: 0; padding: 0; list-style: none; }
|
||||
.kn .tm-eintrag { padding: 12px 8px; border-bottom: 1px solid var(--kn-line); }
|
||||
.kn .tm-eintrag:first-child { border-top: 1px solid var(--kn-line); }
|
||||
.kn .tm-eintrag:hover { background: var(--kn-bg-hover); }
|
||||
.kn .tm-eintrag.tm-offen { box-shadow: inset 2px 0 0 var(--kn-accent); }
|
||||
.kn .tm-sperre { background: var(--kn-bg-subtle); color: var(--kn-text-2); }
|
||||
.kn .tm-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; }
|
||||
.kn .tm-zeit { padding-top: 1px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||||
.kn .tm-haupt { min-width: 0; }
|
||||
.kn .tm-name, .kn .tm-meta { display: block; overflow-wrap: anywhere; }
|
||||
.kn .tm-meta { margin-top: 2px; font-size: 13px; color: var(--kn-text-2); }
|
||||
.kn .tm-hinweis-zeile { margin: 6px 0 0; font-size: 13px; color: var(--kn-text-2); overflow-wrap: anywhere; }
|
||||
.kn .tm-hinweis-zeile.tm-warn { color: #a82c00; }
|
||||
.kn .tm-aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
|
||||
.kn .tm-frage:empty { display: none; }
|
||||
.kn .tm-frage-box { display: grid; gap: 10px; margin-top: 12px; padding: 12px 14px; border: 0; border-radius: var(--kn-radius-lg); background: var(--kn-bg-subtle); }
|
||||
.kn .tm-frage-box:focus { outline: none; }
|
||||
.kn .tm-frage-box p { margin: 0; }
|
||||
.kn .tm-frage-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.kn .tm-details { margin-top: 10px; }
|
||||
.kn .tm-details summary { display: inline-block; padding: 4px 0; color: var(--kn-text-2); font-size: 13px; cursor: pointer; }
|
||||
.kn .tm-details summary:hover { color: var(--kn-text); }
|
||||
.kn .tm-fakten { display: grid; gap: 6px; margin: 8px 0 0; }
|
||||
.kn .tm-fakten > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 2px 12px; }
|
||||
.kn .tm-fakten dt { color: var(--kn-text-2); font-size: 13px; }
|
||||
.kn .tm-fakten dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
|
||||
.kn .tm-link-knopf { margin-top: 8px; padding: 4px 0; border: 0; background: none; color: var(--kn-danger); font: inherit; font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
|
||||
|
||||
/* ---- Pillen (Zustand) ---- */
|
||||
.kn .tm-pille { display: inline-flex; align-items: center; height: 20px; 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 .tm-pille-ok { background: #d7f7c2; color: #006908; }
|
||||
.kn .tm-pille-wait { background: #fcedb9; color: #a82c00; }
|
||||
.kn .tm-pille-off { background: #ebeef1; color: #414552; }
|
||||
.kn .tm-pille-bad { background: #ffe7f2; color: #b3093c; }
|
||||
|
||||
/* ---- Formulare ---- */
|
||||
.kn .tm-formular { margin: 0 0 16px; }
|
||||
.kn .tm-formular h3 { margin-bottom: 6px; }
|
||||
.kn .tm-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 16px; align-items: start; }
|
||||
.kn .tm-feld { display: grid; gap: 6px; min-width: 0; margin: 12px 0 0; }
|
||||
.kn .tm-feld[hidden] { display: none; }
|
||||
.kn .tm-feld > label, .kn .tm-label { font-weight: 500; }
|
||||
.kn .tm-feld input:not([type=checkbox]):not([type=radio]):not([type=color]), .kn .tm-feld select, .kn .tm-feld textarea { width: 100%; }
|
||||
.kn .tm-hinweis { margin: 0; font-size: 13px; color: var(--kn-text-2); }
|
||||
.kn .tm-feld > .tm-muster-hinweis { margin-top: 6px; font-weight: 500; }
|
||||
.kn .tm-fehler { margin: 0; font-size: 13px; color: var(--kn-danger); }
|
||||
.kn .tm-fehler:empty { display: none; }
|
||||
.kn .tm-zeiten { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.kn .tm-haken { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 6px; cursor: pointer; }
|
||||
.kn .tm-haken input { flex: none; width: 16px; height: 16px; margin-top: 2px; }
|
||||
.kn .tm-formular .tm-frage-knoepfe { margin-top: 16px; }
|
||||
|
||||
/* ---- Vorlagenauswahl ---- */
|
||||
.kn .tm-vorlagen > p { margin: 0 0 12px; color: var(--kn-text-2); }
|
||||
.kn .tm-vorlagen-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
|
||||
.kn .tm-vorlage { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--kn-radius-lg); box-shadow: var(--kn-ring); cursor: pointer; }
|
||||
.kn .tm-vorlage:hover { background: var(--kn-bg-hover); }
|
||||
.kn .tm-vorlage:has(input:checked) { box-shadow: 0 0 0 2px #111; }
|
||||
.kn .tm-vorlage input { flex: none; width: 16px; height: 16px; margin-top: 2px; }
|
||||
.kn .tm-vorlage strong, .kn .tm-vorlage small { display: block; }
|
||||
.kn .tm-vorlage small { margin-top: 2px; font-size: 13px; color: var(--kn-text-2); }
|
||||
|
||||
/* ---- Leistungen, Team & Plätze, Einstellungen ---- */
|
||||
.kn .tm-tab > * + * { margin-top: 16px; }
|
||||
.kn .tm-tab > .tm-box { margin-bottom: 0; }
|
||||
.kn .tm-hinweise:empty { display: none; }
|
||||
.kn .tm-reihenfolge .tm-frage-knoepfe { margin: 0; }
|
||||
.kn .tm-gruppe-felder { display: grid; gap: 0; min-width: 0; margin: 0; padding: 0; border: 0; }
|
||||
.kn .tm-gruppe-felder > legend { padding: 0; font-weight: 500; }
|
||||
.kn .tm-feld.tm-gruppe-felder { margin-top: 12px; }
|
||||
.kn .tm-abschnitt h3 { margin-bottom: 4px; }
|
||||
.kn .tm-abschnitt h4 { margin: 16px 0 4px; font-size: 14px; font-weight: 600; }
|
||||
.kn .tm-abschnitt-text { margin: 0 0 12px; color: var(--kn-text-2); }
|
||||
.kn .tm-abschnitt .tm-box { margin: 0 0 12px; }
|
||||
.kn .tm-abschnitt .tm-werkzeug-zeile { align-items: center; margin-bottom: 12px; }
|
||||
.kn .tm-abschnitt .tm-eintraege { margin-top: 4px; }
|
||||
.kn .tm-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px 14px; }
|
||||
.kn .tm-kopf .tm-pille { flex: none; }
|
||||
.kn .tm-eintrag .tm-meta + .tm-meta { margin-top: 0; }
|
||||
.kn .tm-editor-box:empty { display: none; }
|
||||
.kn .tm-editor { margin-top: 12px; }
|
||||
.kn .tm-eintrag .tm-formular { margin: 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--kn-line); border-radius: 0; background: none; }
|
||||
.kn .tm-eintrag .tm-formular h3 { display: none; }
|
||||
.kn .tm-feld-haken { margin-top: 4px; }
|
||||
.kn .tm-feld-haken .tm-haken { margin: 6px 0 0; }
|
||||
.kn .tm-haken > span { font-weight: 500; }
|
||||
.kn .tm-haken small { display: block; margin-top: 2px; font-weight: 400; color: var(--kn-text-2); }
|
||||
.kn .tm-abschnitt form > .tm-frage-knoepfe, .kn .tm-tab > form > .tm-frage-knoepfe { margin-top: 16px; }
|
||||
.kn .tm-gefahr { color: var(--kn-danger); }
|
||||
.kn .tm-gefahr:hover { background: #ffe7f2; }
|
||||
.kn .tm-wochenplan .tm-raster { gap: 0 16px; }
|
||||
.kn .tm-feed { margin-top: 12px; padding: 12px 14px; border-radius: var(--kn-radius-lg); background: var(--kn-bg-subtle); }
|
||||
.kn .tm-feed h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
|
||||
.kn .tm-feed .tm-hinweis { margin: 0 0 8px; }
|
||||
.kn .tm-feed .tm-frage-knoepfe { margin: 10px 0 0; }
|
||||
.kn .tm-link-feld, .kn .tm-code-feld { width: 100%; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; }
|
||||
.kn .tm-code-feld { display: block; margin: 4px 0 10px; line-height: 20px; white-space: pre; overflow: auto; }
|
||||
.kn .tm-muster { margin-top: 12px; padding: 12px 14px; border-radius: var(--kn-radius-lg); background: var(--kn-bg-subtle); }
|
||||
.kn .tm-muster > p { margin: 0 0 10px; font-size: 13px; color: var(--kn-text-2); }
|
||||
.kn .tm-muster-text { margin: 0 0 12px; padding: 0 0 0 12px; border-left: 2px solid var(--kn-line-strong); font-size: 13px; color: var(--kn-text-2); font-style: italic; }
|
||||
.kn .tm-zusatz { display: grid; gap: 12px; margin: 10px 0; }
|
||||
.kn .tm-zusatz:empty { display: none; }
|
||||
.kn .tm-zusatz-zeile { padding: 12px 0; border-top: 1px solid var(--kn-line); }
|
||||
.kn .tm-zusatz-zeile .tm-gefahr { margin-top: 10px; }
|
||||
.kn .tm-optionen { display: grid; gap: 4px; margin: 4px 0 8px; }
|
||||
.kn .tm-optionen .tm-haken { margin: 6px 0; }
|
||||
.kn .tm-aus { opacity: .6; cursor: not-allowed; }
|
||||
.kn .tm-status { margin: 0; }
|
||||
.kn .tm-abschnitt details.tm-details { margin-top: 12px; }
|
||||
|
||||
/* ---- Bestellseite, Einschalt-Seite und Statuskarte (funktion-bestellen.js, zeiten-bestellen.js) ---- */
|
||||
.kn .tm-bestellen > * + * { margin-top: 20px; }
|
||||
.kn .tm-bestellen h3 { margin-bottom: 0; }
|
||||
.kn .tm-bestellen h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
|
||||
.kn .tm-bestellen .tm-abschnitt-text { margin: 6px 0 0; }
|
||||
.kn .tm-bestellen-zusammenfassung { display: grid; gap: 0; }
|
||||
.kn .tm-bestellen-gruppe { padding: 12px 0; border-top: 1px solid var(--kn-line); }
|
||||
.kn .tm-bestellen-gruppe:last-child { border-bottom: 1px solid var(--kn-line); }
|
||||
.kn .tm-bestellen-gruppe-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
|
||||
.kn .tm-bestellen-gruppe-kopf h4 { margin: 0; }
|
||||
.kn .tm-bestellen-gruppe ul { margin: 6px 0 0; padding-left: 18px; overflow-wrap: anywhere; }
|
||||
.kn .tm-bestellen-gruppe .tm-hinweis { margin-top: 6px; }
|
||||
.kn .tm-bestellen-offen { padding: 12px 14px; border-radius: var(--kn-radius); background: #fcedb9; color: #a82c00; }
|
||||
.kn .tm-bestellen-offen ul { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
|
||||
.kn .tm-bestellen-offen li { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
|
||||
.kn .tm-bestellen-offen li > span { min-width: 0; overflow-wrap: anywhere; }
|
||||
.kn .tm-bestellen-offen .tm-hinweis { color: #a82c00; }
|
||||
.kn .tm-bestellen-betrag { margin: 0 0 4px; font-variant-numeric: tabular-nums; }
|
||||
.kn .tm-bestellen-betrag strong { font-size: 20px; line-height: 28px; font-weight: 700; }
|
||||
.kn .tm-bestellen-preis p { margin: 0 0 4px; }
|
||||
.kn .tm-bestellen-belehrung .tm-hinweis { margin-bottom: 8px; }
|
||||
.kn .tm-rechtstext { max-height: 320px; overflow-y: auto; padding: 12px 14px; border-radius: var(--kn-radius-lg); background: var(--kn-bg-subtle); font-size: 13px; line-height: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
|
||||
.kn .tm-bestellen-dokumente { display: grid; gap: 6px; margin: 0; padding-left: 18px; }
|
||||
.kn .tm-bestellen-dokumente a { overflow-wrap: anywhere; }
|
||||
.kn .tm-bestellen-text { margin: 10px 0 0; color: var(--kn-text-2); }
|
||||
.kn .tm-bestellen-aktion { display: grid; justify-items: start; gap: 8px; }
|
||||
.kn .tm-bestellen-aktion .tm-fehler { font-size: 14px; }
|
||||
.kn .tm-bestellen-knopf { min-height: 36px; padding: 0 20px; }
|
||||
.kn .tm-einschalten-platz { min-width: 0; }
|
||||
.kn .tm-statuskarte > * + * { margin-top: 12px; }
|
||||
.kn .tm-statuskarte h3 { margin: 10px 0 0; }
|
||||
.kn .tm-statuskarte p { margin: 0; }
|
||||
.kn .tm-statuskarte .tm-hinweis { font-size: 13px; }
|
||||
.kn .tm-statuskarte .tm-fakten { margin: 0; }
|
||||
.kn .tm-statuskarte .tm-aktionen { margin-top: 16px; }
|
||||
.kn .tm-danke { padding: 10px 12px; border-radius: var(--kn-radius); background: #d7f7c2; color: #006908; font-weight: 500; }
|
||||
|
||||
/* ---- Fragebogen (termine-fragebogen.js) ---- */
|
||||
.kn .tm-fragebogen > * + * { margin-top: 16px; }
|
||||
.kn .tm-fragebogen > .tm-box { margin-bottom: 0; }
|
||||
.kn .tm-fortschritt { padding-bottom: 12px; border-bottom: 1px solid var(--kn-line); }
|
||||
.kn .tm-schritt-stand { display: none; margin: 0 0 8px; font-weight: 600; }
|
||||
.kn .tm-schritte { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
|
||||
.kn .tm-schritt { margin: 0; }
|
||||
.kn .tm-schritt-knopf { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 0; border-radius: 999px; background: none; color: var(--kn-text-2); font: inherit; font-weight: 500; text-align: left; cursor: pointer; }
|
||||
.kn .tm-schritt-knopf:hover:not(:disabled) { background: var(--kn-bg-hover); color: var(--kn-text); }
|
||||
.kn .tm-schritt-knopf:disabled { opacity: .5; cursor: not-allowed; }
|
||||
.kn .tm-schritt[aria-current='step'] .tm-schritt-knopf { color: var(--kn-text); font-weight: 600; }
|
||||
.kn .tm-schritt-nr { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: var(--kn-ring); background: var(--kn-bg); font-size: 12px; font-variant-numeric: tabular-nums; }
|
||||
.kn .tm-schritt[data-erledigt] .tm-schritt-nr { background: var(--kn-accent); color: #fff; box-shadow: none; }
|
||||
.kn .tm-schritt[aria-current='step'] .tm-schritt-nr { box-shadow: 0 0 0 2px #111; }
|
||||
.kn .tm-schritt[data-erledigt][aria-current='step'] .tm-schritt-nr { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111; }
|
||||
.kn .tm-fb-schritt > * + * { margin-top: 16px; }
|
||||
.kn .tm-fb-schritt > h3 { margin: 0; }
|
||||
.kn .tm-fb-schritt > h3:focus { outline: none; }
|
||||
.kn .tm-fb-schritt > .tm-abschnitt-text { margin-bottom: 0; }
|
||||
.kn .tm-fb-form > * + * { margin-top: 16px; }
|
||||
.kn .tm-fb-form > .tm-box, .kn .tm-fb-form .tm-fb-branchenhinweis .tm-box { margin-bottom: 0; }
|
||||
.kn .tm-fb-branchenhinweis:empty { display: none; }
|
||||
.kn .tm-fb-branchen { margin-bottom: 0; }
|
||||
.kn .tm-fb-branche { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
|
||||
.kn .tm-fb-branche p { margin: 0; }
|
||||
.kn .tm-fb-aufbewahrung { margin-top: 20px; }
|
||||
.kn .tm-fb-person > h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
|
||||
.kn .tm-fb-person .tm-wochenplan { margin-top: 0; }
|
||||
.kn .tm-fb-ausnahmen { margin-top: 28px; }
|
||||
.kn .tm-fb-ausnahmen > * + * { margin-top: 16px; }
|
||||
.kn .tm-fb-sammel { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
|
||||
.kn .tm-fb-sammel [aria-pressed='true'] { background: var(--kn-accent); color: #fff; }
|
||||
.kn .tm-fb-einbau .tm-vorlagen-liste { margin-bottom: 4px; }
|
||||
.kn .tm-fb-einbau .tm-feld textarea { min-height: 76px; }
|
||||
|
||||
/* ---- Handy ---- */
|
||||
@media (max-width: 880px), (pointer: coarse) and (max-height: 500px) {
|
||||
.kn .tm-reiter { display: inline-flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0; }
|
||||
.kn .tm-seg, .kn .tm-chip { min-height: 44px; }
|
||||
.kn .tm-pfeil { width: 44px; height: 44px; }
|
||||
.kn .tm-link-knopf { padding: 11px 0; }
|
||||
.kn .tm-details summary { display: flex; align-items: center; min-height: 44px; padding: 0; }
|
||||
.kn .tm-haken { align-items: center; min-height: 44px; margin-top: 0; margin-bottom: 0; }
|
||||
.kn .tm-haken input { width: 20px; height: 20px; margin-top: 0; }
|
||||
.kn .tm-vorlage input { width: 20px; height: 20px; }
|
||||
.kn .tm-vorlage { min-height: 44px; }
|
||||
.kn .tm-schritt-stand { display: block; }
|
||||
.kn .tm-schritte { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
|
||||
.kn .tm-schritt-knopf { width: 100%; min-height: 44px; justify-content: center; padding: 0; }
|
||||
.kn .tm-schritt-titel { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
||||
.kn .tm-eintrag { padding: 12px 0; }
|
||||
.kn .tm-bestellen-knopf { min-height: 44px; }
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
.kn .tm-leiste { gap: 8px; }
|
||||
.kn .tm-segment { width: 100%; }
|
||||
.kn .tm-seg { flex: 1; padding-left: 8px; padding-right: 8px; }
|
||||
.kn .tm-nav { width: 100%; }
|
||||
.kn .tm-nav .tm-heute { flex: 1; }
|
||||
.kn .tm-sprung { width: 100%; }
|
||||
.kn .tm-sprung input { flex: 1; min-width: 0; }
|
||||
.kn .tm-zeile { grid-template-columns: minmax(0, 1fr) auto; }
|
||||
.kn .tm-haupt { grid-column: 1 / -1; grid-row: 2; }
|
||||
.kn .tm-fakten > div { grid-template-columns: minmax(0, 1fr); }
|
||||
.kn .tm-werkzeug-zeile > *, .kn .tm-werkzeuge > * { flex: 1 1 calc(50% - 4px); }
|
||||
.kn .tm-werkzeuge > .kb-btn-primary { flex-basis: 100%; }
|
||||
.kn .tm-aktionen > * { flex: 1 1 auto; }
|
||||
.kn .tm-aktionen > .tm-pfeil { flex: 0 0 44px; }
|
||||
.kn .tm-kopf { flex-wrap: wrap; }
|
||||
.kn .tm-frage-knoepfe > * { flex: 1 1 auto; }
|
||||
.kn .tm-bestellen-aktion { justify-items: stretch; }
|
||||
.kn .tm-fb-sammel > * { flex: 1 1 auto; }
|
||||
.kn .tm-rechtstext { max-height: 260px; }
|
||||
}
|
||||
|
||||
/* ---- Reduzierte Bewegung ---- */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.kn .tm-seg, .kn .tm-chip { transition: none; }
|
||||
}
|
||||
@@ -72,7 +72,7 @@ function klassen(css, praefix) {
|
||||
return treffer
|
||||
}
|
||||
|
||||
const FERTIG = [] // Präfixe mit geprüfter Abdeckung; Task 10 bis 13 ergänzen sie
|
||||
const FERTIG = ['tm'] // Präfixe mit geprüfter Abdeckung; Task 11 bis 13 ergänzen sie
|
||||
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 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