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