Split styleguide CSS into modular files per section/pattern/layout/page
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
/* ========================================================= */
|
||||
/* Patterns: Card Gruppe mit Tastennavigation */
|
||||
/* ========================================================= */
|
||||
|
||||
.sg-content-block-card-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-small);
|
||||
width: 100%;
|
||||
--surface-tab-unselected: var(--color-white);
|
||||
}
|
||||
|
||||
.sg-content-block-card-group__tabs,
|
||||
.sg-content-block-card-group__panels,
|
||||
.sg-content-block-card-group__panel,
|
||||
.sg-content-block-card-group__card {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sg-content-block-card-group__panel[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sg-content-block-card-group__title {
|
||||
color: var(--text-content-block-card-title);
|
||||
background: var(--surface-content-block-card-title);
|
||||
}
|
||||
|
||||
.sg-content-block-card-group__content {
|
||||
color: var(--text-content-block-card-content);
|
||||
background: var(--surface-content-block-card-content);
|
||||
}
|
||||
|
||||
.sg-content-block-card-group__content .sg-body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.sg-content-block-card-group__tabs[role="tablist"] > [role="tab"] {
|
||||
flex: 1 1 0;
|
||||
min-width: max-content;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user