Add VSF drawer object card with two-column white detail text

This commit is contained in:
2026-05-21 11:35:23 +02:00
parent 6d91fccff1
commit c4e14396fc
3 changed files with 53 additions and 28 deletions
+15 -28
View File
@@ -683,34 +683,21 @@
</div> </div>
</div> </div>
<div class="sg-content-cards-group" data-pattern="content-cards-group" aria-label="Fundamentalanalyse Karten Gruppe"> <article class="sg-card sg-object-card sg-vsf-drawer-object-card" data-pattern="object-card" aria-label="Objekt Card Western Digital Corporation">
<article class="sg-card sg-card--content-card" data-component="content-card" aria-label="Fundamentalanalyse Box 1"> <header class="sg-card-segment sg-card-segment--header sg-card-segment--darkblue sg-object-card__header" data-pattern-part="object-card-header">
<div class="sg-card-segment sg-card-segment--header sg-card-segment--darkblue" data-component-part="card-header"> <h2 class="sg-heading-h2 sg-vsf-drawer-object-card__heading">Western Digital Corporation</h2>
<div class="sg-strong">Box 1</div> </header>
</div> <div class="sg-card-segment sg-card-segment--body sg-object-card__content" data-pattern-part="object-card-content">
<div class="sg-card-segment sg-card-segment--body" data-component-part="card-body"> <p class="sg-body sg-text-layout-pattern__sample sg-text-layout-pattern__sample--two-column sg-vsf-drawer-object-card__text" data-pattern-part="text-block-two-column">
<p class="sg-body">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec fermentum sapien ut nibh egestas, sed ultrices quam vestibulum. Integer feugiat, sem a iaculis lacinia, augue libero pretium orci, in dictum eros nibh et risus. Fusce sagittis, dolor ut facilisis tincidunt, lorem nisi sodales sem.</p> Ticker: WDC
</div> Region: Amerika
</article> Sub-Region: Nordamerika
Land: Vereinigte Staaten von Amerika
<article class="sg-card sg-card--content-card" data-component="content-card" aria-label="Fundamentalanalyse Box 2"> ISIN: US9581021055
<div class="sg-card-segment sg-card-segment--header sg-card-segment--darkblue" data-component-part="card-header"> Industrie: Computer Hardware
<div class="sg-strong">Box 2</div> </p>
</div> </div>
<div class="sg-card-segment sg-card-segment--body" data-component-part="card-body"> </article>
<p class="sg-body">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec fermentum sapien ut nibh egestas, sed ultrices quam vestibulum. Integer feugiat, sem a iaculis lacinia, augue libero pretium orci, in dictum eros nibh et risus. Fusce sagittis, dolor ut facilisis tincidunt, lorem nisi sodales sem.</p>
</div>
</article>
<article class="sg-card sg-card--content-card" data-component="content-card" aria-label="Fundamentalanalyse Box 3">
<div class="sg-card-segment sg-card-segment--header sg-card-segment--darkblue" data-component-part="card-header">
<div class="sg-strong">Box 3</div>
</div>
<div class="sg-card-segment sg-card-segment--body" data-component-part="card-body">
<p class="sg-body">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec fermentum sapien ut nibh egestas, sed ultrices quam vestibulum. Integer feugiat, sem a iaculis lacinia, augue libero pretium orci, in dictum eros nibh et risus. Fusce sagittis, dolor ut facilisis tincidunt, lorem nisi sodales sem.</p>
</div>
</article>
</div>
<div class="sg-navigation-card-layout"> <div class="sg-navigation-card-layout">
<div class="sg-navigation-card-block"> <div class="sg-navigation-card-block">
+12
View File
@@ -64,6 +64,18 @@
<tr><td>text-card-transparent</td><td>color-font-light</td><td>Textfarbe der Text-Group-Box.</td></tr> <tr><td>text-card-transparent</td><td>color-font-light</td><td>Textfarbe der Text-Group-Box.</td></tr>
</tbody> </tbody>
</table> </table>
<h3 class="sg-sub-heading sg-section-h3">VSF Drawer Object Card</h3>
<table class="sg-foundation-table sg-table-label">
<thead><tr><th>Semantischer Token</th><th>Verwendeter Foundation-Token</th><th>Beschreibung Verwendungszweck in der Komponente</th></tr></thead>
<tbody>
<tr><td>surface-vsf-drawer-object-card-header</td><td>color-darkblue</td><td>Header-Fläche der VSF-spezifischen Object Card im Drawer.</td></tr>
<tr><td>surface-vsf-drawer-object-card-body</td><td>color-darkblue</td><td>Body-Fläche der VSF-spezifischen Object Card im Drawer.</td></tr>
<tr><td>text-vsf-drawer-object-card-heading</td><td>color-font-light</td><td>Textfarbe der H2-Überschrift im Header der VSF Drawer Object Card.</td></tr>
<tr><td>text-vsf-drawer-object-card-body</td><td>color-font-light</td><td>Textfarbe der Detailinhalte im Body der VSF Drawer Object Card.</td></tr>
<tr><td>layout-vsf-drawer-object-card-column-gap</td><td>spacing-large</td><td>Spaltenabstand des zweispaltigen Textlayouts in der VSF Drawer Object Card.</td></tr>
</tbody>
</table>
</section> </section>
<section id="semantic-interactive"> <section id="semantic-interactive">
+26
View File
@@ -180,6 +180,11 @@
--text-content-block-card-content: var(--color-font-dark); --text-content-block-card-content: var(--color-font-dark);
--text-card-list-drawer: var(--color-font-dark); --text-card-list-drawer: var(--color-font-dark);
--layout-card-list-drawer-width: var(--dimension-card-list-drawer-width); --layout-card-list-drawer-width: var(--dimension-card-list-drawer-width);
--surface-vsf-drawer-object-card-header: var(--color-darkblue);
--surface-vsf-drawer-object-card-body: var(--color-darkblue);
--text-vsf-drawer-object-card-heading: var(--color-font-light);
--text-vsf-drawer-object-card-body: var(--color-font-light);
--layout-vsf-drawer-object-card-column-gap: var(--spacing-large);
/* Typography */ /* Typography */
--font-family-base: "Open Sans", sans-serif; --font-family-base: "Open Sans", sans-serif;
@@ -2080,6 +2085,27 @@ section + section {
width: 100%; width: 100%;
} }
.sg-vsf-drawer-object-card {
--surface-card-header-primary: var(--surface-vsf-drawer-object-card-header);
--surface-object-card-lower-segment: var(--surface-vsf-drawer-object-card-body);
--text-card-header: var(--text-vsf-drawer-object-card-heading);
--text-card-body: var(--text-vsf-drawer-object-card-body);
}
.sg-vsf-drawer-object-card .sg-card-segment--body.sg-object-card__content {
color: var(--text-vsf-drawer-object-card-body);
}
.sg-vsf-drawer-object-card__text.sg-text-layout-pattern__sample--two-column {
color: var(--text-vsf-drawer-object-card-body);
column-gap: var(--layout-vsf-drawer-object-card-column-gap);
}
.sg-vsf-drawer-object-card__heading {
color: var(--text-vsf-drawer-object-card-heading);
margin: 0;
}
/* ========================================================= */ /* ========================================================= */
/* Patterns: Text Layouts */ /* Patterns: Text Layouts */
/* ========================================================= */ /* ========================================================= */