-
Notifications
You must be signed in to change notification settings - Fork 111
/
_icon.scss
46 lines (40 loc) · 845 Bytes
/
_icon.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
43
44
45
46
.ico {
&::before {
background-repeat: no-repeat;
background-size: 1rem;
content: '';
display: inline-block;
height: 1rem;
margin: -0.125rem 0.5rem -0.125rem 0;
width: 1rem;
}
&.ico-copy::before {
background-image: url('ico-copy.svg');
}
&.ico-download::before {
background-image: url('ico-download.svg');
}
&.ico-refresh::before {
background-image: url('ico-refresh.svg');
}
&.ico-print::before {
background-image: url('ico-print.svg');
}
}
.ico-absolute {
background-repeat: no-repeat;
background-size: $h4;
position: relative;
&-success {
&::before {
background-image: url('alert/success.svg');
content: '';
display: block;
height: $h4;
left: -$space-3;
position: absolute;
top: $space-1;
width: $h4;
}
}
}