WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/21/2012 07:34:23 PM (9 years ago)
Author:
nacin
Message:

Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598.

File:
1 edited

Legend:

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

    r21883 r21944  
    16521652        $type = explode( ' ', $type );
    16531653
    1654     $button_shorthand = array( 'primary', 'tiny', 'small', 'large' );
     1654    $button_shorthand = array( 'primary', 'small', 'large' );
    16551655    $classes = array( 'button' );
    16561656    foreach ( $type as $t ) {
Note: See TracChangeset for help on using the changeset viewer.