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
71 lines (60 loc) · 1.56 KB
/
index.less
File metadata and controls
71 lines (60 loc) · 1.56 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
@import '../style/var';
.van-action-sheet {
max-height: @action-sheet-max-height;
color: @action-sheet-item-text-color;
&__item,
&__cancel {
display: block;
width: 100%;
font-size: @action-sheet-item-font-size;
line-height: @action-sheet-item-height;
text-align: center;
background-color: @action-sheet-item-background;
border: none;
&:active {
background-color: @active-color;
}
}
&__item {
height: @action-sheet-item-height;
&--disabled {
color: @action-sheet-item-disabled-text-color;
&:active {
background-color: @action-sheet-item-background;
}
}
}
&__subname {
margin-left: @padding-base;
color: @action-sheet-subname-color;
font-size: @action-sheet-subname-font-size;
}
&__cancel::before {
display: block;
height: @action-sheet-cancel-padding-top;
background-color: @action-sheet-cancel-padding-color;
content: ' ';
}
&__header {
font-weight: @font-weight-bold;
font-size: @action-sheet-header-font-size;
line-height: @action-sheet-header-height;
text-align: center;
}
&__description {
padding: @padding-md;
color: @action-sheet-description-color;
font-size: @action-sheet-description-font-size;
line-height: @action-sheet-description-line-height;
text-align: center;
}
&__close {
position: absolute;
top: 0;
right: 0;
padding: @action-sheet-close-icon-padding;
color: @action-sheet-close-icon-color;
font-size: @action-sheet-close-icon-size;
line-height: inherit;
}
}