Refactor animations.less file.