mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-11 00:02:48 -05:00
d8e07ee7f6
so that it can include `label`. Also add some default styling to `label` in `.row`. Thanks @rschamp!
48 lines
1.1 KiB
SCSS
48 lines
1.1 KiB
SCSS
@import "../../colors";
|
|
@import "../../frameless";
|
|
|
|
.select {
|
|
label {
|
|
font-weight: 500;
|
|
}
|
|
|
|
select {
|
|
transition: all .5s ease;
|
|
margin-bottom: .75rem;
|
|
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;
|
|
}
|
|
|
|
&:focus,
|
|
&:hover {
|
|
background: $ui-light-gray url("../../../static/svgs/forms/carot-hover.svg") no-repeat right center;
|
|
}
|
|
|
|
> option {
|
|
background-color: $ui-white;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|