From 15457c704fb18d67d2a26202f2512573f3c16b11 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 18 Nov 2014 19:50:21 +0100 Subject: test --- css/navigation.css | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) (limited to 'css/navigation.css') diff --git a/css/navigation.css b/css/navigation.css index 05ff95f2a..4d82d1c98 100644 --- a/css/navigation.css +++ b/css/navigation.css @@ -156,27 +156,22 @@ opacity: 1; } -#app-navigation .animate-show.ng-hide-add.ng-hide-add-active, -#app-navigation .animate-show.ng-hide-remove.ng-hide-remove-active { - -webkit-transition: all linear .2s; - -moz-transition: all linear .2s; - -o-transition: all linear .2s; - transition: all linear .2s; +#app-navigation .animate-show.ng-hide-add, +#app-navigation .animate-show.ng-hide-remove { + /* this is required as of 1.3x to properly + apply all styling in a show/hide animation */ + transition: 0s linear opacity; +} + +#app-navigation .animate-show.ng-hide-add-active, +#app-navigation .animate-show.ng-hide-remove-active { + transition: .2s linear opacity; } #app-navigation .animate-show { opacity: 1; - transition: all linear 0s; } #app-navigation .animate-show.ng-hide { opacity: 0; -} - -.ng-hide { - /* this is just another form of hiding an element */ - display:block!important; - position:absolute; - top:-9999px; - left:-9999px; } \ No newline at end of file -- cgit v1.2.3