From a960f2cb4c246530fa332345cacea46824521b35 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 21 Aug 2015 10:17:03 +0200 Subject: [PATCH] forms.less: Animate the icon char, not the i-tag refs #8369 --- public/css/icinga/forms.less | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less index 18b7da2b8..b3933b496 100644 --- a/public/css/icinga/forms.less +++ b/public/css/icinga/forms.less @@ -335,14 +335,11 @@ i.autosubmit-warning { margin-left: 0.2em; margin-top: 0.25em; - &.spinning { + &.spinning:before { + margin: 0; // Disables wobbling + font-size: 90%; // icon-spin6 seems to be bigger than icon-cw + content: '\e874'; // icon-spin6 .animate(spin 2s infinite linear); - - &:before { - margin: 0; // Disables wobbling - font-size: 90%; // icon-spin6 seems to be bigger than icon-cw - content: '\e874'; // icon-spin6 - } } }