mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-27 05:01:23 +01:00
62 lines
1.1 KiB
SCSS
62 lines
1.1 KiB
SCSS
@if $use-rotateOutDownRight == true {
|
|
|
|
@-webkit-keyframes rotateOutDownRight {
|
|
0% {
|
|
-webkit-transform-origin: right bottom;
|
|
-webkit-transform: rotate(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform-origin: right bottom;
|
|
-webkit-transform: rotate(-$rotate-degrees);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes rotateOutDownRight {
|
|
0% {
|
|
-moz-transform-origin: right bottom;
|
|
-moz-transform: rotate(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
-moz-transform-origin: right bottom;
|
|
-moz-transform: rotate(-$rotate-degrees);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@-o-keyframes rotateOutDownRight {
|
|
0% {
|
|
-o-transform-origin: right bottom;
|
|
-o-transform: rotate(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
-o-transform-origin: right bottom;
|
|
-o-transform: rotate(-$rotate-degrees);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes rotateOutDownRight {
|
|
0% {
|
|
transform-origin: right bottom;
|
|
transform: rotate(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
transform-origin: right bottom;
|
|
transform: rotate(-$rotate-degrees);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.rotateOutDownRight {
|
|
@include animate-prefixer(animation-name, rotateOutDownRight);
|
|
}
|
|
}
|