Eliminate the transition animation on the responsive sidebar; set the responsive sidebar to display: none by default so it doesn't appear momentarily when loading the page. Fixes #25969.

git-svn-id: https://develop.svn.wordpress.org/trunk@26414 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Thomas 2013-11-26 19:05:41 +00:00
parent 22509e807b
commit b0d441f5e4
1 changed files with 10 additions and 10 deletions

View File

@ -11041,16 +11041,6 @@ li#wp-admin-bar-menu-toggle {
.auto-fold #adminmenu li.menu-top {
width: 100%;
}
/* Experimental animations for sidebar */
.auto-fold #adminmenu,
.auto-fold #adminmenuback,
.auto-fold #adminmenuwrap {
-moz-transition: left .05s ease-in-out;
-webkit-transition: left .05s ease-in-out;
transition: left .05s ease-in-out;
}
/* Resize the admin menu items to a comfortable touch size */
.auto-fold #adminmenu li a {
@ -12205,6 +12195,16 @@ li#wp-admin-bar-menu-toggle {
/* Smartphone */
@media screen and (max-width: 600px) {
#adminmenuwrap,
#adminmenuback {
display: none;
}
.wp-responsive-open #adminmenuwrap,
.wp-responsive-open #adminmenuback {
display: block;
}
html.wp-toolbar {
padding-top: 0;
}