-
Notifications
You must be signed in to change notification settings - Fork 16
/
hana-style.scss
43 lines (35 loc) · 1006 Bytes
/
hana-style.scss
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
// @import './dist/styles/base';
@import './dist/styles/config.scss';
@import './dist/styles/mixin/reset.scss';
@import './dist/styles/mixin/icon.scss';
// Fonts
// sass-lint:disable-all
// $url: "//at.alicdn.com/t/font_210616_yje4shjfgktke29";
$url: "./dist/assets/fonts/hanafont";
@font-face {
font-family: "hanaicon";
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
src: url("#{$url}.eot");
src: url("#{$url}.eot?#iefix") format("embedded-opentype"), url("#{$url}.woff") format("woff"), url("#{$url}.ttf") format("truetype"), url("#{$url}.svg#hanaicon") format("svg");
}
@each $key, $value in $icons {
@each $item in $value {
.icon-#{$item}:before {
content: $key;
}
}
}
.hanaicon{
font-family: 'hanaicon';
font-size: $size-middle-font-size;
font-style: normal;
vertical-align: middle;
&.hanaicon-small{
font-size: $size-small-font-size;
}
&.hanaicon-large{
font-size: $size-large-font-size;
}
}