You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
@font-face {
|
|
font-family: '@{wi-font-family}';
|
|
src: url('@{wi-path}/@{wi-font-family}-regular-webfont.eot');
|
|
src: url('@{wi-path}/@{wi-font-family}-regular-webfont.eot?#iefix') format('embedded-opentype'),
|
|
url('@{wi-path}/@{wi-font-family}-regular-webfont.woff') format('woff'),
|
|
url('@{wi-path}/@{wi-font-family}-regular-webfont.ttf') format('truetype'),
|
|
url('@{wi-path}/@{wi-font-family}-regular-webfont.svg#weathericons-regular-webfontRg') format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
.@{wi-css-prefix} {
|
|
display: inline-block;
|
|
font-family: '@{wi-font-family}';
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
// icon definitions
|
|
// --------------------------
|
|
|
|
// create icon definitions
|
|
.createIconClasses(@iterator: 1) when(@iterator <= length(@wi-icon-glyphs)) {
|
|
@wi-glyph-name: extract(extract(@wi-icon-glyphs, @iterator), 1);
|
|
@wi-glyph-name-unquoted: ~"@{wi-glyph-name}";
|
|
.@{wi-css-prefix}-@{wi-glyph-name-unquoted}:before {
|
|
content: extract(extract(@wi-icon-glyphs, @iterator), 2);
|
|
}
|
|
.createIconClasses((@iterator + 1));
|
|
}
|
|
.createIconClasses(); |