Files
web/packages/design-system/lib/components/Loading/loading.module.css
2025-05-03 22:19:00 +02:00

51 lines
681 B
CSS

.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;
}
}