From d3903c4b1e1b115559a216932c6c67ecb99304b5 Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 17 Nov 2013 15:19:55 +0000 Subject: [PATCH] Implemented css working indicator --- public/res/extensions/workingIndicator.js | 4 ++-- public/res/styles/main.less | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/public/res/extensions/workingIndicator.js b/public/res/extensions/workingIndicator.js index 76018609..58bbd9f8 100644 --- a/public/res/extensions/workingIndicator.js +++ b/public/res/extensions/workingIndicator.js @@ -18,8 +18,8 @@ define([ $workingIndicatorElt = $(".working-indicator"); for (var i = 0; i < 4; i++) { $workingIndicatorElt.append($('
').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', })); } }; diff --git a/public/res/styles/main.less b/public/res/styles/main.less index 7e9e06ba..66a6a141 100644 --- a/public/res/styles/main.less +++ b/public/res/styles/main.less @@ -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 */ }