mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Admin menu: sync the .folded and @media .auto-fold styles, fixes #21998
git-svn-id: http://core.svn.wordpress.org/trunk@22536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
43c289dee6
commit
e7a27494b7
@ -432,7 +432,7 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu .wp-submenu-head {
|
||||
padding: 6px 10px 5px 4px;
|
||||
padding: 5px 10px 5px 4px;
|
||||
-webkit-border-top-right-radius: 0;
|
||||
-webkit-border-top-left-radius: 3px;
|
||||
border-top-right-radius: 0;
|
||||
@ -476,6 +476,11 @@ form.upgrade .hint {
|
||||
margin-right: 52px;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenu div.wp-menu-image {
|
||||
float: right;
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenu .wp-submenu.sub-open,
|
||||
.auto-fold #adminmenu .opensub .wp-submenu,
|
||||
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
||||
@ -492,7 +497,7 @@ form.upgrade .hint {
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
.auto-fold .wp-menu-arrow {
|
||||
.auto-fold #adminmenu li .wp-menu-arrow {
|
||||
-moz-transform: translate( -27px );
|
||||
-webkit-transform: translate( -27px );
|
||||
-o-transform: translate( -27px );
|
||||
|
@ -1774,31 +1774,32 @@ form.upgrade .hint {
|
||||
|
||||
.auto-fold #adminmenu div.wp-menu-image {
|
||||
width: 32px;
|
||||
margin-top: 0;
|
||||
position: absolute;
|
||||
z-index: 25;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenu a.menu-top {
|
||||
height: 29px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
.auto-fold .wp-menu-arrow {
|
||||
-moz-transform: translate( 33px );
|
||||
-webkit-transform: translate( 33px );
|
||||
-o-transform: translate( 33px );
|
||||
-ms-transform: translate( 33px );
|
||||
transform: translate( 33px );
|
||||
.auto-fold #adminmenu li .wp-menu-arrow {
|
||||
-moz-transform: translate( 32px );
|
||||
-webkit-transform: translate( 32px );
|
||||
-o-transform: translate( 32px );
|
||||
-ms-transform: translate( 32px );
|
||||
transform: translate( 32px );
|
||||
}
|
||||
|
||||
.auto-fold #adminmenu li.wp-not-current-submenu .wp-menu-arrow {
|
||||
.auto-fold #adminmenu li .wp-menu-arrow div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenu li.current .wp-menu-arrow,
|
||||
.auto-fold #adminmenu li.wp-menu-open .wp-menu-arrow {
|
||||
.auto-fold #adminmenu li.current .wp-menu-arrow div,
|
||||
.auto-fold #adminmenu li.wp-has-current-submenu .wp-menu-arrow div,
|
||||
.auto-fold #adminmenu li.wp-menu-open .wp-menu-arrow,
|
||||
.auto-fold #adminmenu li a:focus .wp-menu-arrow {
|
||||
display: block;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenu li.wp-menu-open {
|
||||
@ -1816,6 +1817,7 @@ form.upgrade .hint {
|
||||
.auto-fold #collapse-menu span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* List table styles */
|
||||
|
Loading…
Reference in New Issue
Block a user