Make WordPress Core

Changeset 33604


Ignore:
Timestamp:
08/10/2015 07:35:57 PM (9 years ago)
Author:
obenland
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-nav-menus.css

    r33511 r33604  
    9292
    9393/* Menu-item reordering nav. */
    94 #customize-theme-controls .reordering .reorder,
    95 #customize-theme-controls .reorder-done {
    96     display: none;
    97 }
    98 
    99 #customize-theme-controls .reorder,
    100 #customize-theme-controls .reordering .reorder-done {
     94.customize-control-nav_menu .reordering .reorder,
     95.customize-control-nav_menu .reorder-done {
     96    display: none;
     97}
     98
     99.customize-control-nav_menu .reorder,
     100.customize-control-nav_menu .reordering .reorder-done {
    101101    display: inline-block;
    102102    padding: 5px 8px;
     
    111111}
    112112
    113 #customize-theme-controls .reordering .add-new-menu-item {
     113.customize-control-nav_menu .reordering .add-new-menu-item {
    114114    opacity: 0.2;
    115115    pointer-events: none;
Note: See TracChangeset for help on using the changeset viewer.