-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathspin.scss
More file actions
48 lines (40 loc) · 898 Bytes
/
spin.scss
File metadata and controls
48 lines (40 loc) · 898 Bytes
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
@use '~@public-ui/components/index' as *;
@layer kol-theme-component {
.kol-spin {
&__loader {
animation: rotation 1.5s linear infinite;
&:before {
border-color: var(--color-primary-variant) var(--color-primary-variant) var(--color-secondary) var(--color-primary-variant);
border-style: solid;
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
border-width: 6px;
animation-duration: 1.5s;
animation-name: rotation;
}
}
&__spinner-element {
&--1 {
background-color: var(--color-primary-variant);
}
&--2 {
background-color: var(--color-primary-variant);
}
&--3 {
background-color: var(--color-primary-variant);
}
&--neutral {
background-color: var(--color-secondary);
}
}
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
}