Make WordPress Core


Ignore:
Timestamp:
10/02/2012 11:38:21 PM (12 years ago)
Author:
koopersmith
Message:

Refine button styles, notably the gray buttons.

  • Crisper edges, fewer outer shadows.
  • Higher contrast borders on the gray buttons.
  • Separates button-large from button-primary, and removes the regular override class.

props hugobaeta, helenyhou, lessbloat. see #21598.

File:
1 edited

Legend:

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

    r22091 r22099  
    16011601 *                     string such as 'tabindex="1"', though the array format is typically cleaner.
    16021602 */
    1603 function get_submit_button( $text = null, $type = 'primary', $name = 'submit', $wrap = true, $other_attributes = null ) {
     1603function get_submit_button( $text = null, $type = 'primary large', $name = 'submit', $wrap = true, $other_attributes = null ) {
    16041604    if ( ! is_array( $type ) )
    1605         $type = explode( ' ', $type ); 
     1605        $type = explode( ' ', $type );
    16061606
    16071607    $button_shorthand = array( 'primary', 'small', 'large' );
Note: See TracChangeset for help on using the changeset viewer.