summaryrefslogtreecommitdiffstats
path: root/public/css/icons.less
blob: 73701b5d8fc0ae681ba27e37bd032da58d3d3e42 (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
51
52
/* Icinga Web 2 X.509 Module | (c) 2018 Icinga GmbH | GPLv2 */

[class^='x509-icon-'], [class*=' x509-icon-'] {
    &:before {
        font-style: normal;
        font-weight: normal;
        speak: none;

        display: inline-block;
        text-decoration: inherit;
        width: 1em;
        margin-right: .2em;
        text-align: center;
        /* opacity: .8; */

        /* For safety - reset parent styles, that can break glyph codes*/
        font-variant: normal;
        text-transform: none;

        /* fix buttons height, for twitter bootstrap */
        line-height: 1em;

        /* Animation center compensation - margins should be symmetric */
        /* remove if not needed */
        margin-left: .2em;

        /* Font smoothing. That was taken from TWBS */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;

        /* Uncomment for 3D effect */
        /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    }
}

@font-face {
    font-family: 'Icinga Web 2 Module X.509';
    src: url('../x509/icons?q=eot#iefix') format('embedded-opentype'),
         url('../x509/icons?q=woff') format('woff'),
         url('../x509/icons?q=ttf') format('truetype'),
         url('../x509/icons?q=svg#icinga-icons') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^='x509-icon-'], [class*=' x509-icon-'] {
    font-family: 'Icinga Web 2 Module X.509';
}

.x509-icon-ca:before { content: '\e000'; }
.x509-icon-self-signed:before { content: '\e001'; }
.x509-icon-cert:before { content: '\e002'; }