2019-06-14 17:39:56 +08:00
|
|
|
@import './mixins/mixins.scss';
|
2020-02-11 14:44:29 +08:00
|
|
|
|
2019-06-14 17:39:56 +08:00
|
|
|
|
2019-09-25 14:24:53 +08:00
|
|
|
@include themes-mixin {
|
|
|
|
@include once {
|
|
|
|
@include b(select) {
|
|
|
|
display: inline-block;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
width: 100%;
|
2020-02-09 14:14:32 +08:00
|
|
|
z-index: auto;
|
2019-12-20 16:59:37 +08:00
|
|
|
font-family: $--n-font-family;
|
2019-09-25 14:24:53 +08:00
|
|
|
text-align: start;
|
|
|
|
vertical-align: baseline;
|
2020-02-09 14:14:32 +08:00
|
|
|
// transform: translateZ(0); // to avoid blink of activator when animation occurs nearby
|
2019-09-25 14:24:53 +08:00
|
|
|
&:not(.n-select--multiple) {
|
|
|
|
@include m(small-size) {
|
|
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
@include m(medium-size) {
|
|
|
|
height: 34px;
|
|
|
|
}
|
|
|
|
@include m(large-size) {
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include m(small-size) {
|
|
|
|
line-height: 28px;
|
|
|
|
}
|
|
|
|
@include m(medium-size) {
|
|
|
|
line-height: 34px;
|
|
|
|
}
|
|
|
|
@include m(large-size) {
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
@include m(small-size) {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
@include m(medium-size) {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
@include m(large-size) {
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
2019-09-15 17:01:35 +08:00
|
|
|
}
|
2019-09-25 14:24:53 +08:00
|
|
|
@include b(select-menu) {
|
2019-12-28 13:46:37 +08:00
|
|
|
@include fade-in-scale-up-transition(select-menu, $original-transition: (background-color .3s $--n-ease-in-out-cubic-bezier));
|
2019-09-15 17:01:35 +08:00
|
|
|
}
|
|
|
|
}
|
2019-08-06 15:56:00 +08:00
|
|
|
}
|