Search/static/css/style-loadingindicator.css
partisan 2929b7781a
All checks were successful
Run Integration Tests / test (push) Successful in 28s
added cool loading animation for dynamic scrolling
2025-04-23 13:18:12 +02:00

60 lines
1.1 KiB
CSS

.message-bottom-right {
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease-in-out;
align-items: center;
justify-content: center;
position: fixed;
bottom: 20px;
right: 20px;
background-color: var(--search-bg);
color: var(--text-color);
padding: 10px;
border-radius: 5px;
z-index: 1000;
text-align: center;
flex-direction: column;
border: 1px solid var(--border);
box-shadow: 0 0 10px var(--box-shadow);
}
.message-bottom-right.visible {
opacity: 1;
pointer-events: auto;
}
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
30% {
transform: translateY(-10px);
}
50% {
transform: translateY(0);
}
70% {
transform: translateY(-5px);
}
85% {
transform: translateY(0);
}
95% {
transform: translateY(-2px);
}
}
.dot {
display: inline-block;
animation: bounce 1.5s infinite;
}
.dot:nth-child(2) {
animation-delay: 0.1s;
}
.dot:nth-child(3) {
animation-delay: 0.2s;
}
.dot:nth-child(4) {
animation-delay: 0.3s;
}