Skip to content

Commit

Permalink
Animation correction
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisMazel committed Sep 21, 2018
1 parent e391e32 commit 12cd48c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vue-ctk-date-time-picker/assets/animation.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
/** Slide animation **/
.slide-enter-active, .slide-leave-active {
opacity: 1;
z-index: 999;
transition: all 0.3s;
transform: translateY(0);
}
.slide-enter, .slide-leave-to /* .fade-leave-active below version 2.1.8 */ {
opacity: 0;
z-index: 999;
transform: translateY(-20px);
}
/** Slide animation **/
.slideinvert-enter-active, .slideinvert-leave-active {
opacity: 1;
z-index: 999;
transition: all 0.3s;
transform: translateY(0);
}
.slideinvert-enter, .slideinvert-leave-to /* .fade-leave-active below version 2.1.8 */ {
opacity: 0;
z-index: 999;
transform: translateY(40px);
}
/** Slide next/prev animation **/
Expand Down

0 comments on commit 12cd48c

Please sign in to comment.