Admin menu: sync the .folded and @media .auto-fold styles, fixes #21998
git-svn-id: https://develop.svn.wordpress.org/trunk@22536 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
307427162b
commit
c2a28243f6
@ -432,7 +432,7 @@ form.upgrade .hint {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu .wp-submenu .wp-submenu-head {
|
#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-right-radius: 0;
|
||||||
-webkit-border-top-left-radius: 3px;
|
-webkit-border-top-left-radius: 3px;
|
||||||
border-top-right-radius: 0;
|
border-top-right-radius: 0;
|
||||||
@ -476,6 +476,11 @@ form.upgrade .hint {
|
|||||||
margin-right: 52px;
|
margin-right: 52px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.auto-fold #adminmenu div.wp-menu-image {
|
||||||
|
float: right;
|
||||||
|
width: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
.auto-fold #adminmenu .wp-submenu.sub-open,
|
.auto-fold #adminmenu .wp-submenu.sub-open,
|
||||||
.auto-fold #adminmenu .opensub .wp-submenu,
|
.auto-fold #adminmenu .opensub .wp-submenu,
|
||||||
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
||||||
@ -492,7 +497,7 @@ form.upgrade .hint {
|
|||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.auto-fold .wp-menu-arrow {
|
.auto-fold #adminmenu li .wp-menu-arrow {
|
||||||
-moz-transform: translate( -27px );
|
-moz-transform: translate( -27px );
|
||||||
-webkit-transform: translate( -27px );
|
-webkit-transform: translate( -27px );
|
||||||
-o-transform: translate( -27px );
|
-o-transform: translate( -27px );
|
||||||
|
@ -1774,31 +1774,32 @@ form.upgrade .hint {
|
|||||||
|
|
||||||
.auto-fold #adminmenu div.wp-menu-image {
|
.auto-fold #adminmenu div.wp-menu-image {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
margin-top: 0;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 25;
|
z-index: 25;
|
||||||
}
|
}
|
||||||
|
|
||||||
.auto-fold #adminmenu a.menu-top {
|
.auto-fold #adminmenu a.menu-top {
|
||||||
height: 29px;
|
height: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.auto-fold .wp-menu-arrow {
|
.auto-fold #adminmenu li .wp-menu-arrow {
|
||||||
-moz-transform: translate( 33px );
|
-moz-transform: translate( 32px );
|
||||||
-webkit-transform: translate( 33px );
|
-webkit-transform: translate( 32px );
|
||||||
-o-transform: translate( 33px );
|
-o-transform: translate( 32px );
|
||||||
-ms-transform: translate( 33px );
|
-ms-transform: translate( 32px );
|
||||||
transform: translate( 33px );
|
transform: translate( 32px );
|
||||||
}
|
}
|
||||||
|
|
||||||
.auto-fold #adminmenu li.wp-not-current-submenu .wp-menu-arrow {
|
.auto-fold #adminmenu li .wp-menu-arrow div {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.auto-fold #adminmenu li.current .wp-menu-arrow,
|
.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;
|
display: block;
|
||||||
top: 1px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.auto-fold #adminmenu li.wp-menu-open {
|
.auto-fold #adminmenu li.wp-menu-open {
|
||||||
@ -1816,6 +1817,7 @@ form.upgrade .hint {
|
|||||||
.auto-fold #collapse-menu span {
|
.auto-fold #collapse-menu span {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* List table styles */
|
/* List table styles */
|
||||||
|
Loading…
Reference in New Issue
Block a user