diff --git a/components/public-page-components.html b/components/public-page-components.html index f83d81e..ddfdba3 100644 --- a/components/public-page-components.html +++ b/components/public-page-components.html @@ -51,6 +51,24 @@ +
+

Component: Call to action Card – Drei-Spalten-Variante

+ +
+
+
+

Mit dem Newsletter immer über neue Inhalte informiert bleiben.

+
+ +
+
+ +
+
+
+
+
+

Component: Picture Full Width

diff --git a/patterns/public-page-patterns.html b/patterns/public-page-patterns.html index b0a5cf8..7912917 100644 --- a/patterns/public-page-patterns.html +++ b/patterns/public-page-patterns.html @@ -196,15 +196,24 @@
-
+

- Jetzt passende Inhalte entdecken und direkt mit dem nächsten Schritt starten. + Mit dem Newsletter immer über neue Inhalte informiert bleiben.

+
+ +
+
-
@@ -212,6 +221,32 @@
+ +

pattern: Public Call to Action Box

diff --git a/semantic-tokens-components.html b/semantic-tokens-components.html index d2feeef..262dbf2 100644 --- a/semantic-tokens-components.html +++ b/semantic-tokens-components.html @@ -122,8 +122,8 @@ surface-call-to-action-cardsurface-card-groupFläche der Call-to-action-Card als dunkle Content-Card-Variante. text-call-to-action-cardcolor-font-lightTextfarbe in der Call-to-action-Card. - layout-call-to-action-card-widthcalc(var(--dimension-public-content-width) * 0.5)Breite der Card im Page-Layout. - layout-call-to-action-card-content-columnsminmax(0, 1fr) max-contentZweispaltiges Layout mit flexibler Textspalte und Buttonspalte in Buttonbreite. + layout-call-to-action-card-widthcalc(var(--dimension-public-content-width) * 0.5); dimension-public-content-width in der Drei-Spalten-VarianteBreite der Card im Page-Layout; die Drei-Spalten-Variante nutzt die volle Content-Breite. + layout-call-to-action-card-content-columnsminmax(0, 1fr) max-content; minmax(0, 1fr) minmax(0, 1fr) max-content in der Drei-Spalten-VarianteZweispaltiges Standardlayout oder dreispaltiges Layout mit Text, Formularfeld und Aktion; auf kleinen Viewports einspaltig. layout-call-to-action-card-content-gapspacing-largeAbstand zwischen Text und Button. diff --git a/styles/44-components-public-page-components.css b/styles/44-components-public-page-components.css index 4a608a5..2f448fd 100644 --- a/styles/44-components-public-page-components.css +++ b/styles/44-components-public-page-components.css @@ -48,6 +48,11 @@ max-width: 100%; } +.sg-card--call-to-action-card--three-column { + --layout-call-to-action-card-width: var(--dimension-public-content-width); + --layout-call-to-action-card-content-columns: minmax(0, 1fr) minmax(0, 1fr) max-content; +} + .sg-card--call-to-action-card .sg-card-segment--body { display: grid; grid-template-columns: var(--layout-call-to-action-card-content-columns); @@ -69,6 +74,16 @@ justify-content: flex-end; } +.sg-card--call-to-action-card--three-column .sg-labeled-input-row { + min-width: 0; +} + +.sg-card--call-to-action-card--three-column .sg-input-single-line { + width: 100%; + min-width: 0; + max-width: 100%; +} + .sg-call-to-action-card--align-right { margin-left: auto; } @@ -92,4 +107,12 @@ .sg-card--call-to-action-card { width: 100%; } + + .sg-card--call-to-action-card--three-column { + --layout-call-to-action-card-content-columns: minmax(0, 1fr); + } + + .sg-card--call-to-action-card--three-column .sg-call-to-action-card__action { + justify-content: flex-start; + } }