Skip to content

Commit

Permalink
feat(animation): add fade in animation by route change (#1958)
Browse files Browse the repository at this point in the history
  • Loading branch information
denStrigo authored and nnixaa committed Dec 26, 2018
1 parent 0ffaee5 commit 773c14e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/app/pages/pages.component.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
@import '../@theme/styles/themes';

@include nb-install-component() {
/deep/ router-outlet + * {
display: block;
animation: fade 1s;

@keyframes fade {
from {
opacity: 0;
}

to {
opacity: 1;
}
}
}

/*
* TODO: hot fix, in prod mode popover arrow has wong style.
* Delete this after weill be fixed https://github.com/akveo/nebular/issues/1006
Expand Down

0 comments on commit 773c14e

Please sign in to comment.