JGonera has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/72231


Change subject: Simplify .animation LESS mixin
......................................................................

Simplify .animation LESS mixin

Make it more general and explicit (no arbitrary defaults). Now it is
simply an alias for animation and -webkit-animation CSS properties.

Change-Id: I8e7383a18ffb0bf3d6f56fd185e96c87524bbc20
---
M less/mf-mixins.less
M less/modules/mf-photo.less
2 files changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/31/72231/1

diff --git a/less/mf-mixins.less b/less/mf-mixins.less
index e496a8f..c390a9e 100644
--- a/less/mf-mixins.less
+++ b/less/mf-mixins.less
@@ -99,7 +99,7 @@
        transition: @args;
 }
 
-.animation( @name, @duration, @function: ease-in-out, @iterationCount: 
infinite, @direction: alternate ) {
-       -webkit-animation: @name @duration @function @iterationCount @direction;
-       animation: @name @duration @function @iterationCount @direction
+.animation( @args ) {
+       -webkit-animation: @args;
+       animation: @args;
 }
diff --git a/less/modules/mf-photo.less b/less/modules/mf-photo.less
index da1e51a..8eee6f9 100644
--- a/less/modules/mf-photo.less
+++ b/less/modules/mf-photo.less
@@ -145,7 +145,7 @@
 .animations .photo-nag {
        label div {
                &.active {
-                       .animation( pulse, 1s );
+                       .animation( pulse 1s ease-in-out infinite alternate );
                }
        }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/72231
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e7383a18ffb0bf3d6f56fd185e96c87524bbc20
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: JGonera <jgon...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to