Abschluss-CTA: Ausnahme vom Glass-Flow-Sektionshintergrund
Nach dem Build stand der Abschluss hellgrau mit weisser Schrift da.
`.variante-glass-flow section` faerbt jede Sektion in diesem Wrapper hell ein
und ist mit (0,1,1) spezifischer als `.cta-band` mit (0,1,0). Fuer
`.bg-secondary` und `.bg-accent` gibt es dort laengst Ausnahmen – die neue
Klasse brauchte dieselbe. /marken/{slug} haengt in genau diesem Wrapper.
Der Verlauf steht jetzt in --cta-band-gradient und wird von beiden Regeln
benutzt, damit er nicht doppelt gepflegt werden muss. Ein Test haelt die
Ausnahme fest.
Nebenbei dokumentiert: `npm run build:web` baut nur die vier Frontend-Themes,
nicht das Portal. Ohne `npm run build:portal` liefert das Admin-Portal 500 –
in Deployment-Checkliste und Vorschau-Runbook ergaenzt, samt Pruefschleife
ueber alle fuenf Manifeste.
Tests: 863 gruen (3194 Assertions), Pint sauber, alle Themes gebaut.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
3ee7b44a77
commit
093e0ece51
7 changed files with 131 additions and 6 deletions
|
|
@ -141,6 +141,17 @@ it('closes the page with a gradient band across the full width', function () {
|
|||
->and($html)->not->toContain('blur-3xl');
|
||||
});
|
||||
|
||||
it('exempts the closing band from the glass-flow section background', function () {
|
||||
// `.variante-glass-flow section` faerbt jede Sektion hell ein und ist spezifischer als
|
||||
// `.cta-band` – ohne diese Ausnahme steht der Abschluss hellgrau mit weisser Schrift da.
|
||||
// `/marken/{slug}` haengt in genau diesem Wrapper.
|
||||
expect(file_get_contents(resource_path('views/web/marken-show.blade.php')))
|
||||
->toContain('variante-glass-flow');
|
||||
|
||||
expect(file_get_contents(resource_path('css/web/shared-styles.css')))
|
||||
->toContain('section.cta-band');
|
||||
});
|
||||
|
||||
// ========================================
|
||||
// Beschriftung des Terminanfrage-Widgets
|
||||
// ========================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue