Boyscout _inputs.scss

This commit is contained in:
rubenmoya 2017-11-20 16:19:24 +01:00
parent e0e0e7cf1c
commit aed2e0b394

View File

@ -24,36 +24,45 @@
&.is-cursor { &.is-cursor {
cursor: pointer; cursor: pointer;
} }
&.is-empty { &.is-empty {
color: $cHintText; color: $cHintText;
} }
&.is-number { &.is-number {
color: darken($cHighlight, 16%); color: darken($cHighlight, 16%);
} }
&.is-null { &.is-null {
color: $cHintText; color: $cHintText;
font-style: italic; font-style: italic;
} }
&:hover { &:hover {
border: 1px solid $cBlueHover; border: 1px solid $cBlueHover;
} }
&:focus { &:focus {
border: 1px solid $cBlue; border: 1px solid $cBlue;
outline: none; outline: none;
} }
&:disabled, &:disabled,
&.is-disabled { &.is-disabled {
border-color: $cSecondaryLine; border-color: $cSecondaryLine;
background: $cThirdBackground; background: $cThirdBackground;
cursor: default; cursor: default;
} }
&.has-icon { &.has-icon {
padding-right: $baseSize * 4; padding-right: $baseSize * 4;
} }
&.has-error { &.has-error {
@include default-form-error-style(); @include default-form-error-style();
} }
} }
.CDB-InputTextPlain { .CDB-InputTextPlain {
width: 100%; width: 100%;
border: 0; border: 0;