diff --git a/components/interactive-elements.html b/components/interactive-elements.html index a3e27d4..cdd2220 100644 --- a/components/interactive-elements.html +++ b/components/interactive-elements.html @@ -80,7 +80,7 @@ -->
-

form-inactive-selectable

+

Komponente normal

+ + @@ -418,8 +439,16 @@ - form-disabled: technically unavailable and cannot be selected. -->
+ + @@ -480,8 +512,8 @@
-

form-active / selected

-
+ +
+

Variante aktivierbar: inaktiv

+ +
+ +
+

Variante aktivierbar: aktiv

+ +
diff --git a/styleguide.css b/styleguide.css index e3d495a..de71c90 100644 --- a/styleguide.css +++ b/styleguide.css @@ -462,6 +462,12 @@ section + section { color: var(--text-control-default); } + .sg-activatable-control { + display: inline-flex; + align-items: center; + gap: var(--spacing-small); + } + .sg-interaction-element { box-sizing: border-box; height: var(--interaction-height); @@ -602,6 +608,7 @@ section + section { .sg-pulldown--inactive-selectable { background-color: var(--surface-control-inactive); color: var(--text-control-default); + opacity: var(--disabled-opacity); } .sg-pulldown--disabled { @@ -918,6 +925,14 @@ section + section { color: var(--text-control-default); } + .sg-slider-row .sg-pulldown-panel__remove { + flex: 0 0 auto; + } + + .sg-slider-row--inactive-selectable { + opacity: var(--disabled-opacity); + } + @media (max-width: 48rem) { .sg-slider-row { flex-direction: column; @@ -1248,6 +1263,7 @@ section + section { .sg-checkbox-field--inactive-selectable { color: var(--text-control-default); background: var(--surface-control-inactive); + opacity: var(--disabled-opacity); } .sg-checkbox-field--disabled { @@ -1310,6 +1326,7 @@ section + section { .sg-radio-field--inactive-selectable { color: var(--text-control-default); background: var(--surface-radio-default); + opacity: var(--disabled-opacity); } .sg-radio-field--disabled {