Files
web/packages/design-system/lib/components/Loading/loading.module.css
Erik Tiekstra 3f632e6031 Merged in fix/BOOK-293-button-variants (pull request #3371)
fix(BOOK-293): changed variants and props on IconButton component

* fix(BOOK-293): changed variants and props on IconButton component

* fix(BOOK-293): inherit color for icon


Approved-by: Bianca Widstam
Approved-by: Christel Westerberg
2025-12-19 12:32:52 +00:00

63 lines
831 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);
}
&.currentColor circle {
fill: currentColor;
}
}
@keyframes pulse {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}