From a793190afcd66993d074e971dcc4bdacc763227b Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Mon, 18 Nov 2013 21:41:53 +0800 Subject: [PATCH] fix animation --- share/fancy.css.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/share/fancy.css.in b/share/fancy.css.in index c54aafc..63db194 100644 --- a/share/fancy.css.in +++ b/share/fancy.css.in @@ -74,8 +74,13 @@ } .loading-indicator.active { display: block; - -webkit-animation: swing 1.5s ease-in-out 0s infinite alternate none; - animation: swing 1.5s ease-in-out 0s infinite alternate none; + /* + * use 0.01s instead of 0s, + * since YUI Compressor will change 0s to 0, + * which is not recognized by Firefox + */ + -webkit-animation: swing 1.5s ease-in-out 0.01s infinite alternate none; + animation: swing 1.5s ease-in-out 0.01s infinite alternate none; } } /* Fancy CSS END */