WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/09/2017 04:46:58 PM (3 years ago)
Author:
afercia
Message:

Buttons: Improve the .button-link CSS class for link-like buttons.

Updates .button-link adding color and underline to make link-like buttons look
like links by default. Introduces .button-link-delete as a modifier, stackable
CSS class for red button-links.

Props Cheffheid, afercia.

See #34242.
Fixes #35126.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r39639 r40052  
    473473        </div>
    474474        <# if ( data.buttons.check ) { #>
    475             <button type="button" class="button-link check" tabindex="-1"><span class="media-modal-icon"></span><span class="screen-reader-text"><?php _e( 'Deselect' ); ?></span></button>
     475            <button type="button" class="check" tabindex="-1"><span class="media-modal-icon"></span><span class="screen-reader-text"><?php _e( 'Deselect' ); ?></span></button>
    476476        <# } #>
    477477        <#
Note: See TracChangeset for help on using the changeset viewer.