blob: 9c071c5ecafa6c75a6875c427e44be27f94fd1d2 (
plain) (
blame)
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
55
56
57
58
59
60
61
62
63
|
// CSS Icons
.icon {
font-size: inherit;
vertical-align: middle;
}
.icon-arrow-down,
.icon-arrow-left,
.icon-arrow-right,
.icon-arrow-up {
display: inline-block;
height: 1em;
margin: 0;
position: relative;
width: 1em;
&::before {
border: .2rem solid currentColor;
border-bottom: 0;
border-right: 0;
content: "";
display: block;
height: .65em;
left: 50%;
position: absolute;
top: 50%;
width: .65em;
transform: translate(-25%, -50%) rotate(-45deg);
transform-origin: 50% 50%;
}
}
.icon-arrow-down {
transform: rotate(-90deg);
}
.icon-arrow-right {
transform: rotate(180deg);
}
.icon-arrow-up {
transform: rotate(90deg);
}
.icon-caret {
border-top: .4rem solid currentColor;
border-right: .4rem solid transparent;
border-left: .4rem solid transparent;
display: inline-block;
height: 0;
margin: 0;
vertical-align: middle;
width: 0;
}
// Components with icons
.btn,
.toast,
.menu {
.icon {
vertical-align: -10%;
}
}
|