blob: 07550c910d6ca0d73f3c80411b4df16ac77c07a9 (
plain)
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
|
@use "../../../../../styles/abstracts/functions" as fun;
.icon {
display: flex;
place-content: center;
place-items: center;
aspect-ratio: 1/1;
position: relative;
background: var(--color-bg);
border: fun.convert-px(1) solid var(--color-primary);
border-radius: fun.convert-px(3);
color: var(--color-primary);
&::before,
&::after {
content: "";
position: absolute;
background: var(--color-primary);
transition: transform 0.4s ease-out 0s;
}
&::after {
height: fun.convert-px(3);
width: 60%;
}
&::before {
height: 55%;
width: fun.convert-px(3);
transform: scaleY(1);
}
&--minus {
&::before {
transform: scaleY(0);
}
}
}
|