39 lines
667 B
SCSS
39 lines
667 B
SCSS
.fade-enter-active,
|
|
.fade-leave-active,
|
|
.fade-in-enter-active,
|
|
.fade-out-leave-active {
|
|
transition: opacity $gl-transition-duration-medium $general-hover-transition-curve;
|
|
}
|
|
|
|
.fade-enter,
|
|
.fade-in-enter,
|
|
.fade-out-leave-to,
|
|
.fade-leave-to {
|
|
opacity: 0;
|
|
}
|
|
|
|
.slide-enter-from-element {
|
|
&.slide-enter,
|
|
&.slide-leave-to {
|
|
position: absolute;
|
|
transform: translateX(-150%);
|
|
}
|
|
}
|
|
|
|
.slide-enter-to-element {
|
|
&.slide-enter,
|
|
&.slide-leave-to {
|
|
position: absolute;
|
|
transform: translateX(150%);
|
|
}
|
|
}
|
|
|
|
.slide-enter-active,
|
|
.slide-leave-active {
|
|
transition: transform 300ms ease-out;
|
|
}
|
|
|
|
.slide-enter-to,
|
|
.slide-leave {
|
|
transform: translateX(0);
|
|
}
|