mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@40052 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -472,7 +472,7 @@ function wp_print_media_templates() {
|
||||
<# } #>
|
||||
</div>
|
||||
<# if ( data.buttons.check ) { #>
|
||||
<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>
|
||||
<button type="button" class="check" tabindex="-1"><span class="media-modal-icon"></span><span class="screen-reader-text"><?php _e( 'Deselect' ); ?></span></button>
|
||||
<# } #>
|
||||
<#
|
||||
var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly';
|
||||
|
||||
Reference in New Issue
Block a user