fix project-menu blink
parent
76d2d4da56
commit
1b6924c520
|
@ -120,6 +120,7 @@ ProjectsNavigationDirective = ($rootscope, animationFrame, $timeout, tgLoader, $
|
||||||
|
|
||||||
$(document.body)
|
$(document.body)
|
||||||
.removeClass("loading-project open-projects-nav")
|
.removeClass("loading-project open-projects-nav")
|
||||||
|
.addClass("closed-projects-nav")
|
||||||
|
|
||||||
tgLoader.disablePreventLoading()
|
tgLoader.disablePreventLoading()
|
||||||
), timeout
|
), timeout
|
||||||
|
|
|
@ -15,10 +15,12 @@ body {
|
||||||
-ms-text-size-adjust: 100%;
|
-ms-text-size-adjust: 100%;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
&.closed-projects-nav {
|
||||||
.projects-nav {
|
.projects-nav {
|
||||||
@include transform(translate3d(-300px, 0, 0));
|
@include transform(translate3d(-300px, 0, 0));
|
||||||
@include transition (transform 1s ease);
|
@include transition (transform 1s ease);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.master {
|
.master {
|
||||||
@include transition (transform 1s ease);
|
@include transition (transform 1s ease);
|
||||||
&.ng-animate {
|
&.ng-animate {
|
||||||
|
|
Loading…
Reference in New Issue