debian-mirror-gitlab/app/assets/stylesheets/framework/vue_transitions.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
667 B
SCSS
Raw Normal View History

2018-03-17 18:26:18 +05:30
.fade-enter-active,
2019-07-07 11:18:12 +05:30
.fade-leave-active,
.fade-in-enter-active,
.fade-out-leave-active {
2022-08-27 11:52:29 +05:30
transition: opacity $gl-transition-duration-medium $general-hover-transition-curve;
2018-03-17 18:26:18 +05:30
}
.fade-enter,
2019-07-07 11:18:12 +05:30
.fade-in-enter,
.fade-out-leave-to,
2018-03-17 18:26:18 +05:30
.fade-leave-to {
opacity: 0;
}
2019-12-26 22:10:19 +05:30
.slide-enter-from-element {
&.slide-enter,
&.slide-leave-to {
2020-04-08 14:13:33 +05:30
position: absolute;
2019-12-26 22:10:19 +05:30
transform: translateX(-150%);
}
}
.slide-enter-to-element {
&.slide-enter,
&.slide-leave-to {
2020-04-08 14:13:33 +05:30
position: absolute;
2019-12-26 22:10:19 +05:30
transform: translateX(150%);
}
}
.slide-enter-active,
.slide-leave-active {
transition: transform 300ms ease-out;
}
.slide-enter-to,
.slide-leave {
transform: translateX(0);
}