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:
parent
d4eff70d07
commit
126f6cec39
|
@ -11042,16 +11042,6 @@ li#wp-admin-bar-menu-toggle {
|
||||||
width: 100%;
|
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 */
|
/* Resize the admin menu items to a comfortable touch size */
|
||||||
.auto-fold #adminmenu li a {
|
.auto-fold #adminmenu li a {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
@ -12205,6 +12195,16 @@ li#wp-admin-bar-menu-toggle {
|
||||||
|
|
||||||
/* Smartphone */
|
/* Smartphone */
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
|
#adminmenuwrap,
|
||||||
|
#adminmenuback {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-responsive-open #adminmenuwrap,
|
||||||
|
.wp-responsive-open #adminmenuback {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
html.wp-toolbar {
|
html.wp-toolbar {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -11042,16 +11042,6 @@ li#wp-admin-bar-menu-toggle {
|
||||||
width: 100%;
|
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 */
|
/* Resize the admin menu items to a comfortable touch size */
|
||||||
.auto-fold #adminmenu li a {
|
.auto-fold #adminmenu li a {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
@ -12205,6 +12195,16 @@ li#wp-admin-bar-menu-toggle {
|
||||||
|
|
||||||
/* Smartphone */
|
/* Smartphone */
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
|
#adminmenuwrap,
|
||||||
|
#adminmenuback {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-responsive-open #adminmenuwrap,
|
||||||
|
.wp-responsive-open #adminmenuback {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
html.wp-toolbar {
|
html.wp-toolbar {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue