WordPress.org

Make WordPress Core

Ticket #21598: 21598.5.diff

File 21598.5.diff, 31.4 KB (added by lessbloat, 20 months ago)
  • wp-admin/includes/class-wp-posts-list-table.php

     
    218218                                wp_dropdown_categories( $dropdown_options ); 
    219219                        } 
    220220                        do_action( 'restrict_manage_posts' ); 
    221                         submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) ); 
     221                        submit_button( __( 'Filter' ), 'button button-secondary secondary short', false, false, array( 'id' => 'post-query-submit' ) ); 
    222222                } 
    223223 
    224224                if ( $this->is_trash && current_user_can( $post_type_object->cap->edit_others_posts ) ) { 
    225                         submit_button( __( 'Empty Trash' ), 'button-secondary apply', 'delete_all', false ); 
     225                        submit_button( __( 'Empty Trash' ), 'button button-secondary apply short', 'delete_all', false ); 
    226226                } 
    227227?> 
    228228                </div> 
  • wp-admin/includes/plugin-install.php

     
    130130                <?php endif; ?> 
    131131                <input type="search" name="s" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" /> 
    132132                <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 
    133                 <?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?> 
     133                <?php submit_button( __( 'Search Plugins' ), 'button short', 'plugin-search-input', false ); ?> 
    134134        </form><?php 
    135135} 
    136136 
  • wp-admin/includes/class-wp-media-list-table.php

     
    9191                        $this->months_dropdown( 'attachment' ); 
    9292 
    9393                        do_action( 'restrict_manage_posts' ); 
    94                         submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) ); 
     94                        submit_button( __( 'Filter' ), 'button button-secondary secondary short', false, false, array( 'id' => 'post-query-submit' ) ); 
    9595                } 
    9696 
    9797                if ( $this->detached ) { 
    9898                        submit_button( __( 'Scan for lost attachments' ), 'secondary', 'find_detached', false ); 
    9999                } elseif ( $this->is_trash && current_user_can( 'edit_others_posts' ) ) { 
    100                         submit_button( __( 'Empty Trash' ), 'button-secondary apply', 'delete_all', false ); 
     100                        submit_button( __( 'Empty Trash' ), 'button button-secondary apply short', 'delete_all', false ); 
    101101                } ?> 
    102102                </div> 
    103103<?php 
  • wp-admin/includes/class-wp-links-list-table.php

     
    6868                                'orderby' => 'name', 
    6969                        ); 
    7070                        wp_dropdown_categories( $dropdown_options ); 
    71                         submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) ); 
     71                        submit_button( __( 'Filter' ), 'button button-secondary secondary short', false, false, array( 'id' => 'post-query-submit' ) ); 
    7272?> 
    7373                </div> 
    7474<?php 
  • wp-admin/includes/post.php

     
    10761076        if ( false === strpos($permalink, '%postname%') && false === strpos($permalink, '%pagename%') ) { 
    10771077                $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink" tabindex="-1">' . $permalink . "</span>\n"; 
    10781078                if ( '' == get_option( 'permalink_structure' ) && current_user_can( 'manage_options' ) && !( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') ) ) 
    1079                         $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button" target="_blank">' . __('Change Permalinks') . "</a></span>\n"; 
     1079                        $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button small" target="_blank">' . __('Change Permalinks') . "</a></span>\n"; 
    10801080                if ( isset($view_post) ) 
    1081                         $return .= "<span id='view-post-btn'><a href='$permalink' class='button'>$view_post</a></span>\n"; 
     1081                        $return .= "<span id='view-post-btn'><a href='$permalink' class='button small'>$view_post</a></span>\n"; 
    10821082 
    10831083                $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug); 
    10841084 
     
    11051105        $return =  '<strong>' . __('Permalink:') . "</strong>\n"; 
    11061106        $return .= '<span id="sample-permalink" tabindex="-1">' . $display_link . "</span>\n"; 
    11071107        $return .= '&lrm;'; // Fix bi-directional text display defect in RTL languages. 
    1108         $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button hide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n"; 
     1108        $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button small button-highlighted hide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n"; 
    11091109        $return .= '<span id="editable-post-name-full">' . $post_name . "</span>\n"; 
    11101110        if ( isset($view_post) ) 
    1111                 $return .= "<span id='view-post-btn'><a href='$view_link' class='button'>$view_post</a></span>\n"; 
     1111                $return .= "<span id='view-post-btn'><a href='$view_link' class='button small'>$view_post</a></span>\n"; 
    11121112 
    11131113        $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug); 
    11141114 
  • wp-admin/includes/class-wp-users-list-table.php

     
    145145                        <option value=''><?php _e( 'Change role to&hellip;' ) ?></option> 
    146146                        <?php wp_dropdown_roles(); ?> 
    147147                </select> 
    148                 <?php submit_button( __( 'Change' ), 'secondary', 'changeit', false ); ?> 
     148                <?php submit_button( __( 'Change' ), 'button button-secondary secondary short', 'changeit', false ); ?> 
    149149        </div> 
    150150<?php 
    151151        } 
  • wp-admin/includes/dashboard.php

     
    439439        <form action="<?php echo network_admin_url('users.php'); ?>" method="get"> 
    440440                <p> 
    441441                        <input type="search" name="s" value="" size="30" autocomplete="off" /> 
    442                         <?php submit_button( __( 'Search Users' ), 'button', 'submit', false, array( 'id' => 'submit_users' ) ); ?> 
     442                        <?php submit_button( __( 'Search Users' ), 'button short', 'submit', false, array( 'id' => 'submit_users' ) ); ?> 
    443443                </p> 
    444444        </form> 
    445445 
    446446        <form action="<?php echo network_admin_url('sites.php'); ?>" method="get"> 
    447447                <p> 
    448448                        <input type="search" name="s" value="" size="30" autocomplete="off" /> 
    449                         <?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?> 
     449                        <?php submit_button( __( 'Search Sites' ), 'button short', 'submit', false, array( 'id' => 'submit_sites' ) ); ?> 
    450450                </p> 
    451451        </form> 
    452452<?php 
  • wp-admin/includes/class-wp-list-table.php

     
    213213<p class="search-box"> 
    214214        <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label> 
    215215        <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" /> 
    216         <?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?> 
     216        <?php submit_button( $text, 'button short', false, false, array('id' => 'search-submit') ); ?> 
    217217</p> 
    218218<?php 
    219219        } 
     
    300300 
    301301                echo "</select>\n"; 
    302302 
    303                 submit_button( __( 'Apply' ), 'button-secondary action', false, false, array( 'id' => "doaction$two" ) ); 
     303                submit_button( __( 'Apply' ), 'button button-secondary action short', false, false, array( 'id' => "doaction$two" ) ); 
    304304                echo "\n"; 
    305305        } 
    306306 
  • wp-admin/includes/meta-boxes.php

     
    288288                <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label> 
    289289                <div class="taghint"><?php echo $taxonomy->labels->add_new_item; ?></div> 
    290290                <p><input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="" /> 
    291                 <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" /></p> 
     291                <input type="button" class="button tagadd small" value="<?php esc_attr_e('Add'); ?>" /></p> 
    292292        </div> 
    293293        <p class="howto"><?php echo esc_attr( $taxonomy->labels->separate_items_with_commas ); ?></p> 
    294294        <?php endif; ?> 
  • wp-admin/includes/class-wp-plugins-list-table.php

     
    272272                $screen = get_current_screen(); 
    273273 
    274274                if ( ! $screen->is_network && 'recently_activated' == $status ) 
    275                         submit_button( __( 'Clear List' ), 'secondary', 'clear-recent-list', false ); 
     275                        submit_button( __( 'Clear List' ), 'button button-secondary secondary short', 'clear-recent-list', false ); 
    276276                elseif ( 'top' == $which && 'mustuse' == $status ) 
    277277                        echo '<p>' . sprintf( __( 'Files in the <code>%s</code> directory are executed automatically.' ), str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) ) . '</p>'; 
    278278                elseif ( 'top' == $which && 'dropins' == $status ) 
  • wp-admin/includes/class-wp-comments-list-table.php

     
    224224                        ?> 
    225225                        </select> 
    226226<?php 
    227                         submit_button( __( 'Filter' ), 'secondary', false, false, array( 'id' => 'post-query-submit' ) ); 
     227                        submit_button( __( 'Filter' ), 'button button-secondary short', false, false, array( 'id' => 'post-query-submit' ) ); 
    228228                } 
    229229 
    230230                if ( ( 'spam' == $comment_status || 'trash' == $comment_status ) && current_user_can( 'moderate_comments' ) ) { 
    231231                        wp_nonce_field( 'bulk-destroy', '_destroy_nonce' ); 
    232232                        $title = ( 'spam' == $comment_status ) ? esc_attr__( 'Empty Spam' ) : esc_attr__( 'Empty Trash' ); 
    233                         submit_button( $title, 'button-secondary apply', 'delete_all', false ); 
     233                        submit_button( $title, 'button button-secondary apply short', 'delete_all', false ); 
    234234                } 
    235235                do_action( 'manage_comments_nav', $comment_status ); 
    236236                echo '</div>'; 
  • wp-admin/includes/template.php

     
    555555</tr> 
    556556 
    557557<tr><td colspan="2" class="submit"> 
    558 <?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta', 'addmeta', false, array( 'id' => 'addmetasub' ) ); ?> 
     558<?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta button', 'addmeta', false, array( 'id' => 'addmetasub' ) ); ?> 
    559559<?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?> 
    560560</td></tr> 
    561561</tbody> 
  • wp-admin/js/post.js

     
    558558                        var i, c = 0, e = $('#editable-post-name'), revert_e = e.html(), real_slug = $('#post_name'), revert_slug = real_slug.val(), b = $('#edit-slug-buttons'), revert_b = b.html(), full = $('#editable-post-name-full').html(); 
    559559 
    560560                        $('#view-post-btn').hide(); 
    561                         b.html('<a href="#" class="save button">'+postL10n.ok+'</a> <a class="cancel" href="#">'+postL10n.cancel+'</a>'); 
     561                        b.html('<a href="#" class="save button small major">'+postL10n.ok+'</a> <a class="cancel" href="#">'+postL10n.cancel+'</a>'); 
    562562                        b.children('.save').click(function() { 
    563563                                var new_slug = e.children('input').val(); 
    564564                                if ( new_slug == $('#editable-post-name-full').text() ) { 
  • wp-admin/edit-form-advanced.php

     
    290290$sample_permalink_html = $post_type_object->public ? get_sample_permalink_html($post->ID) : ''; 
    291291$shortlink = wp_get_shortlink($post->ID, 'post'); 
    292292if ( !empty($shortlink) ) 
    293     $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button" onclick="prompt(&#39;URL:&#39;, jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>'; 
     293    $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button small" onclick="prompt(&#39;URL:&#39;, jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>'; 
    294294 
    295295if ( $post_type_object->public && ! ( 'pending' == $post->post_status && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { ?> 
    296296        <div id="edit-slug-box"> 
  • wp-admin/css/colors-fresh.css

     
    368368        color: #666; 
    369369} 
    370370 
     371a.button:active { 
     372        outline: none; 
     373} 
     374 
    371375.button, 
    372376.button-secondary, 
    373377.submit input, 
    374378input[type=button], 
    375379input[type=submit] { 
    376         border-color: #bbb; 
    377         color: #464646; 
     380        background: #ececec; 
     381        background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 
     382        background-image: -webkit-linear-gradient(top, #fff, #eee); 
     383        background-image:    -moz-linear-gradient(top, #fff, #eee); 
     384        background-image:      -o-linear-gradient(top, #fff, #eee); 
     385        background-image:   linear-gradient(to bottom, #fff, #eee); 
     386        border-color: #ccc; 
     387        -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);  
     388        box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9); 
     389        color: #464646; 
     390        text-shadow: 1px 1px 0 #fff; 
    378391} 
    379392 
    380393.button:hover, 
     
    382395.submit input:hover, 
    383396input[type=button]:hover, 
    384397input[type=submit]:hover { 
     398        border-color: #bbb; 
     399        -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,.2);  
     400        box-shadow: 0px 1px 2px rgba(0,0,0,.2); 
    385401        color: #000; 
    386         border-color: #666; 
    387402} 
    388403 
    389 .button, 
    390 .submit input, 
    391 .button-secondary { 
    392         text-shadow: 0 1px 0 #fff; 
    393         background: #f2f2f2; 
    394         background-image: -webkit-gradient(linear, left bottom, left top, from(#ededed), to(#fff)); 
    395         background-image: -webkit-linear-gradient(bottom, #ededed, #fff); 
    396         background-image:    -moz-linear-gradient(bottom, #ededed, #fff); 
    397         background-image:      -o-linear-gradient(bottom, #ededed, #fff); 
    398         background-image: linear-gradient(to top, #ededed, #fff); 
    399 } 
    400  
    401404.button:active, 
     405.button-secondary:active, 
    402406.submit input:active, 
    403 .button-secondary:active { 
     407input[type=button]:active, 
     408input[type=submit]:active { 
    404409        background: #eee; 
    405         background-image: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff)); 
    406         background-image: -webkit-linear-gradient(top, #ededed, #fff); 
    407         background-image:    -moz-linear-gradient(top, #ededed, #fff); 
    408         background-image:      -o-linear-gradient(top, #ededed, #fff); 
    409         background-image: linear-gradient(to bottom, #ededed, #fff); 
     410        background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f9f9f9)); 
     411        background-image: -webkit-linear-gradient(top, #eee, #f9f9f9); 
     412        background-image:    -moz-linear-gradient(top, #eee, #f9f9f9); 
     413        background-image:      -o-linear-gradient(top, #eee, #f9f9f9); 
     414        background-image:   linear-gradient(to bottom, #eee, #f9f9f9); 
     415        border-color: #999 #ddd #ddd #999; 
     416        color: #555; 
     417        -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);  
     418        box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);  
    410419} 
    411420 
     421.button:focus, 
     422.button-secondary:focus, 
     423.submit input:focus, 
     424input[type=button]:focus, 
     425input[type=submit]:focus {  
     426        background: #eee; 
     427        background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f9f9f9)); 
     428        background-image: -webkit-linear-gradient(top, #eee, #f9f9f9); 
     429        background-image:    -moz-linear-gradient(top, #eee, #f9f9f9); 
     430        background-image:      -o-linear-gradient(top, #eee, #f9f9f9); 
     431        background-image:   linear-gradient(to bottom, #eee, #f9f9f9); 
     432        border: 1px solid #999; 
     433        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2), inset 0 -1px 0 rgba(255,255,255,.5);   
     434        box-shadow: inset 0 1px 1px rgba(0,0,0,.2), inset 0 -1px 0 rgba(255,255,255,.5);  
     435        text-shadow: 0 1px 0 rgba(255,255,255,.3); 
     436} 
     437 
    412438input.button-primary, 
    413439button.button-primary, 
    414440a.button-primary { 
    415         border-color: #298cba; 
    416         font-weight: bold; 
     441        background-color: #21759b; 
     442        background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b)); 
     443        background-image: -webkit-linear-gradient(top, #2a95c5, #21759b); 
     444        background-image:    -moz-linear-gradient(top, #2a95c5, #21759b); 
     445        background-image:      -o-linear-gradient(top, #2a95c5, #21759b); 
     446        background-image:   linear-gradient(to bottom, #2a95c5, #21759b); 
     447        border-color: #21759b; 
     448        border-bottom-color: #1e6a8d; 
     449        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);  
     450        box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 
     451        color: #fff; 
     452        text-decoration: none; 
     453        text-shadow: 1px 1px 1px rgba(0,0,0,0.1); 
     454} 
     455 
     456input.button-primary:hover, 
     457button.button-primary:hover, 
     458a.button-primary:hover { 
     459        background-color: #278ab7; 
     460        background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b)); 
     461        background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b); 
     462        background-image:    -moz-linear-gradient(top, #2e9fd2, #21759b); 
     463        background-image:      -o-linear-gradient(top, #2e9fd2, #21759b); 
     464        background-image:   linear-gradient(to bottom, #2e9fd2, #21759b); 
     465        border-color: #1b607f; 
     466        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0px 1px 2px rgba(0,0,0,.4);  
     467        box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0px 1px 2px rgba(0,0,0,.4); 
    417468        color: #fff; 
    418         text-shadow: 0 -1px 0 rgba(0,0,0,0.3); 
    419         background: #21759b; 
    420         background-image: -webkit-gradient(linear, left bottom, left top, from(#227199), to(#298cba)); 
    421         background-image: -webkit-linear-gradient(bottom, #227199, #298cba); 
    422         background-image:    -moz-linear-gradient(bottom, #227199, #298cba); 
    423         background-image:      -o-linear-gradient(bottom, #227199, #298cba); 
    424         background-image: linear-gradient(to top, #227199, #298cba); 
     469        text-shadow: 1px 1px 1px rgba(0,0,0,0.3); 
    425470} 
    426471 
    427472input.button-primary:active, 
    428473button.button-primary:active, 
    429474a.button-primary:active { 
    430         color: #eaf2fa; 
    431         background: #298cba; 
    432         background-image: -webkit-gradient(linear, left top, left bottom, from(#227199), to(#298cba)); 
    433         background-image: -webkit-linear-gradient(top, #227199, #298cba); 
    434         background-image:    -moz-linear-gradient(top, #227199, #298cba); 
    435         background-image:      -o-linear-gradient(top, #227199, #298cba); 
    436         background-image: linear-gradient(to bottom, #227199, #298cba); 
     475        background: #1b607f; 
     476        background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7)); 
     477        background-image: -webkit-linear-gradient(top, #21759b, #278ab7); 
     478        background-image:    -moz-linear-gradient(top, #21759b, #278ab7); 
     479        background-image:      -o-linear-gradient(top, #21759b, #278ab7); 
     480        background-image:   linear-gradient(to bottom, #21759b, #278ab7); 
     481        border-color: #124560 #2382ae #2382ae #124560; 
     482        color: rgba(255,255,255,0.95); 
     483        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);  
     484        box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);  
    437485} 
    438486 
    439 input.button-primary:hover, 
    440 button.button-primary:hover, 
    441 a.button-primary:hover, 
    442 a.button-primary:focus, 
    443 a.button-primary:active { 
    444         border-color: #13455b; 
    445         color: #eaf2fa; 
     487input.button-primary:focus, 
     488button.button-primary:focus, 
     489a.button-primary:focus { 
     490        background-color: #21759b; 
     491        background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b)); 
     492        background-image: -webkit-linear-gradient(top, #2a95c5, #21759b); 
     493        background-image:    -moz-linear-gradient(top, #2a95c5, #21759b); 
     494        background-image:      -o-linear-gradient(top, #2a95c5, #21759b); 
     495        background-image:   linear-gradient(to bottom, #2a95c5, #21759b); 
     496        border: 1px solid #002E45;  
     497        -webkit-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 
     498        box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 
     499        text-shadow: 1px 1px 1px rgba(0,0,0,0.3); 
    446500} 
    447501 
    448502.button-disabled, 
     
    458512.button-primary-disabled, 
    459513.button-primary[disabled], 
    460514.button-primary:disabled { 
    461         color: #9fd0d5 !important; 
     515        color: #94cde7 !important; 
    462516        background: #298cba !important; 
    463517} 
    464518 
  • wp-admin/css/wp-admin.css

     
    780780.button-secondary, 
    781781input.button-secondary, 
    782782.button-highlighted, 
    783 input.button-highlighted, 
    784 #postcustomstuff .submit input { 
     783input.button-highlighted { 
     784        display: inline-block; 
    785785        text-decoration: none; 
    786         font-size: 12px !important; 
    787         line-height: 13px; 
    788         padding: 3px 8px; 
     786        font-size: 12px; 
     787        line-height: 15px; 
     788        margin: 0; 
     789        padding: 0.5em .8em; 
    789790        cursor: pointer; 
    790791        border-width: 1px; 
    791792        border-style: solid; 
    792         -webkit-border-radius: 11px; 
    793         border-radius: 11px; 
     793        -webkit-border-radius: 3px; 
     794        border-radius: 3px; 
     795        -webkit-box-sizing: content-box; 
    794796        -moz-box-sizing: content-box; 
    795         -webkit-box-sizing: content-box; 
    796797        box-sizing: content-box; 
     798        white-space: nowrap; 
    797799} 
    798800 
     801input.button-primary, 
     802button.button-primary, 
     803a.button-primary, 
     804.button-highlighted, 
     805input.button-highlighted, 
     806button.button-highlighted { 
     807        font-weight: bold; 
     808        letter-spacing: .01em; 
     809} 
     810 
     811.button.short { 
     812        padding: 3px .8em; 
     813} 
     814 
     815.button.big { 
     816    font-size: 14px; 
     817} 
     818 
     819.button.small { 
     820        padding: .2em .8em; 
     821        font-size: 11px; 
     822} 
     823 
    799824#minor-publishing-actions input, 
    800825#major-publishing-actions input, 
    801826#minor-publishing-actions .preview { 
    802         min-width: 80px; 
    803827        text-align: center; 
    804828} 
    805829 
     
    10141038        list-style: square; 
    10151039} 
    10161040 
    1017 a.button, 
    1018 a.button-primary, 
    1019 a.button-secondary { 
    1020         line-height: 15px; 
    1021         padding: 3px 10px; 
    1022         white-space: nowrap; 
    1023         -webkit-border-radius: 10px; 
    1024 } 
    1025  
    10261041.approve, 
    10271042.unapproved .unapprove { 
    10281043        display: none; 
     
    28032818 
    28042819#titlediv { 
    28052820        position: relative; 
    2806         margin-bottom: 20px; 
     2821        margin-bottom: 10px; 
    28072822} 
    28082823#titlediv label { cursor: text; } 
    28092824 
     
    28562871} 
    28572872 
    28582873#edit-slug-box { 
    2859         height: 1em; 
    28602874        margin-top: 8px; 
    28612875        padding: 0 10px; 
    28622876} 
    28632877 
     2878#edit-slug-box .cancel { 
     2879        margin-right: 10px; 
     2880        font-size: 11px; 
     2881} 
     2882 
    28642883#editable-post-name-full { 
    28652884        display: none; 
    28662885} 
     
    31583177#postcustom #postcustomstuff .submit { 
    31593178        border: 0 none; 
    31603179        float: none; 
    3161         padding: 5px 8px; 
     3180        padding: 0; 
    31623181} 
    31633182 
    31643183#side-sortables #postcustom #postcustomstuff .submit { 
     
    31943213        width: 38%; 
    31953214} 
    31963215 
    3197 #postcustomstuff #newmeta .submit { 
    3198         padding: 0 8px; 
    3199 } 
    3200  
    32013216#postcustomstuff .submit input, 
    32023217#postcustomstuff table #addmetasub { 
    32033218        width: auto; 
     
    42144229 
    42154230#replysubmit { 
    42164231        margin: 0; 
    4217         padding: 0 7px 3px; 
     4232        padding: 0 5px 3px; 
    42184233        text-align: center; 
    42194234} 
    42204235 
     
    46434658.plugins .name, 
    46444659#pass-strength-result.strong, 
    46454660#pass-strength-result.short, 
    4646 .button-highlighted, 
    4647 input.button-highlighted, 
    46484661#ed_reply_toolbar #ed_reply_strong, 
    46494662.item-controls .item-order a, 
    46504663.feature-filter .feature-name { 
     
    56025615        padding: 0; 
    56035616} 
    56045617 
    5605 #titlediv, 
    56065618#poststuff .postarea { 
    56075619        margin-bottom: 20px; 
    56085620} 
     
    60556067} 
    60566068 
    60576069#dashboard-widgets #dashboard_quick_press form p.submit #save-post { 
    6058         margin: 0 1em 0 10px; 
     6070        margin: 0 1em 0 5px; 
    60596071} 
    60606072 
    60616073#dashboard-widgets #dashboard_quick_press form p.submit #publish { 
     
    62496261 
    62506262.login .button-primary { 
    62516263        font-size: 13px !important; 
    6252         line-height: 16px; 
    6253         padding: 3px 10px; 
     6264        padding: .4em .8em; 
    62546265        float: right; 
    62556266} 
    62566267 
  • wp-admin/css/colors-classic.css

     
    377377        color: #666; 
    378378} 
    379379 
     380a.button:active { 
     381        outline: none; 
     382} 
     383 
    380384.button, 
    381385.button-secondary, 
    382386.submit input, 
    383387input[type=button], 
    384388input[type=submit] { 
    385         border-color: #bbb; 
    386         color: #464646; 
     389        background: #ececec; 
     390        background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 
     391        background-image: -webkit-linear-gradient(top, #fff, #eee); 
     392        background-image:    -moz-linear-gradient(top, #fff, #eee); 
     393        background-image:      -o-linear-gradient(top, #fff, #eee); 
     394        background-image:   linear-gradient(to bottom, #fff, #eee); 
     395        border-color: #ccc; 
     396        -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);  
     397        box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9); 
     398        color: #464646; 
     399        text-shadow: 1px 1px 0 #fff; 
    387400} 
    388401 
    389402.button:hover, 
     
    391404.submit input:hover, 
    392405input[type=button]:hover, 
    393406input[type=submit]:hover { 
     407        border-color: #bbb; 
     408        -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,.2);  
     409        box-shadow: 0px 1px 2px rgba(0,0,0,.2); 
    394410        color: #000; 
    395         border-color: #666; 
    396411} 
    397412 
    398 .button, 
    399 .submit input, 
    400 .button-secondary { 
    401         text-shadow: 0 1px 0 #fff; 
    402         background: #f2f2f2; 
    403         background-image: -webkit-gradient(linear, left bottom, left top, from(#ededed), to(#fff)); 
    404         background-image: -webkit-linear-gradient(bottom, #ededed, #fff); 
    405         background-image:    -moz-linear-gradient(bottom, #ededed, #fff); 
    406         background-image:      -o-linear-gradient(bottom, #ededed, #fff); 
    407         background-image: linear-gradient(to top, #ededed, #fff); 
    408 } 
    409  
    410413.button:active, 
     414.button-secondary:active, 
    411415.submit input:active, 
    412 .button-secondary:active { 
     416input[type=button]:active, 
     417input[type=submit]:active { 
    413418        background: #eee; 
    414         background-image: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff)); 
    415         background-image: -webkit-linear-gradient(top, #ededed, #fff); 
    416         background-image:    -moz-linear-gradient(top, #ededed, #fff); 
    417         background-image:      -o-linear-gradient(top, #ededed, #fff); 
    418         background-image: linear-gradient(to bottom, #ededed, #fff); 
     419        background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f9f9f9)); 
     420        background-image: -webkit-linear-gradient(top, #eee, #f9f9f9); 
     421        background-image:    -moz-linear-gradient(top, #eee, #f9f9f9); 
     422        background-image:      -o-linear-gradient(top, #eee, #f9f9f9); 
     423        background-image:   linear-gradient(to bottom, #eee, #f9f9f9); 
     424        border-color: #999 #ddd #ddd #999; 
     425        color: #555; 
     426        -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);  
     427        box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1);  
    419428} 
    420429 
     430.button:focus, 
     431.button-secondary:focus, 
     432.submit input:focus, 
     433input[type=button]:focus, 
     434input[type=submit]:focus {  
     435        background: #eee; 
     436        background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f9f9f9)); 
     437        background-image: -webkit-linear-gradient(top, #eee, #f9f9f9); 
     438        background-image:    -moz-linear-gradient(top, #eee, #f9f9f9); 
     439        background-image:      -o-linear-gradient(top, #eee, #f9f9f9); 
     440        background-image:   linear-gradient(to bottom, #eee, #f9f9f9); 
     441        border: 1px solid #999; 
     442        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2), inset 0 -1px 0 rgba(255,255,255,.5);   
     443        box-shadow: inset 0 1px 1px rgba(0,0,0,.2), inset 0 -1px 0 rgba(255,255,255,.5);  
     444        text-shadow: 0 1px 0 rgba(255,255,255,.3); 
     445} 
     446 
    421447input.button-primary, 
    422448button.button-primary, 
    423449a.button-primary { 
    424         border-color: #298cba; 
    425         font-weight: bold; 
     450        background-color: #21759b; 
     451        background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b)); 
     452        background-image: -webkit-linear-gradient(top, #2a95c5, #21759b); 
     453        background-image:    -moz-linear-gradient(top, #2a95c5, #21759b); 
     454        background-image:      -o-linear-gradient(top, #2a95c5, #21759b); 
     455        background-image:   linear-gradient(to bottom, #2a95c5, #21759b); 
     456        border-color: #21759b; 
     457        border-bottom-color: #1e6a8d; 
     458        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);  
     459        box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 
     460        color: #fff; 
     461        text-decoration: none; 
     462        text-shadow: 1px 1px 1px rgba(0,0,0,0.1); 
     463} 
     464 
     465input.button-primary:hover, 
     466button.button-primary:hover, 
     467a.button-primary:hover { 
     468        background-color: #278ab7; 
     469        background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b)); 
     470        background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b); 
     471        background-image:    -moz-linear-gradient(top, #2e9fd2, #21759b); 
     472        background-image:      -o-linear-gradient(top, #2e9fd2, #21759b); 
     473        background-image:   linear-gradient(to bottom, #2e9fd2, #21759b); 
     474        border-color: #1b607f; 
     475        -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0px 1px 2px rgba(0,0,0,.4);  
     476        box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0px 1px 2px rgba(0,0,0,.4); 
    426477        color: #fff; 
    427         text-shadow: 0 -1px 0 rgba(0,0,0,0.3); 
    428         background: #21759b; 
    429         background-image: -webkit-gradient(linear, left bottom, left top, from(#227199), to(#298cba)); 
    430         background-image: -webkit-linear-gradient(bottom, #227199, #298cba); 
    431         background-image:    -moz-linear-gradient(bottom, #227199, #298cba); 
    432         background-image:      -o-linear-gradient(bottom, #227199, #298cba); 
    433         background-image: linear-gradient(to top, #227199, #298cba); 
     478        text-shadow: 1px 1px 1px rgba(0,0,0,0.3); 
    434479} 
    435480 
    436481input.button-primary:active, 
    437482button.button-primary:active, 
    438483a.button-primary:active { 
    439         color: #eaf2fa; 
    440         background: #298cba; 
    441         background-image: -webkit-gradient(linear, left top, left bottom, from(#227199), to(#298cba)); 
    442         background-image: -webkit-linear-gradient(top, #227199, #298cba); 
    443         background-image:    -moz-linear-gradient(top, #227199, #298cba); 
    444         background-image:      -o-linear-gradient(top, #227199, #298cba); 
    445         background-image: linear-gradient(to bottom, #227199, #298cba); 
     484        background: #1b607f; 
     485        background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7)); 
     486        background-image: -webkit-linear-gradient(top, #21759b, #278ab7); 
     487        background-image:    -moz-linear-gradient(top, #21759b, #278ab7); 
     488        background-image:      -o-linear-gradient(top, #21759b, #278ab7); 
     489        background-image:   linear-gradient(to bottom, #21759b, #278ab7); 
     490        border-color: #124560 #2382ae #2382ae #124560; 
     491        color: rgba(255,255,255,0.95); 
     492        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);  
     493        box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);  
    446494} 
    447495 
    448 input.button-primary:hover, 
    449 button.button-primary:hover, 
    450 a.button-primary:hover, 
    451 a.button-primary:focus, 
    452 a.button-primary:active { 
    453         border-color: #13455b; 
    454         color: #eaf2fa; 
     496input.button-primary:focus, 
     497button.button-primary:focus, 
     498a.button-primary:focus { 
     499        background-color: #21759b; 
     500        background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b)); 
     501        background-image: -webkit-linear-gradient(top, #2a95c5, #21759b); 
     502        background-image:    -moz-linear-gradient(top, #2a95c5, #21759b); 
     503        background-image:      -o-linear-gradient(top, #2a95c5, #21759b); 
     504        background-image:   linear-gradient(to bottom, #2a95c5, #21759b); 
     505        border: 1px solid #002E45;  
     506        -webkit-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 
     507        box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 
     508        text-shadow: 1px 1px 1px rgba(0,0,0,0.3); 
    455509} 
    456510 
    457511.button-disabled, 
     
    467521.button-primary-disabled, 
    468522.button-primary[disabled], 
    469523.button-primary:disabled { 
    470         color: #9fd0d5 !important; 
     524        color: #94cde7 !important; 
    471525        background: #298cba !important; 
    472526} 
    473527