forked from youzan/vant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.less
More file actions
48 lines (40 loc) · 906 Bytes
/
index.less
File metadata and controls
48 lines (40 loc) · 906 Bytes
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
@import '../style/var';
.van-tree-select {
position: relative;
display: flex;
font-size: @tree-select-font-size;
user-select: none;
&__nav {
flex: 1;
overflow-y: auto;
background-color: @tree-select-nav-background-color;
-webkit-overflow-scrolling: touch;
&-item {
padding: @tree-select-nav-item-padding;
}
}
&__content {
flex: 2;
overflow-y: auto;
background-color: @tree-select-content-background-color;
-webkit-overflow-scrolling: touch;
}
&__item {
position: relative;
padding: 0 32px 0 @padding-md;
font-weight: bold;
line-height: @tree-select-item-height;
&--active {
color: @tree-select-item-active-color;
}
&--disabled {
color: @tree-select-item-disabled-color;
}
}
&__selected {
position: absolute;
top: 50%;
right: @padding-md;
margin-top: -@padding-xs;
}
}