Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / styles / scss / components / _ellipsis-loader.scss
blob036b6312d82ce25065cd38984c5a72df98961fe6
1 .ellipsis-loader {
2         display: inline-block;
3         inline-size: 1.3em;
4         font-family: $font-family-monospace;
5         letter-spacing: -0.2em;
6         vertical-align: baseline;
7         text-align: start;
8         white-space: pre;
9         pointer-events: none;
11         &::before {
12                 content: ' ';
13                 animation: anime-ellipsis-loading 1s steps(1, start) infinite;
14         }
17 @keyframes anime-ellipsis-loading {
18         0% {
19                 content: ' ';
20         }
22         25% {
23                 content: '.';
24         }
26         50% {
27                 content: '..';
28         }
30         75% {
31                 content: '...';
32         }