mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-27 21:21:22 +01:00
55 lines
836 B
SCSS
55 lines
836 B
SCSS
|
@if $use-fadeInRightBig == true {
|
||
|
|
||
|
@-webkit-keyframes fadeInRightBig {
|
||
|
0% {
|
||
|
opacity: 0;
|
||
|
-webkit-transform: translateX($base-distance-big * 2);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
opacity: 1;
|
||
|
-webkit-transform: translateX(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@-moz-keyframes fadeInRightBig {
|
||
|
0% {
|
||
|
opacity: 0;
|
||
|
-moz-transform: translateX($base-distance-big * 2);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
opacity: 1;
|
||
|
-moz-transform: translateX(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@-o-keyframes fadeInRightBig {
|
||
|
0% {
|
||
|
opacity: 0;
|
||
|
-o-transform: translateX($base-distance-big * 2);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
opacity: 1;
|
||
|
-o-transform: translateX(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@keyframes fadeInRightBig {
|
||
|
0% {
|
||
|
opacity: 0;
|
||
|
transform: translateX($base-distance-big * 2);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
opacity: 1;
|
||
|
transform: translateX(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.fadeInRightBig {
|
||
|
@include animate-prefixer(animation-name, fadeInRightBig);
|
||
|
}
|
||
|
}
|