feat: comment updates

This commit is contained in:
Simon Emanuelsson
2025-05-03 21:56:56 +02:00
committed by Michael Zetterberg
parent 29abc3cba6
commit 91933f47cf
6 changed files with 86 additions and 68 deletions
@@ -1,50 +1,57 @@
.loading {
display: flex;
align-items: center;
}
.dot {
animation: pulse 0.8s linear infinite;
transform-origin: center;
}
& circle {
animation: pulse 0.8s linear infinite;
.dark .dot {
fill: var(--Icon-Interactive-Default);
}
&:nth-child(1) {
animation-delay: -0.7s;
}
.white .dot {
fill: var(--Icon-Inverted);
}
&:nth-child(2) {
animation-delay: -0.6s;
}
.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;
&: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;
}