first commit
This commit is contained in:
78
wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/icons/templates/scss.hbs
vendored
Normal file
78
wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/icons/templates/scss.hbs
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
${{ name }}-font: "{{ name }}";
|
||||
|
||||
@font-face {
|
||||
font-family: ${{ name }}-font;
|
||||
src: {{{ fontSrc }}};
|
||||
}
|
||||
|
||||
[class*="otgs-ico"] {
|
||||
display: inline-block;
|
||||
transform: translate(0, 0);
|
||||
|
||||
&: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}});
|
||||
}
|
||||
|
||||
${{ name }}-map: (
|
||||
{{# each codepoints }}
|
||||
"{{ @key }}": "\\{{ codepoint this }}",
|
||||
{{/ each }}
|
||||
);
|
||||
|
||||
{{# each codepoints }}
|
||||
{{# if ../selector }}
|
||||
{{ ../selector }}.{{ ../prefix }}-{{ @key }}:before {
|
||||
{{ else }}
|
||||
{{ tag }}.{{ ../prefix }}-{{ @key }}:before {
|
||||
{{/ if }}
|
||||
content: map-get(${{ ../name }}-map, "{{ @key }}");
|
||||
}
|
||||
{{/ each }}
|
||||
|
||||
|
||||
/***************************** OTGS ico aliases **************************/
|
||||
|
||||
.otgs-ico-ok {
|
||||
@extend .otgs-ico-translated;
|
||||
}
|
||||
.otgs-ico-add-disabled {
|
||||
@extend .otgs-ico-add;
|
||||
}
|
||||
.otgs-ico-edit-disabled {
|
||||
@extend .otgs-ico-edit;
|
||||
}
|
||||
.otgs-ico-sitepress-multilingual-cms {
|
||||
@extend .otgs-ico-wpml;
|
||||
}
|
||||
.otgs-ico-refresh-spin {
|
||||
@extend .otgs-ico-refresh;
|
||||
animation: spin 2s infinite linear;
|
||||
}
|
||||
@-webkit-keyframes spin {
|
||||
0% {transform: rotate(0deg);}
|
||||
100% {transform: rotate(360deg);}
|
||||
}
|
||||
Reference in New Issue
Block a user