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.

Built from https://develop.svn.wordpress.org/trunk@26414


git-svn-id: http://core.svn.wordpress.org/trunk@26314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Matt Thomas 2013-11-26 19:06:11 +00:00
parent d4eff70d07
commit 126f6cec39
4 changed files with 22 additions and 22 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: right .05s ease-in-out;
-webkit-transition: right .05s ease-in-out;
transition: right .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;
}

File diff suppressed because one or more lines are too long

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;
}

File diff suppressed because one or more lines are too long