mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
For postboxes, only show arrows/handles on hover when JS is enabled (for HiDPI). props TobiasBg. fixes #21611.
git-svn-id: http://core.svn.wordpress.org/trunk@22582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c87451499b
commit
d6813ffb35
@ -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