m-btn.less
1.41 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
89
90
91
92
93
/*
* button css
* Code at 2015/01/27
* by van
*/
// @btn-666: #666;
// @btn-6c2: #6c2;
// @btn-5b2: #5b2;
// @btn-fon: #6acb3b;
// @btn-fff: #fff;
// @btn-f9d: #ff9d2c;
// @btn-fa4: #fa4535;
@import "var";
.display-as-inline () {
display: inline-block;
*display: inline;
*zoom: 1;
}
.btn-white,
.btn-white-f,
.btn-white-fb,
.btn-white-fb18,
.btn-red,
.btn-green-f,
.btn-orange-f {
.display-as-inline;
}
.btn-red,
.btn-white,
.btn-grey,
.btn-white-f,
.btn-white-fb,
.btn-white-fb18,
.btn-green-f,
.btn-orange-f {
border: 1px solid #ddd;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
background: #fff;
height: 45px;
line-height: 44px;
padding: 0 40px;
margin: 10px 0;
cursor: pointer;
vertical-align: middle;
}
.btn-grey,
.btn-white {
color: @btn-666;
height: 39px;
line-height: 39px;
}
.btn-white-fb,
.btn-white-fb18 {
border-color: @btn-fon;
}
.btn-white-f,
.btn-white-fb,
.btn-white-fb18 {
color: @btn-fon;
}
.btn-green-f {
border-color: @btn-6c2;
background: @btn-6c2;
}
.btn-orange-f {
border-color: @btn-f9d;
background: @btn-f9d;
}
.btn-red,
.btn-green-f,
.btn-orange-f {
color: @btn-fff;
}
.btn-red,
.btn-green-f,
.btn-orange-f,
.btn-white-fb18 {
font-size: 18px;
}
.btn-red {
border: 1px solid @btn-fa4;
background: @btn-fa4;
}
.btn-grey {
border-color: #ccc;
color: #d6d6d6;
}