45 lines
930 B
SCSS
45 lines
930 B
SCSS
@import "../_base.scss"
|
|
|
|
$background-height: 128px;
|
|
$background-width: 384px;
|
|
$logo-height: calc(32px * 2);
|
|
$logo-width: calc(64px * 2);
|
|
$logo-aspect-ratio: calc($logo-width / $logo-height);
|
|
|
|
.spinner {
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
svg {
|
|
$fps: 4;
|
|
$duration_sec: 3;
|
|
$steps: calc($duration_sec * $fps);
|
|
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
fill: get-color(primary, 100);
|
|
stroke: get-color(greyscale, 90);
|
|
|
|
animation: 3s multicolor linear infinite;
|
|
animation-timing-function: steps($steps, end);
|
|
|
|
@keyframes multicolor {
|
|
0% {
|
|
fill: get-color(primary, 100);
|
|
}
|
|
33% {
|
|
fill: get-color(secondary, 100);
|
|
}
|
|
66% {
|
|
fill: get-color(ternary, 100);
|
|
}
|
|
}
|
|
|
|
&.paused {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
}
|
|
}
|