Option input content: fixes

This commit is contained in:
María Checa 2016-02-22 17:13:50 +01:00
parent 533dd3b167
commit e9bdd7017c

View File

@ -88,6 +88,7 @@
border-radius: $baseSize / 2; border-radius: $baseSize / 2;
box-sizing: border-box; box-sizing: border-box;
cursor: pointer; cursor: pointer;
vertical-align: middle;
&:hover { &:hover {
border: 1px solid $cHoverLine; border: 1px solid $cHoverLine;
@ -115,7 +116,7 @@
box-sizing: content-box; box-sizing: content-box;
&::after { &::after {
padding: 9px; padding: 0 9px;
color: $cHintText; color: $cHintText;
content: '·'; content: '·';
} }
@ -129,6 +130,9 @@
} }
} }
.CDB-OptionInput-optionContent { .CDB-OptionInput-optionContent {
@include display-flex();
@include align-items(center);
height: 100%;
color: $cMainBg; color: $cMainBg;
&:hover { &:hover {
@ -136,6 +140,5 @@
} }
} }
.CDB-OptionInput-option.is-active > .CDB-OptionInput-optionContent { .CDB-OptionInput-option.is-active > .CDB-OptionInput-optionContent {
padding: 9px 0;
border-bottom: 1px solid $cMainBg; border-bottom: 1px solid $cMainBg;
} }