framework7
Version:
Full featured mobile HTML framework for building iOS & Android apps
60 lines (58 loc) • 1.11 kB
text/less
.ios {
.progressbar-infinite {
&:before {
animation: ios-progressbar-infinite 1s linear infinite;
}
&:after {
display: none;
}
&.color-multi:before {
width: 400%;
background-image: linear-gradient(
to right,
#4cd964,
#5ac8fa,
#007aff,
#34aadc,
#5856d6,
#ff2d55,
#5856d6,
#34aadc,
#007aff,
#5ac8fa,
#4cd964
);
background-size: 25% 100%;
background-repeat: repeat-x;
animation: ios-progressbar-infinite-multicolor 3s linear infinite;
}
}
}
.ltr({
@keyframes ios-progressbar-infinite {
0% {
transform: translate3d(-100%, 0, 0);
}
100% {
transform: translate3d(100%, 0, 0);
}
}
});
.rtl({
@keyframes ios-progressbar-infinite {
0% {
transform: translate3d(100%, 0, 0);
}
100% {
transform: translate3d(-100%, 0, 0);
}
}
});
@keyframes ios-progressbar-infinite-multicolor {
0% {
transform: translate3d(0%, 0, 0);
}
100% {
transform: translate3d(-50%, 0, 0);
}
}