button.less
5.71 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/*!
*/
@import "../common/icons.less";
@import "../common/button.less";
@import "base.less";
/* Button */
.km-ios7 .km-button
{
font-size: .9em;
padding: .5em .8em;
border: 1px solid currentcolor;
border-radius: @ios7-border-radius;
}
.km-ios7 .km-leftitem .km-button,
.km-ios7 .km-rightitem .km-button
{
border: 0;
margin-top: 0;
margin-bottom: 0;
padding-left: .2em;
padding-right: .2em;
}
.km-ios7 .k-toolbar > .km-button,
.km-ios7 .k-split-button > .km-button
{
border: 0;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
.km-ios7 .km-footer,
.km-ios7 .km-tabstrip .km-button
{
background: none;
}
.km-ios7 .km-back:before
{
content: "\a0";
display: inline-block;
color: currentcolor;
width: .8em;
height: .8em;
border-width: 0;
box-shadow: inset .25rem -.25rem 0 currentcolor;
.transform(rotate(45deg));
}
/* Badges and Details */
.km-ios7 .km-badge,
.km-ios7 .km-detail
{
font-size: .9em;
border: 0;
min-width: 1.8em;
height: 1.8em;
line-height: 1.8em;
text-align: center;
border-radius: 5em;
}
.km-ios7 .km-detail
{
font-size: 1.1em;
min-width: 1.4em;
height: 1.4em;
line-height: 1.4em;
border: 1px solid currentcolor;
}
.km-ios7 .km-detail:after
{
left: auto;
top: auto;
line-height: 1.3em;
text-align: center;
}
.km-ios7 .km-detaildisclose:after
{
font-size: 1.2em;
line-height: 1em;
}
.km-ios7 .km-detail:after,
.km-ios7 .km-detail:after,
.km-ios7 .km-detail .km-icon:after,
.km-ios7 .km-detail .km-icon:after
{
color: inherit;
}