Mache den Download bei reiner Download-Lizenz erreichbar und zeige den Stand zum Verkaufsstart
CI Feature / test (push) Failing after 3m2s

Die Artikelseite zeigte bei einer Lizenz nur zum Herunterladen (kein Streamen oder
Ansehen) "Nicht enthalten"; jetzt bietet sie den Download. Tests belegen Einzelfilm
und Begleit-PDF aus der Bibliothek mit Dateiname und Zugriffsgrenzen. Neue
Verwaltungsseite Verkaufsstart nennt fehlende Rechtstexte und den Zustand der
Zahlungseinrichtung, ohne Schlüssel zu zeigen.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-22 19:58:22 +01:00
1 parent 76fab81386
commit 42e0a6bb93
6 files changed
+414

No files matched your search

+139
View File
@@ -282,3 +282,142 @@ @media (min-width: 48rem) {
justify-content: flex-end;
}
}
/* Verkaufsstart: Nutzerkreis, Rabattcode, Summen, Pflichtangaben und Zustimmungen */
.shop-licence {
margin: 0 0 var(--space-2);
}
.shop-draft {
padding: var(--space-3) var(--space-4);
border: 2px dashed var(--color-warning);
border-radius: var(--radius-card, 0.5rem);
background: var(--color-warning-surface);
color: var(--color-text);
}
.shop-badge-discount {
color: var(--color-success);
background: var(--color-success-surface);
}
.shop-roles {
display: grid;
gap: var(--space-2);
max-width: 40rem;
margin: 0 0 var(--space-5);
}
.shop-roles div {
display: grid;
gap: 0.15rem;
}
.shop-roles dt {
font-weight: 700;
}
.shop-roles dd {
margin: 0;
}
.shop-code,
.shop-pay,
.shop-legal {
max-width: 40rem;
margin: var(--space-5) 0;
}
.shop-code-row {
display: flex;
flex-wrap: wrap;
gap: var(--space-3);
align-items: stretch;
}
.shop-code-row input {
flex: 1 1 12rem;
min-height: 2.75rem;
padding: 0 var(--space-3);
border: 2px solid var(--color-border-strong);
border-radius: var(--radius-control, 0.4rem);
font: inherit;
text-transform: uppercase;
}
.shop-code-applied {
font-weight: 600;
}
.shop-total-table {
max-width: 32rem;
display: grid;
gap: var(--space-2);
}
.shop-total-table div {
display: flex;
justify-content: space-between;
gap: var(--space-4);
}
.shop-total-table dt,
.shop-total-table dd {
margin: 0;
}
.shop-total-final {
font-size: var(--text-h3);
padding-top: var(--space-2);
border-top: 1px solid var(--color-border-strong);
}
.shop-pay,
.shop-legal {
border: 0;
padding: 0;
}
.shop-pay legend,
.shop-legal legend {
font-weight: 700;
padding: 0;
margin-bottom: var(--space-3);
}
.shop-pay label,
.shop-consent {
display: flex;
gap: var(--space-3);
align-items: flex-start;
margin: 0 0 var(--space-3);
}
.shop-pay input,
.shop-consent input {
flex: none;
width: 1.35rem;
height: 1.35rem;
margin-top: 0.15rem;
}
.shop-legal-missing {
color: var(--color-danger);
font-weight: 600;
}
.mb-withdraw {
margin-top: var(--space-5);
max-width: 40rem;
}
.mb-withdraw summary {
cursor: pointer;
font-weight: 600;
}
.mb-withdraw textarea {
display: block;
width: 100%;
margin: var(--space-2) 0 var(--space-3);
}