mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Merge pull request #5698 from kevinansfield/fix-autonav-flicker-v2
Fix flickering autonav animation
This commit is contained in:
commit
16d7a86810
@ -289,13 +289,11 @@
|
|||||||
.gh-autonav .gh-nav {
|
.gh-autonav .gh-nav {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: -220px;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
width: 235px;
|
width: 235px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
transition: transform 0.20s;
|
transition: left 0.20s;
|
||||||
/* translate3d for GPU accelerated animation - http://bit.ly/1EY1Xhx */
|
|
||||||
transform: translate3d(-220px,0,0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* THE FUTURE: Super sexy background blur for Webkit - http://cl.ly/b1rG */
|
/* THE FUTURE: Super sexy background blur for Webkit - http://cl.ly/b1rG */
|
||||||
@ -310,8 +308,8 @@
|
|||||||
|
|
||||||
/* Bring it back on hover */
|
/* Bring it back on hover */
|
||||||
.gh-autonav .gh-nav.open {
|
.gh-autonav .gh-nav.open {
|
||||||
transition: transform 0.15s;
|
left: 0;
|
||||||
transform: translate3d(0,0,0);
|
transition: left 0.15s;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Move main content over for the closed-nav trigger bar */
|
/* Move main content over for the closed-nav trigger bar */
|
||||||
|
Loading…
Reference in New Issue
Block a user