Add stacked links menu item variant
This commit is contained in:
@@ -57,6 +57,19 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<!-- Component: Link Menu Items -->
|
||||||
|
<section id="component-linksmenu-items">
|
||||||
|
<p class="sg-preview-label">Component: Linksmenue-Items</p>
|
||||||
|
|
||||||
|
<div class="sg-tab-button-group" role="tablist" aria-label="Linksmenue Items" data-component="tab-navigation" data-component-size="large" data-component-variant="linksmenu-items">
|
||||||
|
<button class="sg-interaction-element sg-button sg-tab-button" type="button" role="tab" aria-selected="false" data-component-part="tab-button">Gesamtbewertung</button>
|
||||||
|
<button class="sg-interaction-element sg-button sg-tab-button" type="button" role="tab" aria-selected="true" data-component-part="tab-button">Marktbewertung</button>
|
||||||
|
<button class="sg-interaction-element sg-button sg-tab-button" type="button" role="tab" aria-selected="false" data-component-part="tab-button">Wachstum</button>
|
||||||
|
<button class="sg-interaction-element sg-button sg-tab-button" type="button" role="tab" aria-selected="false" data-component-part="tab-button">Profitabilität</button>
|
||||||
|
<button class="sg-interaction-element sg-button sg-tab-button" type="button" role="tab" aria-selected="false" data-component-part="tab-button">Stabilität</button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<!-- Component: Button Tab Navigation In Content -->
|
<!-- Component: Button Tab Navigation In Content -->
|
||||||
<section id="component-button-tab-navigation-in-content">
|
<section id="component-button-tab-navigation-in-content">
|
||||||
<p class="sg-preview-label">Component: Tasten-Navigation-gross in content</p>
|
<p class="sg-preview-label">Component: Tasten-Navigation-gross in content</p>
|
||||||
|
|||||||
@@ -155,6 +155,16 @@
|
|||||||
background: var(--surface-tab-compact-background);
|
background: var(--surface-tab-compact-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sg-tab-button-group[data-component-variant="linksmenu-items"] {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sg-tab-button-group[data-component-variant="linksmenu-items"] .sg-tab-button {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.sg-tab-button-group[data-component-context="content"] {
|
.sg-tab-button-group[data-component-context="content"] {
|
||||||
background: var(--surface-tab-compact-background);
|
background: var(--surface-tab-compact-background);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user