2014-02-06 11:11:29 +00:00
|
|
|
.mwe-popups-translate ( @x, @y ) {
|
|
|
|
-webkit-transform: translate(@x, @y);
|
|
|
|
-moz-transform: translate(@x, @y);
|
|
|
|
-ms-transform: translate(@x, @y);
|
|
|
|
-o-transform: translate(@x, @y);
|
|
|
|
transform: translate(@x, @y);
|
|
|
|
}
|
|
|
|
|
2014-02-25 13:50:53 +00:00
|
|
|
.mwe-popups-animation ( ... ) {
|
|
|
|
-webkit-animation: @arguments;
|
|
|
|
-moz-animation: @arguments;
|
|
|
|
-o-animation: @arguments;
|
|
|
|
animation: @arguments;
|
2014-02-06 11:11:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes mwe-popups-fade-in {
|
|
|
|
.mwe-popups-fade-in-frames;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-keyframes mwe-popups-fade-in {
|
|
|
|
.mwe-popups-fade-in-frames;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-o-keyframes mwe-popups-fade-in {
|
|
|
|
.mwe-popups-fade-in-frames;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mwe-popups-fade-in {
|
|
|
|
.mwe-popups-fade-in-frames;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes mwe-popups-fade-out {
|
|
|
|
.mwe-popups-fade-out-frames;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-keyframes mwe-popups-fade-out {
|
|
|
|
.mwe-popups-fade-out-frames;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-o-keyframes mwe-popups-fade-out {
|
|
|
|
.mwe-popups-fade-out-frames;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mwe-popups-fade-out {
|
|
|
|
.mwe-popups-fade-out-frames;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mwe-popups-fade-in-frames () {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
.mwe-popups-translate(0, 20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
.mwe-popups-translate(0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mwe-popups-fade-out-frames () {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
.mwe-popups-translate(0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
.mwe-popups-translate(0, 20px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mwe-popups-fade-in {
|
|
|
|
.mwe-popups-animation(mwe-popups-fade-in, 0.3s);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mwe-popups-fade-out {
|
2014-02-12 00:05:57 +00:00
|
|
|
.mwe-popups-animation(mwe-popups-fade-out, 0.15s);
|
2014-02-06 11:11:29 +00:00
|
|
|
}
|