fix: renamed Spinner -> Loading

This commit is contained in:
Tobias Johansson
2025-04-24 11:46:25 +02:00
committed by Simon Emanuelsson
parent d0c6d1d875
commit 32ce7d819b
7 changed files with 20 additions and 22 deletions

View File

@@ -0,0 +1,50 @@
.loading {
display: inline-block;
}
.dot {
animation: pulse 0.8s linear infinite;
transform-origin: center;
}
.dark .dot {
fill: var(--Icon-Interactive-Default);
}
.white .dot {
fill: var(--Icon-Inverted);
}
.dot:nth-child(1) {
animation-delay: -0.7s;
}
.dot:nth-child(2) {
animation-delay: -0.6s;
}
.dot:nth-child(3) {
animation-delay: -0.5s;
}
.dot:nth-child(4) {
animation-delay: -0.4s;
}
.dot:nth-child(5) {
animation-delay: -0.3s;
}
.dot:nth-child(6) {
animation-delay: -0.2s;
}
.dot:nth-child(7) {
animation-delay: -0.1s;
}
.dot:nth-child(8) {
animation-delay: 0s;
}
@keyframes pulse {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}