Align activation toggle with semantic token cascade
This commit is contained in:
+39
-42
@@ -90,6 +90,7 @@
|
||||
--text-button-process: var(--color-font-light);
|
||||
--text-tab-selected: var(--color-font-light);
|
||||
--text-tab-unselected: var(--color-dark-grey);
|
||||
--text-toggle-label-active: var(--color-font-light);
|
||||
--text-menu-link-portal: var(--color-font-dark);
|
||||
--text-help-icon: var(--color-font-dark);
|
||||
--text-help-panel: var(--color-font-dark);
|
||||
@@ -890,6 +891,44 @@ section + section {
|
||||
height: var(--layout-mode-toggle-local-height);
|
||||
}
|
||||
|
||||
.sg-activation-toggle-pattern {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-small);
|
||||
}
|
||||
|
||||
.sg-activation-mode-toggle {
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.sg-activation-mode-toggle .sg-mode-toggle__switch {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sg-activation-mode-toggle .sg-mode-toggle__handle {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.sg-activation-mode-toggle__switch-label {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
text-align: center;
|
||||
font-family: var(--font-family-base);
|
||||
font-size: var(--font-size-small);
|
||||
font-weight: var(--font-weight-regular);
|
||||
line-height: var(--layout-mode-toggle-local-height);
|
||||
text-transform: lowercase;
|
||||
color: var(--text-control-default);
|
||||
}
|
||||
|
||||
.sg-activation-mode-toggle[data-active="absolute"] .sg-activation-mode-toggle__switch-label--left,
|
||||
.sg-activation-mode-toggle[data-active="relative"] .sg-activation-mode-toggle__switch-label--right {
|
||||
color: var(--text-toggle-label-active);
|
||||
}
|
||||
|
||||
.sg-slider-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -1769,48 +1808,6 @@ section + section {
|
||||
}
|
||||
}
|
||||
|
||||
/* ========================================================= */
|
||||
/* Patterns: Aktivierungs-Schalter */
|
||||
/* ========================================================= */
|
||||
|
||||
.sg-activation-toggle-pattern {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-small);
|
||||
}
|
||||
|
||||
.sg-activation-mode-toggle {
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.sg-activation-mode-toggle .sg-mode-toggle__switch {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sg-activation-mode-toggle .sg-mode-toggle__handle {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.sg-activation-mode-toggle__switch-label {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
text-align: center;
|
||||
font-family: var(--font-family-base);
|
||||
font-size: var(--font-size-small);
|
||||
font-weight: var(--font-weight-regular);
|
||||
line-height: var(--layout-mode-toggle-local-height);
|
||||
text-transform: lowercase;
|
||||
color: var(--text-control-default);
|
||||
}
|
||||
|
||||
.sg-activation-mode-toggle[data-active="absolute"] .sg-activation-mode-toggle__switch-label--left,
|
||||
.sg-activation-mode-toggle[data-active="relative"] .sg-activation-mode-toggle__switch-label--right {
|
||||
color: var(--color-font-light);
|
||||
}
|
||||
|
||||
/* ========================================================= */
|
||||
/* Patterns: Object Card */
|
||||
/* ========================================================= */
|
||||
|
||||
Reference in New Issue
Block a user