mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-02 19:50:44 +05:30
70 lines
741 B
SCSS
70 lines
741 B
SCSS
@import '~app/components/ui/colors.scss';
|
|
|
|
.componentLoader {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.spins {
|
|
height: 40px;
|
|
}
|
|
|
|
.spin {
|
|
height: 20px;
|
|
width: 20px;
|
|
display: inline-block;
|
|
margin: 10px 2px;
|
|
opacity: 0;
|
|
animation: loaderAnimation 1s infinite;
|
|
}
|
|
|
|
.spin1 {
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
.spin2 {
|
|
animation-delay: 0.1s;
|
|
}
|
|
|
|
.spin3 {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.spin4 {
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
.spin5 {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
/**
|
|
* Skins
|
|
*/
|
|
.lightComponentLoader {
|
|
.spin {
|
|
background: #aaa;
|
|
}
|
|
}
|
|
|
|
.darkComponentLoader {
|
|
.spin {
|
|
background: #444;
|
|
}
|
|
}
|
|
|
|
@keyframes loaderAnimation {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
transform: scaleY(2);
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|