css.hbs
1.12 KB
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
53
54
@font-face {
font-family: "{{ name }}";
src: {{{ fontSrc }}};
}
[class*="otgs-ico"] {
display: inline-block;
transform: translate(0, 0);
}
[class*="otgs-ico"]:focus {
outline: none;
}
{{# if selector }}
{{ selector }}:before {
{{ else }}
[class^="{{prefix}}-"]:before, [class*=" {{prefix}}-"]:before, [data-{{prefix}}]:before {
{{/ if }}
font-family: {{ name }} !important;
font-style: normal;
font-weight: normal !important;
font-variant: normal;
text-transform: none;
line-height: 1;
vertical-align: text-bottom;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.{{prefix}}-32:before {
font-size: 32px;
}
[data-{{prefix}}]:before {
content: attr(data-{{prefix}});
}
{{# each codepoints }}
{{# if ../selector }}
{{ ../selector }}.{{ ../prefix }}-{{ @key }}:before {
{{ else }}
{{ tag }}.{{ ../prefix }}-{{ @key }}:before {
{{/ if }}
content: "\\{{ codepoint this }}";
}
{{/ each }}
/***************************** OTGS ico aliases **************************/
@-webkit-keyframes spin {
0% {transform: rotate(0deg);}
100% {transform: rotate(360deg);}
}