diff --git a/src/scss/cdb-components/forms/option_input.scss b/src/scss/cdb-components/forms/option_input.scss index 4b57d49..443e0bd 100644 --- a/src/scss/cdb-components/forms/option_input.scss +++ b/src/scss/cdb-components/forms/option_input.scss @@ -5,43 +5,59 @@ # Forms/Option input ``` -
-
- 8px -
+
+
-
-
-
``` @@ -53,11 +69,9 @@ .CDB-OptionInput { @include display-flex(); - @include align-items(center); @include align-content(center); width: $baseSize * 20; height: $baseSize * 4; - padding: $baseSize; border: 1px solid $cMainLine; border-radius: $baseSize / 2; box-sizing: border-box; @@ -73,8 +87,15 @@ .CDB-OptionInput.is-active { border: 1px solid $cBlue; } -.CDB-OptionInput-element { +.CDB-OptionInput-container { @include display-flex(); + @include align-items(center); + @include align-content(center); + margin: 0 $baseSize; +} +.CDB-OptionInput-option { + @include display-flex(); + @include align-items(center); @include align-content(center); color: $cMainBg; font-size: $sFontSize-medium; @@ -92,9 +113,7 @@ } } } -.CDB-OptionInput--text { +.CDB-OptionInput-option.is-active > .CDB-OptionInput-optionContent { padding: 9px 0; -} -.CDB-OptionInput--text.is-active { border-bottom: 1px solid $cMainBg; }