root / cloudcms / static / cloudcms / less / xtra.less @ c1468bcc
History | View | Annotate | Download (655 Bytes)
1 |
// row helper |
---|---|
2 |
.makeRow { .clearfix(); margin-left: -@gridGutterWidth; } |
3 |
|
4 |
|
5 |
#font { |
6 |
.main(@weight: normal, @size: 14px, @lineHeight: 22px) { |
7 |
font-family: 'Antic', sans-serif; |
8 |
font-size: @size; |
9 |
font-weight: @weight; |
10 |
line-height: @lineHeight; |
11 |
letter-spacing: 1px; |
12 |
} |
13 |
} |
14 |
|
15 |
|
16 |
.button { |
17 |
#font.main(); |
18 |
background-color: @buttonBg; |
19 |
color: @buttonColor; |
20 |
border: none; |
21 |
padding: 0.8em @gridGutterWidth; |
22 |
font-size: 1em; |
23 |
|
24 |
&:hover { |
25 |
background-color: @linkColor; |
26 |
} |
27 |
} |
28 |
|
29 |
|
30 |
.transit(@type:color, @time:.15s, @easing:linear) { |
31 |
-webkit-transition: @type @time @easing; |
32 |
transition: @type @time @easing; |
33 |
} |
34 |
|