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-rotateInDownLeft == true {
|
|
|
|
@-webkit-keyframes rotateInDownLeft {
|
|
0% {
|
|
-webkit-transform-origin: left bottom;
|
|
-webkit-transform: rotate(-$rotate-degrees);
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform-origin: left bottom;
|
|
-webkit-transform: rotate(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes rotateInDownLeft {
|
|
0% {
|
|
-moz-transform-origin: left bottom;
|
|
-moz-transform: rotate(-$rotate-degrees);
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
-moz-transform-origin: left bottom;
|
|
-moz-transform: rotate(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@-o-keyframes rotateInDownLeft {
|
|
0% {
|
|
-o-transform-origin: left bottom;
|
|
-o-transform: rotate(-$rotate-degrees);
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
-o-transform-origin: left bottom;
|
|
-o-transform: rotate(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes rotateInDownLeft {
|
|
0% {
|
|
transform-origin: left bottom;
|
|
transform: rotate(-$rotate-degrees);
|
|
opacity: 0;
|
|
}
|
|
|
|
100% {
|
|
transform-origin: left bottom;
|
|
transform: rotate(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.rotateInDownLeft {
|
|
@include animate-prefixer(animation-name, rotateInDownLeft);
|
|
}
|
|
}
|