Files
web/packages/design-system/lib/components/Loading/loading.module.css
Simon Emanuelsson 91933f47cf feat: comment updates
2025-05-03 22:43:09 +02:00

59 lines
776 B
CSS

.loading {
display: flex;
align-items: center;
& circle {
animation: pulse 0.8s linear infinite;
&:nth-child(1) {
animation-delay: -0.7s;
}
&:nth-child(2) {
animation-delay: -0.6s;
}
&:nth-child(3) {
animation-delay: -0.5s;
}
&:nth-child(4) {
animation-delay: -0.4s;
}
&:nth-child(5) {
animation-delay: -0.3s;
}
&:nth-child(6) {
animation-delay: -0.2s;
}
&:nth-child(7) {
animation-delay: -0.1s;
}
&:nth-child(8) {
animation-delay: 0s;
}
}
&.dark circle {
fill: var(--Icon-Interactive-Default);
}
&.white circle {
fill: var(--Icon-Inverted);
}
}
@keyframes pulse {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}