2020-08-28 08:45:37 +02:00
|
|
|
@keyframes blink {
|
|
|
|
0% {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
20% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading {
|
|
|
|
display: flex;
|
2020-10-03 19:53:06 +02:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2020-08-28 08:45:37 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2022-08-30 09:03:22 +02:00
|
|
|
.loading.overlay {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 10;
|
2022-12-13 04:45:38 +01:00
|
|
|
background: var(--base400);
|
2022-08-30 09:03:22 +02:00
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
|
2020-08-28 08:45:37 +02:00
|
|
|
.loading div {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
border-radius: 100%;
|
2022-12-13 04:45:38 +01:00
|
|
|
background: var(--base400);
|
2020-08-28 08:45:37 +02:00
|
|
|
animation: blink 1.4s infinite;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
}
|
|
|
|
|
2022-08-30 09:03:22 +02:00
|
|
|
.loading.overlay div {
|
2022-12-13 04:45:38 +01:00
|
|
|
background: var(--base900);
|
2022-08-30 09:03:22 +02:00
|
|
|
}
|
|
|
|
|
2020-08-28 08:45:37 +02:00
|
|
|
.loading div + div {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading div:nth-child(2) {
|
|
|
|
animation-delay: 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading div:nth-child(3) {
|
|
|
|
animation-delay: 0.4s;
|
|
|
|
}
|