mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
Make animation mixin cleaner
Change-Id: I5103daf43112d5a412c030dd90fda67a08469885
This commit is contained in:
parent
9be5be6879
commit
1b82d9b969
|
@ -6,12 +6,11 @@
|
|||
transform: translate(@x, @y);
|
||||
}
|
||||
|
||||
.mwe-popups-animation ( @name, @duration ) {
|
||||
-webkit-animation: @name @duration;
|
||||
-moz-animation: @name @duration;
|
||||
-ms-animation: @name @duration;
|
||||
-o-animation: @name @duration;
|
||||
animation: @name @duration;
|
||||
.mwe-popups-animation ( ... ) {
|
||||
-webkit-animation: @arguments;
|
||||
-moz-animation: @arguments;
|
||||
-o-animation: @arguments;
|
||||
animation: @arguments;
|
||||
}
|
||||
|
||||
@-webkit-keyframes mwe-popups-fade-in {
|
||||
|
|
Loading…
Reference in a new issue