Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / static / im / less / xtra.less @ cf4c546f

History | View | Annotate | Download (882 Bytes)

1 13858d75 Kostas Papadimitriou
// row helper
2 13858d75 Kostas Papadimitriou
.makeRow { .clearfix(); margin-left: -@gridGutterWidth; }
3 13858d75 Kostas Papadimitriou
4 86243acc Kostas Papadimitriou
5 13858d75 Kostas Papadimitriou
#font {
6 13858d75 Kostas Papadimitriou
  .main(@weight: normal, @size: 14px, @lineHeight: 22px) {
7 13858d75 Kostas Papadimitriou
    font-family: 'Antic', sans-serif;
8 13858d75 Kostas Papadimitriou
    font-size: @size;
9 13858d75 Kostas Papadimitriou
    font-weight: @weight;
10 13858d75 Kostas Papadimitriou
    line-height: @lineHeight;
11 13858d75 Kostas Papadimitriou
    letter-spacing: 1px;
12 13858d75 Kostas Papadimitriou
  }
13 13858d75 Kostas Papadimitriou
}
14 13858d75 Kostas Papadimitriou
15 86243acc Kostas Papadimitriou
16 13858d75 Kostas Papadimitriou
.button {
17 13858d75 Kostas Papadimitriou
    #font.main();
18 13858d75 Kostas Papadimitriou
    background-color: @buttonBg;
19 13858d75 Kostas Papadimitriou
    color: @buttonColor;
20 13858d75 Kostas Papadimitriou
    border: none;
21 13858d75 Kostas Papadimitriou
    padding: 0.8em @gridGutterWidth;
22 13858d75 Kostas Papadimitriou
    font-size: 1em;
23 13858d75 Kostas Papadimitriou
24 13858d75 Kostas Papadimitriou
    &:hover {
25 13858d75 Kostas Papadimitriou
        background-color: @linkColor;    
26 13858d75 Kostas Papadimitriou
    }
27 f70310ce Kostas Papadimitriou
}
28 f70310ce Kostas Papadimitriou
29 320d484c Kostas Papadimitriou
// specific styles for A buttons
30 f70310ce Kostas Papadimitriou
a.button {
31 320d484c Kostas Papadimitriou
    text-align: center !important;
32 320d484c Kostas Papadimitriou
    color: #fff !important;
33 f70310ce Kostas Papadimitriou
    border: none !important;
34 320d484c Kostas Papadimitriou
    display: block !important;
35 320d484c Kostas Papadimitriou
36 320d484c Kostas Papadimitriou
    &:hover {
37 320d484c Kostas Papadimitriou
        color: #fff !important;    
38 320d484c Kostas Papadimitriou
    }
39 13858d75 Kostas Papadimitriou
}
40 86243acc Kostas Papadimitriou
41 86243acc Kostas Papadimitriou
42 86243acc Kostas Papadimitriou
.transit(@type:color, @time:.15s, @easing:linear) {
43 86243acc Kostas Papadimitriou
    -webkit-transition: @type @time @easing;
44 86243acc Kostas Papadimitriou
    transition: @type @time @easing;
45 86243acc Kostas Papadimitriou
}