For postboxes, only show arrows/handles on hover when JS is enabled (for HiDPI). props TobiasBg. fixes #21611.
git-svn-id: https://develop.svn.wordpress.org/trunk@22582 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d1e099ce09
commit
3d75ef25d8
@ -2044,11 +2044,11 @@ div.widgets-sortables,
|
||||
#adminmenu .wp-menu-open .wp-menu-toggle,
|
||||
#collapse-button div,
|
||||
.nav-menus-php .item-edit,
|
||||
.meta-box-sortables .postbox:hover .handlediv,
|
||||
.js .meta-box-sortables .postbox:hover .handlediv,
|
||||
.sidebar-name-arrow,
|
||||
.rtl #adminmenu .wp-has-submenu:hover .wp-menu-toggle,
|
||||
.rtl #adminmenu .wp-menu-open .wp-menu-toggle,
|
||||
.rtl .meta-box-sortables .postbox:hover .handlediv,
|
||||
.js.rtl .meta-box-sortables .postbox:hover .handlediv,
|
||||
.rtl .sidebar-name-arrow {
|
||||
background-image: url("../images/arrows-vs-2x.png?ver=20120916");
|
||||
background-size: 15px 123px;
|
||||
|
@ -1914,11 +1914,11 @@ div.widgets-sortables,
|
||||
#adminmenu .wp-menu-open .wp-menu-toggle,
|
||||
#collapse-button div,
|
||||
.nav-menus-php .item-edit,
|
||||
.meta-box-sortables .postbox:hover .handlediv,
|
||||
.js .meta-box-sortables .postbox:hover .handlediv,
|
||||
.sidebar-name-arrow,
|
||||
.rtl #adminmenu .wp-has-submenu:hover .wp-menu-toggle,
|
||||
.rtl #adminmenu .wp-menu-open .wp-menu-toggle,
|
||||
.rtl .meta-box-sortables .postbox:hover .handlediv,
|
||||
.js.rtl .meta-box-sortables .postbox:hover .handlediv,
|
||||
.rtl .sidebar-name-arrow {
|
||||
background-image: url("../images/arrows-2x.png?ver=20120916");
|
||||
background-size: 15px 123px;
|
||||
|
@ -8431,8 +8431,8 @@ a.widget-control-edit {
|
||||
background-size: 20px auto;
|
||||
}
|
||||
|
||||
.postbox:hover .handlediv,
|
||||
.stuffbox:hover .handlediv,
|
||||
.js .postbox:hover .handlediv,
|
||||
.js .stuffbox:hover .handlediv,
|
||||
.widget-top a.widget-action {
|
||||
background-image: url('../images/arrows-2x.png');
|
||||
background-size: 15px 123px;
|
||||
|
Loading…
Reference in New Issue
Block a user