53 lines
958 B
SCSS

@import "../../abstracts/variables";
@import "../../abstracts/mixins";
/**
* <select> primary color, borders, icons, etcetera...
*/
$color: set-color(grey, light);
.nacho-select {
display: flex;
align-items: center;
height: 34px;
width: 100%;
max-width: 300px;
border: 1px solid shade($color, 20%);
background-color: set-color(white, base);
padding: 0 14px;
select {
@include prefix(appearance, none, ('webkit', 'moz'));
&::-ms-expand {
display: none;
}
outline: none;
border: 0;
border-radius: 2px;
background-color: transparent;
width: 100%;
height: 100%;
&:disabled {
cursor: not-allowed;
color: shade($color, 10%);
&:after {
visibility: hidden;
}
}
}
&:after {
color: $color;
content: '\e259';
font-size: 18px;
font-weight: normal;
pointer-events: none;
margin-left: -20px;
font-family: $glyphicons-stack;
}
}