Make WordPress Core


Ignore:
Timestamp:
09/21/2015 03:25:37 PM (10 years ago)
Author:
helen
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/themes.php

    r34014 r34365  
    408408
    409409                <# if ( data.hasUpdate ) { #>
    410                 <div class="theme-update-message">
    411                     <h4 class="theme-update"><?php _e( 'Update Available' ); ?></h4>
     410                <div class="notice notice-warning notice-alt notice-large">
     411                    <h4 class="notice-title"><?php _e( 'Update Available' ); ?></h4>
    412412                    {{{ data.update }}}
    413413                </div>
Note: See TracChangeset for help on using the changeset viewer.