2024-05-02 20:57:17 +00:00
|
|
|
// Copyright 2024 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2024-11-15 23:09:31 +00:00
|
|
|
@use '../variables';
|
|
|
|
|
2024-05-02 20:57:17 +00:00
|
|
|
.SpinnerV2 {
|
|
|
|
animation: SpinnerV2-rotate 2s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SpinnerV2__Path {
|
2024-11-15 23:09:31 +00:00
|
|
|
stroke: variables.$color-gray-15;
|
2024-05-02 20:57:17 +00:00
|
|
|
stroke-linecap: round;
|
|
|
|
animation: SpinnerV2-dash 1.5s ease-in-out infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes SpinnerV2-rotate {
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes SpinnerV2-dash {
|
|
|
|
0% {
|
|
|
|
stroke-dasharray: 2%, 300%;
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
stroke-dasharray: 180%, 300%;
|
|
|
|
stroke-dashoffset: -70%;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
stroke-dasharray: 180%, 300%;
|
|
|
|
stroke-dashoffset: -248%;
|
|
|
|
}
|
|
|
|
}
|