naive-ui/styles/Select.scss

36 lines
707 B
SCSS
Raw Normal View History

2019-06-14 17:39:56 +08:00
@import './mixins/mixins.scss';
@import './theme/default.scss';
2019-06-14 19:33:41 +08:00
@include b(select) {
2019-06-14 17:39:56 +08:00
display: inline-block;
border: none;
outline: none;
width: 100%;
2019-06-25 14:59:26 +08:00
color: $select-text-color;
2019-06-14 17:39:56 +08:00
font-family: $default-font-family;
2019-06-27 11:02:01 +08:00
text-align: start;
2019-09-12 11:58:29 +08:00
vertical-align: baseline;
@include m(small-size) {
line-height: 28px;
height: 28px;
2019-09-15 13:04:01 +08:00
font-size: 14px;
2019-09-12 11:58:29 +08:00
}
@include m(medium-size) {
line-height: 34px;
height: 34px;
2019-09-15 13:04:01 +08:00
font-size: 14px;
2019-09-12 11:58:29 +08:00
}
@include m(large-size) {
line-height: 40px;
height: 40px;
2019-09-15 13:04:01 +08:00
font-size: 16px;
2019-09-12 11:58:29 +08:00
}
}
.n-select-detached-content-container {
transform: translateZ(0);
}
@include b(select-menu) {
@include fade-in-scale-up-transition(select-menu);
2019-06-14 17:39:56 +08:00
}