scratch-www/src/components/forms/input.scss

28 lines
557 B
SCSS
Raw Normal View History

2015-09-21 09:18:00 -04:00
.input {
2015-09-24 19:27:50 -04:00
transition: all 1s ease;
margin: .5em 0;
2015-09-24 19:27:50 -04:00
border: 1px solid rgba(0, 0, 0, .1);
border-radius: 5px;
background-color: #f7f7f7;
2015-09-24 19:27:50 -04:00
padding: .75em 1em;
color: black;
font-size: .8rem;
&:focus {
2015-09-24 19:27:50 -04:00
transition: all 1s ease;
outline: none;
border: 1px solid rgba(0, 0, 0, .1);
background-color: #d3eaf8;
}
2015-09-24 19:27:50 -04:00
&.fail {
border: 1px solid #eab012;
background-color: #fff7df;
}
2015-09-24 19:27:50 -04:00
&.pass {
border: 1px solid #55db58;
background-color: #eafdea;
}
2015-09-21 09:18:00 -04:00
}