mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
feat(animation): add fade in animation by route change (#1958)
This commit is contained in:
parent
0ffaee5509
commit
773c14e74a
1 changed files with 15 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue