mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-12 08:41:31 -05:00
1ae8180aa4
* Fix width for Select in Message Section * Removed extra CSS property * Removed Margin property; Not required * Fix for the CI test
53 lines
1.2 KiB
SCSS
53 lines
1.2 KiB
SCSS
@import "../../colors";
|
|
@import "../../frameless";
|
|
|
|
.select {
|
|
label {
|
|
font-weight: 500;
|
|
}
|
|
|
|
select {
|
|
transition: border .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;
|
|
padding-left: 1rem;
|
|
width: 100%;
|
|
height: 3rem;
|
|
color: $type-gray;
|
|
font-size: .875rem;
|
|
appearance: none;
|
|
|
|
&::-ms-expand {
|
|
display: none;
|
|
}
|
|
|
|
&::-ms-value {
|
|
background-color: inherit;
|
|
padding-left: 1rem;
|
|
color: inherit;
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border: 1px solid $ui-blue;
|
|
}
|
|
|
|
&:-moz-focusring {
|
|
text-shadow: 0 0 0 $type-gray;
|
|
color: transparent;
|
|
}
|
|
|
|
&:focus,
|
|
&:hover {
|
|
background: $ui-light-gray url("../../../static/svgs/forms/carot-hover.svg") no-repeat right center;
|
|
}
|
|
|
|
> option {
|
|
background-color: $ui-white;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|