loading dots

This commit is contained in:
Miroslav Šedivý 2020-01-24 02:35:41 +01:00
parent de2675426e
commit 30ada7a1da
2 changed files with 49 additions and 1 deletions

View file

@ -174,7 +174,9 @@ if(!empty($scripts)){
</div>
</div>
<div class="e_loading">
<img src="static/images/loading.gif" />
<span class="e_dots"></span>
<span class="e_dots"></span>
<span class="e_dots"></span>
<div class="e_meter"><span></span></div>
</div>
<input type="hidden" class="i_content_type">

View file

@ -673,6 +673,52 @@ body {
text-align: center;
}
.e_dots {
width:8px;
height:8px;
animation-name: e_dots;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
background-color: black;
border-radius: 4px;
display: inline-block;
}
.e_dots:nth-child(2) {
animation-delay:0.3s;
}
.e_dots:nth-child(3) {
animation-delay:0.6s;
}
@keyframes e_dots {
0% {
opacity: .265;
transform: scale(.8,.8)
}
5% {
opacity: .25
}
50% {
transform: scale(1,1)
}
55% {
opacity: 1
}
100% {
opacity: .265;
transform: scale(.8,.8)
}
}
.e_loading .e_meter {
height: 5px;
position: relative;