-
Notifications
You must be signed in to change notification settings - Fork 0
/
select-dropdown.scss
59 lines (51 loc) · 1.38 KB
/
select-dropdown.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@import "mixins/mixins";
@import "common/var";
@import "./popper";
@include b(select-dropdown) {
position: absolute;
z-index: #{$--index-top + 1};
border: $--select-dropdown-border;
border-radius: $--border-radius-base;
background-color: $--select-dropdown-background;
box-shadow: $--select-dropdown-shadow;
box-sizing: border-box;
margin: 5px 0;
@include when(multiple) {
& .el-select-dropdown__item.selected {
color: $--select-option-selected-font-color;
background-color: $--select-dropdown-background;
&.hover {
background-color: $--select-option-hover-background;
}
&::after {
position: absolute;
right: 20px;
font-family: 'element-icons';
content: "\e6da";
font-size: 12px;
font-weight: bold;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
}
.el-scrollbar.is-empty .el-select-dropdown__list{
padding: 0;
}
}
@include b(select-dropdown__empty) {
padding: $--select-dropdown-empty-padding;
margin: 0;
text-align: center;
color: $--select-dropdown-empty-color;
font-size: $--select-font-size;
}
@include b(select-dropdown__wrap) {
max-height: $--select-dropdown-max-height;
}
@include b(select-dropdown__list) {
list-style: none;
padding: $--select-dropdown-padding;
margin: 0;
box-sizing: border-box;
}