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