diff --git a/foundations.html b/foundations.html index 8223008..b79abf0 100644 --- a/foundations.html +++ b/foundations.html @@ -160,6 +160,7 @@ content-card-margin-top-desktop100pxOberer Außenabstand der Content Card auf Desktop. content-card-margin-top-mobile1remOberer Außenabstand der Content Card auf Mobile; entspricht spacing-large. notification-card-width50%Breite der Notification Card relativ zum übergeordneten Layout. + user-notification-card-width70%Desktop-Breite des Patterns User Notification relativ zur verfügbaren Breite. public-content-width100%Standardbreite für wiederverwendbare Public-Content-Wrapper innerhalb der durch das jeweilige Page-Layout begrenzten Breite. object-group-card-min-width450pxMindestbreite der Group Card im Pattern Object Group Card. object-group-card-max-width650pxMaximale Breite der Group Card im Pattern Object Group Card. diff --git a/patterns/notifications.html b/patterns/notifications.html index be414f8..2a4de35 100644 --- a/patterns/notifications.html +++ b/patterns/notifications.html @@ -187,6 +187,32 @@ +
+

Pattern: User Notification

+ +
+
+
+

+ Kaufsignal Veeva Systems Inc Class A +

+
+ +
+

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur vitae velit posuere, posuere mauris eu, tincidunt lorem. Proin gravida sapien in mattis molestie. Sed non risus augue. Fusce sed odio vitae purus porta efficitur. Integer tempor congue sem, a convallis lorem ornare eget. Nam. Aenean. +

+
+ +
+ +
+
+
+
+

Pattern: Notifications small

diff --git a/semantic-tokens-patterns.html b/semantic-tokens-patterns.html index fc74073..c385fe2 100644 --- a/semantic-tokens-patterns.html +++ b/semantic-tokens-patterns.html @@ -75,6 +75,7 @@ layout-notifications-card-max-widthlayout-object-card-max-widthMaximalbreite der Notification Card im Notifications-Pattern; begrenzt Wachstum konsistent zur Object-Card-Breite. layout-notifications-text-segment-fixed-heightdimension-notifications-text-segment-fixed-heightFixe Desktop-Höhe des ersten Text-Segments im Notifications-Pattern; auf Mobile wird die Höhe auf auto gesetzt. layout-notifications-text-segment-fixed-height-smalldimension-notifications-text-segment-fixed-height-smallFixe Desktop-Höhe des ersten Text-Segments in der Variante Pattern: Notifications small; auf Mobile wird die Höhe auf auto gesetzt. + layout-user-notification-card-widthdimension-user-notification-card-widthBreite des Patterns Pattern: User Notification; auf Desktop 70 % der verfügbaren Breite und auf Mobile 100 %.

Company Card

diff --git a/styles/01-foundations.css b/styles/01-foundations.css index 961e118..9abdb8c 100644 --- a/styles/01-foundations.css +++ b/styles/01-foundations.css @@ -177,6 +177,7 @@ --layout-content-card-margin-top-desktop: var(--dimension-content-card-margin-top-desktop); --layout-content-card-margin-top-mobile: var(--dimension-content-card-margin-top-mobile); --layout-notification-card-width: var(--dimension-notification-card-width); + --layout-user-notification-card-width: var(--dimension-user-notification-card-width); --dimension-notifications-card-min-width: 445px; --layout-notifications-card-flex-basis: var(--dimension-notifications-card-min-width); --layout-notifications-card-min-width: var(--dimension-notifications-card-min-width); @@ -290,6 +291,7 @@ --dimension-object-group-card-max-width: 650px; --dimension-object-group-card-height: 700px; --dimension-notification-card-width: 50%; + --dimension-user-notification-card-width: 70%; --dimension-input-label-width: 9rem; --dimension-input-field-desktop-width: 400px; --dimension-input-field-max-width: 600px; diff --git a/styles/28-patterns-notifications.css b/styles/28-patterns-notifications.css index 50ed93f..d7c34eb 100644 --- a/styles/28-patterns-notifications.css +++ b/styles/28-patterns-notifications.css @@ -42,6 +42,15 @@ height: auto; } +.sg-user-notification-pattern { + width: var(--layout-user-notification-card-width); + margin-inline: auto; +} + +.sg-user-notification-pattern__actions { + align-items: flex-end; +} + .sg-vsf-meldungen-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); @@ -91,4 +100,8 @@ .sg-notifications-pattern__card > .sg-notifications-pattern__text-segment.sg-notifications-pattern__text-segment--small { height: auto; } + + .sg-user-notification-pattern { + width: 100%; + } }