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
88 lines (69 loc) · 1.37 KB
/
index.less
File metadata and controls
88 lines (69 loc) · 1.37 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
@import '../style/var';
.van-tag {
display: inline-flex;
align-items: center;
padding: @tag-padding;
color: @tag-text-color;
font-size: @tag-font-size;
line-height: normal;
border-radius: @tag-border-radius;
&::after {
border-color: currentColor;
border-radius: @tag-border-radius * 2;
}
&--default {
background-color: @tag-default-color;
&.van-tag--plain {
color: @tag-default-color;
}
}
&--danger {
background-color: @tag-dander-color;
&.van-tag--plain {
color: @tag-dander-color;
}
}
&--primary {
background-color: @tag-primary-color;
&.van-tag--plain {
color: @tag-primary-color;
}
}
&--success {
background-color: @tag-success-color;
&.van-tag--plain {
color: @tag-success-color;
}
}
&--warning {
background-color: @tag-warning-color;
&.van-tag--plain {
color: @tag-warning-color;
}
}
&--plain {
background-color: @tag-plain-background-color;
}
&--mark {
padding-right: .7em;
&,
&::after {
border-radius: 0 @tag-round-border-radius @tag-round-border-radius 0;
}
}
&--round {
&,
&::after {
border-radius: @tag-round-border-radius;
}
}
&--medium {
font-size: @tag-medium-font-size;
}
&--large {
font-size: @tag-large-font-size;
}
&__close {
margin-left: 2px;
}
}