Skip to content

Commit

Permalink
add some fancy animation 🌠
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkoCen committed Aug 14, 2017
1 parent 6c04049 commit da9a7d9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions modules/nbGuideline/css/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,26 @@ pre{
padding: 2rem 1rem;
font-size: 14px;
height: 180px;
}

[ui-view].ng-enter, [ui-view].ng-leave {
transition:all .5s ease-in-out;
}

[ui-view].ng-enter {
opacity: 0;
margin-top: 80px;
}

[ui-view].ng-enter-active {
opacity: 1;
margin-top: 0;
}

[ui-view].ng-leave {
display:none;
}

[ui-view].ng-leave-active {
display:none;
}
1 change: 1 addition & 0 deletions modules/nbGuideline/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
'nb.common',
'ui.router',
'ui.bootstrap',
'ngAnimate',
'hljs'
]);

Expand Down

0 comments on commit da9a7d9

Please sign in to comment.