staticupttik/assets/css/preloader.css

198 lines
3.5 KiB
CSS

#loading{
background-color: #fff;
height: 100%;
width: 100%;
position: fixed;
z-index: 999999;
margin-top: 0px;
top: 0px;
}
#loading-center{
width: 100%;
height: 100%;
position: relative;
}
#loading-center-absolute {
position: absolute;
left: 50%;
top: 50%;
width: 25%;
transform: translate(-50%, -50%);
}
@media only screen and (min-width: 1200px) and (max-width: 1399px){
#loading-center-absolute{
width: 40%;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199px){
#loading-center-absolute{
width: 40%;
}
}
@media only screen and (min-width: 768px) and (max-width: 991px){
#loading-center-absolute{
width: 45%;
}
}
@media only screen and (min-width: 576px) and (max-width: 767px){
#loading-center-absolute{
width: 50%;
}
}
@media (max-width: 575px){
#loading-center-absolute{
width: 60%;
}
}
.object{
width: 20px;
height: 20px;
background-color: #5f3afc;
-moz-border-radius: 50% 50% 50% 50%;
-webkit-border-radius: 50% 50% 50% 50%;
border-radius: 50% 50% 50% 50%;
margin-right: 20px;
margin-bottom: 20px;
position: absolute;
}
.loading-content{
text-align: center;
}
.loading-stroke{
position: relative;
width: 100%;
background: #2b4eff;
height: 3px;
}
.loading-stroke::before{
position: absolute;
content: '';
left: 0;
top: 0;
width: 100%;
height: 3px;
background-color: #fff;
animation: eucal-loading 5s linear infinite;
animation-timing-function: cubic-bezier(.75, .04,0,.86);
}
.loading-logo-icon{
position: absolute;
top: -60px;
left: 0;
width: 60px;
height: 60px;
animation: eucal-loading 5s linear infinite;
animation-timing-function: cubic-bezier(.75, .04,0,.86);
}
.loading-logo-icon-2{
width: 60px;
height: 60px;
transform-origin: center;
animation: eucal-loading-shake 5s linear infinite;
}
.loading-logo-text{
padding-bottom: 10px;
}
@keyframes eucal-loading-shake {
0%{
transform: rotate(0deg);
}
25%{
transform: rotate(-75deg);
}
50%{
transform: rotate(0deg);
}
75%{
transform: rotate(-75deg);
}
100%{
transform: rotate(0deg);
}
}
@keyframes eucal-loading {
0%{
left: 0;
}
50%{
left: 100%;
}
100%{
left: 0;
}
}
@-webkit-keyframes eucal-loading {
0%{
left: 0;
}
50%{
left: 100%;
}
100%{
left: 0;
}
}
#object_one{
-webkit-animation: object 2s linear infinite;
animation: object 2s linear infinite;
}
#object_two{
-webkit-animation: object 2s linear infinite -.4s;
animation: object 2s linear infinite -.4s;
}
#object_three{
-webkit-animation: object 2s linear infinite -.8s;
animation: object 2s linear infinite -.8s;
}
#object_four{
-webkit-animation: object 2s linear infinite -1.2s;
animation: object 2s linear infinite -1.2s;
}
#object_five{
-webkit-animation: object 2s linear infinite -1.6s;
animation: object 2s linear infinite -1.6s;
}
@-webkit-keyframes object{
0% { left: 100px; top:0}
80% { left: 0; top:0;}
85% { left: 0; top: -20px; width: 20px; height: 20px;}
90% { width: 40px; height: 15px; }
95% { left: 100px; top: -20px; width: 20px; height: 20px;}
100% { left: 100px; top:0; }
}
@keyframes object{
0% { left: 100px; top:0}
80% { left: 0; top:0;}
85% { left: 0; top: -20px; width: 20px; height: 20px;}
90% { width: 40px; height: 15px; }
95% { left: 100px; top: -20px; width: 20px; height: 20px;}
100% { left: 100px; top:0; }
}