Add Component Notification Card with signal variants
This commit is contained in:
@@ -63,6 +63,43 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Component: Notification Card -->
|
||||
<section id="component-notification-card">
|
||||
<p class="sg-preview-label">Component Notification Card</p>
|
||||
|
||||
<div class="sg-preview-area">
|
||||
|
||||
<article class="sg-card" data-component="notification-card">
|
||||
<div class="sg-card-segment sg-card-segment--header sg-card-segment--signal-red" data-component-part="card-header">
|
||||
<p class="sg-body">
|
||||
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.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="sg-card-segment sg-card-segment--body sg-card-segment--signal-red" data-component-part="card-body">
|
||||
<button class="sg-interaction-element sg-button sg-button--active" type="button" data-component="button" data-component-state="active">
|
||||
zum Unternehmen
|
||||
</button>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="sg-card" data-component="notification-card">
|
||||
<div class="sg-card-segment sg-card-segment--header sg-card-segment--signal-green" data-component-part="card-header">
|
||||
<p class="sg-body">
|
||||
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.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="sg-card-segment sg-card-segment--body sg-card-segment--signal-green" data-component-part="card-body">
|
||||
<button class="sg-interaction-element sg-button sg-button--active" type="button" data-component="button" data-component-state="active">
|
||||
zum Unternehmen
|
||||
</button>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Component: Content Card -->
|
||||
<section id="component-content-card">
|
||||
<p class="sg-preview-label">Component: Content Card</p>
|
||||
|
||||
@@ -93,6 +93,16 @@
|
||||
background: var(--surface-card-header-muted);
|
||||
}
|
||||
|
||||
.sg-card-segment--signal-red {
|
||||
background: var(--color-signal-red);
|
||||
color: var(--text-card-header);
|
||||
}
|
||||
|
||||
.sg-card-segment--signal-green {
|
||||
background: var(--color-signal-green);
|
||||
color: var(--text-card-header);
|
||||
}
|
||||
|
||||
.sg-card-segment--gray {
|
||||
background: var(--surface-card-segment-neutral);
|
||||
}
|
||||
@@ -184,4 +194,3 @@
|
||||
margin: 0;
|
||||
color: var(--text-card-transparent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user