diff --git a/src/less/animation.less b/src/less/animation.less deleted file mode 100644 index cea8874f9..000000000 --- a/src/less/animation.less +++ /dev/null @@ -1,41 +0,0 @@ -.keyframes(@name, @frames) { - @-webkit-keyframes @name { - @frames(); - } - @-moz-keyframes @name { - @frames(); - } - @-ms-keyframes @name { - @frames(); - } - @-o-keyframes @name { - @frames(); - } - @keyframes @name { - @frames(); - } -} - -.animation(@attr) { - -webkit-animation: @attr; - -moz-animation: @attr; - -ms-animation: @attr; - -o-animation: @attr; - animation: @attr; -} - -.animation-delay(@attr) { - -webkit-animation-delay: @attr; - -moz-animation-delay: @attr; - -ms-animation-delay: @attr; - -o-animation-delay: @attr; - animation-delay: @attr; -} - -.transform(@attr) { - -webkit-transform: @attr; - -moz-transform: @attr; - -o-transform: @attr; - -ms-transform: @attr; - transform: @attr; -} \ No newline at end of file diff --git a/src/less/visual.less b/src/less/visual.less index 54c0a4dd2..f7290cb70 100644 --- a/src/less/visual.less +++ b/src/less/visual.less @@ -254,4 +254,47 @@ content: ""; transform: rotate(-45deg); } +} + +// css3 animation +.keyframes(@name, @frames) { + @-webkit-keyframes @name { + @frames(); + } + @-moz-keyframes @name { + @frames(); + } + @-ms-keyframes @name { + @frames(); + } + @-o-keyframes @name { + @frames(); + } + @keyframes @name { + @frames(); + } +} + +.animation(@attr) { + -webkit-animation: @attr; + -moz-animation: @attr; + -ms-animation: @attr; + -o-animation: @attr; + animation: @attr; +} + +.animation-delay(@attr) { + -webkit-animation-delay: @attr; + -moz-animation-delay: @attr; + -ms-animation-delay: @attr; + -o-animation-delay: @attr; + animation-delay: @attr; +} + +.transform(@attr) { + -webkit-transform: @attr; + -moz-transform: @attr; + -o-transform: @attr; + -ms-transform: @attr; + transform: @attr; } \ No newline at end of file