Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (1.2 kB)

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 3a9f4931 Sofia Papagiannaki
28 25d9d4d0 Sofia Papagiannaki
    &.back {
29 25d9d4d0 Sofia Papagiannaki
        text-decoration: none;
30 25d9d4d0 Sofia Papagiannaki
        bottom: 0;
31 25d9d4d0 Sofia Papagiannaki
        float: right;
32 25d9d4d0 Sofia Papagiannaki
        &.right { right: 0}
33 25d9d4d0 Sofia Papagiannaki
        z-index: 500;
34 3a9f4931 Sofia Papagiannaki
    }
35 3a9f4931 Sofia Papagiannaki
}
36 3a9f4931 Sofia Papagiannaki
37 25d9d4d0 Sofia Papagiannaki
.buttons-list {
38 25d9d4d0 Sofia Papagiannaki
    z-index: 300;
39 25d9d4d0 Sofia Papagiannaki
    position: relative;
40 25d9d4d0 Sofia Papagiannaki
    .button {
41 25d9d4d0 Sofia Papagiannaki
        margin-left: 10px;    
42 25d9d4d0 Sofia Papagiannaki
    }    
43 68cb6899 Sofia Papagiannaki
44 25d9d4d0 Sofia Papagiannaki
    &.fixpos {
45 25d9d4d0 Sofia Papagiannaki
        margin-top: -42px;    
46 68cb6899 Sofia Papagiannaki
    }
47 68cb6899 Sofia Papagiannaki
}
48 68cb6899 Sofia Papagiannaki
49 320d484c Kostas Papadimitriou
// specific styles for A buttons
50 f70310ce Kostas Papadimitriou
a.button {
51 320d484c Kostas Papadimitriou
    text-align: center !important;
52 320d484c Kostas Papadimitriou
    color: #fff !important;
53 f70310ce Kostas Papadimitriou
    border: none !important;
54 320d484c Kostas Papadimitriou
    display: block !important;
55 320d484c Kostas Papadimitriou
56 320d484c Kostas Papadimitriou
    &:hover {
57 320d484c Kostas Papadimitriou
        color: #fff !important;    
58 320d484c Kostas Papadimitriou
    }
59 13858d75 Kostas Papadimitriou
}
60 86243acc Kostas Papadimitriou
61 86243acc Kostas Papadimitriou
62 86243acc Kostas Papadimitriou
.transit(@type:color, @time:.15s, @easing:linear) {
63 86243acc Kostas Papadimitriou
    -webkit-transition: @type @time @easing;
64 86243acc Kostas Papadimitriou
    transition: @type @time @easing;
65 86243acc Kostas Papadimitriou
}