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.


Built from https://develop.svn.wordpress.org/trunk@33604


git-svn-id: http://core.svn.wordpress.org/trunk@33571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Konstantin Obenland 2015-08-10 19:36:27 +00:00
parent d03082323e
commit 48712a0309
5 changed files with 13 additions and 13 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-RC2-33603'; $wp_version = '4.3-RC2-33604';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.