Mache die Premium-Karten mit vorhandenen Fachobjekten nutzbar.

- Themenkarte: alle Säulen wählbar; nicht veröffentlichte nur in der Redaktionsvorschau.
- Medienkarte: Kurzbeschreibung, Film (Filmtafel, Hinweis auf den geschützten Film) und Material
  (Materialsymbol) getrennt; Filmstandbild der Bibliothek nur in der Redaktionsvorschau, markiert;
  Entwürfe wählbar, gesperrte nicht; Traineranleitungen nie öffentlich.
- Programm-/Modulkarte: Lernziel als Text, Dauer und Modulzahl; Programme/Module ohne Anzeigefreigabe
  für die Vorschau wählbar; Module weiterhin ohne Link.
- Fehlende Inhalte nur in der Vorschau als eingeklappte Redaktionshinweise.
- Tests bewusst angepasst: Medien zeigen jetzt die Kurzbeschreibung (Betreibervorgabe), unveröffentlichte
  Themen und Programme ohne Freigabe sind wählbar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 5.5 committed 2026-11-18 16:20:40 +01:00
1 parent bc1f84ac89
commit a08067c078
13 files changed
+611 -151

No files matched your search

@@ -228,6 +228,76 @@ .lf-pc__panel-accent {
color: var(--pc-accent);
}
/* Film ohne freigegebenes Bild: Filmtafel (Navy, Filmstreifen-Symbol, kein Abspielsymbol – die Karte spielt nichts ab). */
.lf-pc__panel-icon {
display: block;
inline-size: 44px;
block-size: 44px;
color: var(--pc-accent);
}
/* Material (Dokument, Text, Hörstück …): ruhige Cremefläche mit Materialsymbol statt Foto. */
.lf-pc__panel--material {
background: var(--pc-subtle);
color: var(--lf-navy);
border: 1px solid var(--color-border);
}
.lf-pc__panel--material .lf-pc__panel-icon { color: var(--lf-navy); }
.lf-pc--material .lf-pc__meta {
padding-block: 10px;
inline-size: 100%;
border-block: 1px solid var(--color-border);
}
/* Nur Redaktionsvorschau: Vorschaubild der Bibliothek ist markiert, weil es öffentlich nicht erscheint. */
.lf-pc__library-flag {
position: absolute;
inset: auto 12px 12px auto;
max-inline-size: calc(100% - 24px);
padding: 4px 10px;
border-radius: var(--radius-pill);
color: var(--lf-white);
background: rgb(3 37 81 / 86%);
font-size: 0.75rem;
font-weight: 600;
}
.lf-pc__editorial {
inline-size: 100%;
margin: 0;
font-size: 0.8125rem;
}
.lf-pc__editorial summary {
cursor: pointer;
font-weight: 600;
}
.lf-pc__editorial[open] summary {
margin-block-end: 0.4rem;
}
.lf-pc__private-flag {
margin: 0;
padding: 3px 10px;
border-radius: var(--radius-pill);
background: var(--color-warning-surface, var(--lf-yellow-tint));
color: var(--lf-navy);
font-size: 0.75rem;
font-weight: 600;
}
.lf-pc__editorial p,
.lf-pc__editorial ul {
margin: 0 0 0.35rem;
}
.lf-pc__editorial ul {
padding-inline-start: 1.1rem;
}
.lf-pc--catalog .lf-pc__kind { color: var(--color-heading); }
.lf-pc--catalog .lf-pc__cta { background: var(--lf-navy); color: var(--lf-white); }
.lf-pc--catalog .lf-pc__cta:visited { color: var(--lf-white); }
@@ -249,9 +319,11 @@ @container slot (min-width: 520px) {
display: flex;
}
/* Neben dem Text wie ein Bild mittig, auch wenn die Karte auf Zeilenhöhe gestreckt ist. */
.lf-pc:not(.lf-pc--stacked) .lf-pc__panel {
margin: 10px 0 10px 10px;
min-block-size: 220px;
align-self: center;
}
.lf-pc--contain:not(.lf-pc--stacked) .lf-pc__visual {