From 533dd3b167e50e8c96185f88d9b6a50832649732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Checa?= Date: Mon, 22 Feb 2016 15:43:26 +0100 Subject: [PATCH] Input option component: minor changes --- .../cdb-components/forms/option_input.scss | 52 +++++++++++++------ 1 file changed, 37 insertions(+), 15 deletions(-) diff --git a/src/scss/cdb-components/forms/option_input.scss b/src/scss/cdb-components/forms/option_input.scss index 1709d26..1d41e53 100644 --- a/src/scss/cdb-components/forms/option_input.scss +++ b/src/scss/cdb-components/forms/option_input.scss @@ -5,25 +5,39 @@ # Forms/Option input ``` -
+
+ -
+ + +
+ -
+
+ -
+
+ ``` */ @@ -95,9 +109,8 @@ @include display-flex(); @include align-items(center); @include align-content(center); - width: 100%; + width: auto; height: 100%; - color: $cMainBg; font-size: $sFontSize-medium; box-sizing: content-box; @@ -107,12 +120,21 @@ content: 'ยท'; } &:last-child { + width: 100%; + &::after { padding: 0; content: ''; } } } +.CDB-OptionInput-optionContent { + color: $cMainBg; + + &:hover { + text-decoration: none; + } +} .CDB-OptionInput-option.is-active > .CDB-OptionInput-optionContent { padding: 9px 0; border-bottom: 1px solid $cMainBg;