diff --git a/components/cards.html b/components/cards.html index 024ad72..3268421 100644 --- a/components/cards.html +++ b/components/cards.html @@ -118,6 +118,23 @@ +

Variante: Green Content Card

+ +
+
+
+
+

+ Footer links: Platzhaltertext fuer allgemeine Hinweise, Navigation oder Kontaktinformationen im zweispaltigen Layout. +

+

+ Footer rechts: Platzhaltertext fuer ergaenzende Angaben, rechtliche Hinweise oder sekundaere Footer-Inhalte im gleichen Raster. +

+
+
+
+
+

Variante: Footer Card

diff --git a/styles/40-components-cards.css b/styles/40-components-cards.css index 94b2d56..6b20716 100644 --- a/styles/40-components-cards.css +++ b/styles/40-components-cards.css @@ -38,6 +38,20 @@ color: var(--color-font-light); } +.sg-card.sg-card--content-card-green { + --surface-content-card-green: var(--color-signal-green); + --surface-card: var(--surface-content-card-green); + --surface-card-body: var(--surface-content-card-green); + --text-card-header: var(--color-font-light); + --text-card-body: var(--color-font-light); +} + +.sg-card.sg-card--content-card-green .sg-card-segment--body, +.sg-card.sg-card--content-card-green .sg-text-layout-pattern__column, +.sg-card.sg-card--content-card-green .sg-body { + color: var(--text-card-body); +} + .sg-card.sg-card--footer-card { --surface-card: var(--color-black); --surface-card-body: var(--color-black);