Implemented css working indicator

This commit is contained in:
benweet 2013-11-17 15:19:55 +00:00
parent e1b9e41c44
commit d3903c4b1e
2 changed files with 2 additions and 3 deletions

View File

@ -18,8 +18,8 @@ define([
$workingIndicatorElt = $(".working-indicator");
for (var i = 0; i < 4; i++) {
$workingIndicatorElt.append($('<div class="bar">').css({
'animation-delay': '0.' + (i*2) + 's',
'-webkit-animation-delay': '0.' + (i*2) + 's',
'animation-delay': (i*2/10).toPrecision(3) + 's',
'-webkit-animation-delay': (i*2/10).toPrecision(3) + 's',
}));
}
};

View File

@ -343,7 +343,6 @@ a {
border-radius: 1px;
margin: 0 2px;
background-color: @btn-success-color;
opacity: 0;
animation: indicator 0.6s ease-out infinite;
-webkit-animation: indicator 0.6s ease-out infinite; /* Safari and Chrome */
}