.pageload-overlay {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
visibility: hidden;
}
.pageload-overlay.show {
visibility: visible;
z-index: 1000000;
}
.pageload-overlay svg {
position: absolute;
top: 0;
left: 0;
pointer-events: none;
}
.pageload-overlay svg path {
fill: #fff;
}
.pageload-overlay::after,
.pageload-overlay::before {
content: '';
position: fixed;
width: 20px;
height: 20px;
top: 50%;
left: 50%;
margin: -10px 0 0 -10px;
border-radius: 50%;
visibility: hidden;
opacity: 0;
z-index: 1000;
-webkit-transition: opacity 0.15s, visibility 0s 0.15s;
transition: opacity 0.15s, visibility 0s 0.15s;
}
.pageload-overlay::after {
background: #6cc88a;
-webkit-transform: translateX(-20px);
transform: translateX(-20px);
-webkit-animation: moveRight 0.6s linear infinite alternate;
animation: moveRight 0.6s linear infinite alternate;*/
}
.pageload-overlay::before {
background: #4fc3f7;
-webkit-transform: translateX(20px);
transform: translateX(20px);
-webkit-animation: moveLeft 0.6s linear infinite alternate;
animation: moveLeft 0.6s linear infinite alternate;
}
.pageload-overlay .css3-spinner-bounce {
position: absolute;
top: 50%;
left: 50%;
margin-top: -9px;
margin-left: 13px;
width: 18px;
height: 18px;
background-color: #DDD;
border-radius: 100%;
display: inline-block;
-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
animation: bouncedelay 1.4s infinite ease-in-out;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
z-index: 100000000;
}
.pageload-overlay .css3-spinner-bounce1 {
margin-left: -31px;
-webkit-animation-delay: -.32s;
animation-delay: -.32s;
}
.pageload-overlay .css3-spinner-bounce2 {
margin-left: -9px;
-webkit-animation-delay: -.16s;
animation-delay: -.16s;
}
@-webkit-keyframes bouncedelay {
0%,100%,80% {
-webkit-transform: scale(0);
}
40% {
-webkit-transform: scale(1);
};
}
@keyframes bouncedelay {
0%,100%,80% {
transform: scale(0);
-webkit-transform: scale(0);
}
40% {
transform: scale(1);
-webkit-transform: scale(1);
};
}
@-webkit-keyframes moveRight {
to { -webkit-transform: translateX(20px); }
}
@keyframes moveRight {
to { transform: translateX(20px); }
}
@-webkit-keyframes moveLeft {
to { -webkit-transform: translateX(-20px); }
}
@keyframes moveLeft {
to { transform: translateX(-20px); }
}
.pageload-loading.pageload-overlay::after,
.pageload-loading.pageload-overlay::before {
opacity: 1;
visibility: visible;
-webkit-transition: opacity 0.3s;
transition: opacity 0.3s;
}