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

49 lines
1.1 KiB
SCSS
Raw Normal View History

@import "../../colors";
2016-06-23 07:27:43 -04:00
@import "../../frameless";
.select {
2016-06-23 07:27:43 -04:00
label {
font-weight: 500;
}
select {
transition: all .5s ease;
margin: .75rem 0;
border: 1px solid $active-gray;
border-radius: 5px;
background: $ui-light-gray url("../../../static/svgs/forms/carot.svg") no-repeat right center;
padding-right: 4rem;
width: 100%;
height: 3rem;
text-indent: 1rem;
font-size: .875rem;
appearance: none;
&::-ms-expand {
display: none;
}
&::-ms-value {
background-color: inherit;
padding-left: 1rem;
color: inherit;
}
&:focus {
transition: all .5s ease;
outline: none;
border: 1px solid $ui-blue;
}
2016-06-23 07:27:43 -04:00
&:focus,
&:hover {
background: $ui-light-gray url("../../../static/svgs/forms/carot-hover.svg") no-repeat right center;
}
> option {
background-color: $ui-white;
width: 100%;
}
2016-06-23 07:27:43 -04:00
}
}