Notices: Add styles for use against white backgrounds.

These colored backgrounds can be accessed by adding the `.notice-alt` class to a notice.

There is also now a large version when using the `.notice-large` class, and a `.notice-title` class that is appropriate for headline text within a large notice.

props paulwilde, hugobaeta, melchoyce.
fixes #32244.


git-svn-id: https://develop.svn.wordpress.org/trunk@34365 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi
2015-09-21 15:25:37 +00:00
parent 2b3347332e
commit 9aaa278e02
5 changed files with 54 additions and 50 deletions
+2 -2
View File
@@ -407,8 +407,8 @@ $can_delete = current_user_can( 'delete_themes' );
<h3 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></h3>
<# if ( data.hasUpdate ) { #>
<div class="theme-update-message">
<h4 class="theme-update"><?php _e( 'Update Available' ); ?></h4>
<div class="notice notice-warning notice-alt notice-large">
<h4 class="notice-title"><?php _e( 'Update Available' ); ?></h4>
{{{ data.update }}}
</div>
<# } #>