WordPress.org

Make WordPress Core

Ticket #36795: 36795.3.diff

File 36795.3.diff, 1.6 KB (added by ocean90, 5 years ago)
  • src/wp-admin/css/customize-nav-menus.css

     
    1616        color: #555;
    1717}
    1818
     19/* The `edit-menu` button uses also the `button-link` class. */
    1920.customize-control-nav_menu_location .edit-menu {
    20         margin-top: 1px;
     21        margin-left: 6px;
     22        vertical-align: middle;
     23        color: #0073aa;
     24        text-decoration: underline;
    2125}
    2226
     27.customize-control-nav_menu_location .edit-menu:hover,
     28.customize-control-nav_menu_location .edit-menu:active {
     29        color: #00a0d2;
     30}
     31
     32.customize-control-nav_menu_location .edit-menu:focus {
     33        color: #124964;
     34}
     35
    2336.wp-customizer .menu-item-bar .menu-item-handle,
    2437.wp-customizer .menu-item-settings,
    2538.wp-customizer .menu-item-settings .description-thin {
  • src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php

     
    7777                                ?>
    7878                        </select>
    7979                </label>
    80                 <button type="button" class="button edit-menu<?php if ( ! $this->value() ) { echo ' hidden'; } ?>"><?php _e( 'Edit' ); ?></button>
     80                <button type="button" class="button-link edit-menu<?php if ( ! $this->value() ) { echo ' hidden'; } ?>" aria-label="<?php esc_attr_e( 'Edit selected menu' ); ?>"><?php _e( 'Edit Menu' ); ?></button>
    8181                <?php
    8282        }
    8383}