feat(animation): add fade in animation by route change (#1958)

This commit is contained in:
Denis Strigo 2018-12-26 15:20:22 +03:00 committed by Dmitry Nehaychik
parent 0ffaee5509
commit 773c14e74a

View file

@ -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