summaryrefslogtreecommitdiffstats
path: root/templates/55/ad-hominem/css/usertools.less
blob: efdf16c0ecbae2893f4288e2b1cae7d825ea1a3c (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#dokuwiki__usertools {
    position: absolute;
    top: .5em;
    right: 40px; // pagetool width
    text-align: right;
    width: 100%;

    ul {
        margin: 0 auto;
        padding: 0;
        max-width: @ini_site_width;
    }

    li.action a {
        display: inline-flex;
        flex-direction: row-reverse;
        flex-wrap: nowrap;

        svg {
            height: 1.4em;
            width: 1.4em;
            vertical-align: middle;
            fill: @ini_border;
            margin-right: 0.2em;
        }
    }

    li.action a:hover,
    li.action a:active {
        svg {
            fill: @ini_link;
        }
    }

}

[dir=rtl] #dokuwiki__usertools {
    text-align: left;
    left: 40px; // pagetool width
    right: auto;


    li.action a {

        svg {
            margin-right: 0;
            margin-left: 0.2em;
        }
    }
}