Skip to content

Commit

Permalink
fix(modal): Do not apply the same modal animation to all of its child…
Browse files Browse the repository at this point in the history
…ren, closes #683
  • Loading branch information
Adam Bradley committed Mar 11, 2014
1 parent 438f5fb commit 9cff5d0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scss/_animations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,6 @@ $ios7-transition-duration: 250ms;
}
}

.slide-out-right {
}
.slide-out-right-add {
@include translate3d(0,0,0);
@include animation-duration($transition-duration);
Expand All @@ -458,16 +456,16 @@ $ios7-transition-duration: 250ms;
@include translate3d(0, 100%, 0);
}
.slide-in-up.ng-enter,
.slide-in-up .ng-enter {
.slide-in-up > .ng-enter {
@include transition(all $slide-in-up-function 400ms);
}
.slide-in-up.ng-enter-active,
.slide-in-up .ng-enter-active {
.slide-in-up > .ng-enter-active {
@include translate3d(0, 0, 0);
}

.slide-in-up.ng-leave,
.slide-in-up .ng-leave {
.slide-in-up > .ng-leave {
@include transition(all ease-in-out 250ms);
}

Expand Down

0 comments on commit 9cff5d0

Please sign in to comment.