Customize: Limit styles for menu's reorder button to the nav_menu control.

This prevents it from bleeding into other controls, misaligning their buttons.
Selectors use a class now too, which is preferable over ids.

Fixes #33260.



git-svn-id: https://develop.svn.wordpress.org/trunk@33604 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Konstantin Obenland 2015-08-10 19:35:57 +00:00
parent 19f9dd3b72
commit a367a1b67b

View File

@ -91,13 +91,13 @@
}
/* Menu-item reordering nav. */
#customize-theme-controls .reordering .reorder,
#customize-theme-controls .reorder-done {
.customize-control-nav_menu .reordering .reorder,
.customize-control-nav_menu .reorder-done {
display: none;
}
#customize-theme-controls .reorder,
#customize-theme-controls .reordering .reorder-done {
.customize-control-nav_menu .reorder,
.customize-control-nav_menu .reordering .reorder-done {
display: inline-block;
padding: 5px 8px;
}
@ -110,7 +110,7 @@
right: 0;
}
#customize-theme-controls .reordering .add-new-menu-item {
.customize-control-nav_menu .reordering .add-new-menu-item {
opacity: 0.2;
pointer-events: none;
cursor: not-allowed;