2019-12-08 00:32:00 +05:30
|
|
|
@import '~app/components/ui/colors.scss';
|
2016-08-14 14:28:14 +05:30
|
|
|
|
|
|
|
.componentLoader {
|
2020-05-24 04:38:24 +05:30
|
|
|
text-align: center;
|
2020-10-23 03:53:59 +05:30
|
|
|
font-size: 20px;
|
2016-08-14 14:28:14 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.spins {
|
2020-10-23 03:53:59 +05:30
|
|
|
height: 2em;
|
|
|
|
display: flex;
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-basis: 0;
|
|
|
|
flex-direction: row;
|
2016-08-14 14:28:14 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.spin {
|
2020-10-23 03:53:59 +05:30
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
2020-05-24 04:38:24 +05:30
|
|
|
display: inline-block;
|
2020-10-23 03:53:59 +05:30
|
|
|
margin: 0.5em 0.1em;
|
2020-05-24 04:38:24 +05:30
|
|
|
opacity: 0;
|
|
|
|
animation: loaderAnimation 1s infinite;
|
2016-08-14 14:28:14 +05:30
|
|
|
}
|
|
|
|
|
2020-10-23 03:53:59 +05:30
|
|
|
@for $i from 0 to 5 {
|
|
|
|
.spin#{$i} {
|
|
|
|
animation-delay: 0.1s * $i;
|
|
|
|
}
|
2016-08-14 14:28:14 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Skins
|
|
|
|
*/
|
|
|
|
.lightComponentLoader {
|
2020-05-24 04:38:24 +05:30
|
|
|
.spin {
|
|
|
|
background: #aaa;
|
|
|
|
}
|
2016-08-14 14:28:14 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.darkComponentLoader {
|
2020-05-24 04:38:24 +05:30
|
|
|
.spin {
|
|
|
|
background: #444;
|
|
|
|
}
|
2016-08-14 14:28:14 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes loaderAnimation {
|
2020-05-24 04:38:24 +05:30
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2016-08-14 14:28:14 +05:30
|
|
|
|
2020-05-24 04:38:24 +05:30
|
|
|
50% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scaleY(2);
|
|
|
|
}
|
2016-08-14 14:28:14 +05:30
|
|
|
|
2020-05-24 04:38:24 +05:30
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2016-08-14 14:28:14 +05:30
|
|
|
}
|