2015-09-29 11:22:48 -04:00
|
|
|
@import "../../colors";
|
|
|
|
|
|
|
|
$base-bg: $ui-white;
|
|
|
|
$focus-bg: lighten($ui-blue, 35%);
|
|
|
|
$fail-bg: lighten($ui-orange, 35%);
|
|
|
|
$pass-bg: lighten($ui-aqua, 35%);
|
|
|
|
|
2015-09-21 09:18:00 -04:00
|
|
|
.input {
|
2015-09-24 19:27:50 -04:00
|
|
|
transition: all 1s ease;
|
2015-09-21 09:52:53 -04:00
|
|
|
margin: .5em 0;
|
2015-09-29 11:22:48 -04:00
|
|
|
border: 1px solid $active-gray;
|
2015-09-24 19:27:50 -04:00
|
|
|
border-radius: 5px;
|
2015-09-29 11:22:48 -04:00
|
|
|
background-color: $base-bg;
|
2015-09-24 19:27:50 -04:00
|
|
|
padding: .75em 1em;
|
2015-09-29 11:22:48 -04:00
|
|
|
color: $type-gray;
|
2015-09-24 19:27:50 -04:00
|
|
|
font-size: .8rem;
|
|
|
|
|
2015-09-21 09:52:53 -04:00
|
|
|
&:focus {
|
2015-09-24 19:27:50 -04:00
|
|
|
transition: all 1s ease;
|
|
|
|
outline: none;
|
2015-09-29 11:22:48 -04:00
|
|
|
border: 1px solid $active-dark-gray;
|
|
|
|
background-color: $focus-bg;
|
2015-09-21 09:52:53 -04:00
|
|
|
}
|
2015-09-24 19:27:50 -04:00
|
|
|
|
2015-09-21 09:52:53 -04:00
|
|
|
&.fail {
|
2015-09-29 11:22:48 -04:00
|
|
|
border: 1px solid $active-dark-gray;
|
|
|
|
background-color: $fail-bg;
|
2015-09-21 09:52:53 -04:00
|
|
|
}
|
2015-09-24 19:27:50 -04:00
|
|
|
|
2015-09-21 09:52:53 -04:00
|
|
|
&.pass {
|
2015-09-29 11:22:48 -04:00
|
|
|
border: 1px solid $active-dark-gray;
|
|
|
|
background-color: $pass-bg;
|
2015-09-21 09:52:53 -04:00
|
|
|
}
|
2015-09-21 09:18:00 -04:00
|
|
|
}
|