summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/base/mixins.less
blob: 7175ce1a2e3190b38fb1e000a5a24db142bd7c9b (plain)
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
@import "./markup.less";

.link-inherit {
    color: inherit;

    &:hover, &:focus {
        color: inherit;
    }
}

.transition-transform(@transition) {
  -webkit-transition: -webkit-transform @transition;
     -moz-transition: -moz-transform @transition;
       -o-transition: -o-transform @transition;
          transition: transform @transition;
}

.hidden {
    display: none;
}

.box-sizing(@value) {
    -moz-box-sizing: @value;
    box-sizing: @value;
}

.text-adjust(@value) {
    text-size-adjust: @value;
    -ms-text-size-adjust: @value;
    -webkit-text-size-adjust: @value;
}