Ticket #21598: 21598.12.diff
| File 21598.12.diff, 29.1 KB (added by , 13 years ago) |
|---|
-
wp-admin/includes/class-wp-posts-list-table.php
215 215 wp_dropdown_categories( $dropdown_options ); 216 216 } 217 217 do_action( 'restrict_manage_posts' ); 218 submit_button( __( 'Filter' ), ' small', false, false, array( 'id' => 'post-query-submit' ) );218 submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) ); 219 219 } 220 220 221 221 if ( $this->is_trash && current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_others_posts ) ) { 222 submit_button( __( 'Empty Trash' ), ' smallapply', 'delete_all', false );222 submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false ); 223 223 } 224 224 ?> 225 225 </div> -
wp-admin/includes/plugin-install.php
130 130 <?php endif; ?> 131 131 <input type="search" name="s" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" /> 132 132 <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 133 <?php submit_button( __( 'Search Plugins' ), ' small', 'plugin-search-input', false ); ?>133 <?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?> 134 134 </form><?php 135 135 } 136 136 -
wp-admin/includes/class-wp-media-list-table.php
92 92 $this->months_dropdown( 'attachment' ); 93 93 94 94 do_action( 'restrict_manage_posts' ); 95 submit_button( __( 'Filter' ), ' small', false, false, array( 'id' => 'post-query-submit' ) );95 submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) ); 96 96 } 97 97 98 98 if ( $this->detached ) { 99 99 submit_button( __( 'Scan for lost attachments' ), 'secondary', 'find_detached', false ); 100 100 } elseif ( $this->is_trash && current_user_can( 'edit_others_posts' ) ) { 101 submit_button( __( 'Empty Trash' ), ' smallapply', 'delete_all', false );101 submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false ); 102 102 } ?> 103 103 </div> 104 104 <?php -
wp-admin/includes/class-wp-links-list-table.php
69 69 'orderby' => 'name', 70 70 ); 71 71 wp_dropdown_categories( $dropdown_options ); 72 submit_button( __( 'Filter' ), ' small', false, false, array( 'id' => 'post-query-submit' ) );72 submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) ); 73 73 ?> 74 74 </div> 75 75 <?php -
wp-admin/includes/post.php
1075 1075 if ( false === strpos($permalink, '%postname%') && false === strpos($permalink, '%pagename%') ) { 1076 1076 $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink" tabindex="-1">' . $permalink . "</span>\n"; 1077 1077 if ( '' == get_option( 'permalink_structure' ) && current_user_can( 'manage_options' ) && !( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') ) ) 1078 $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button- tiny" target="_blank">' . __('Change Permalinks') . "</a></span>\n";1078 $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button-small" target="_blank">' . __('Change Permalinks') . "</a></span>\n"; 1079 1079 if ( isset($view_post) ) 1080 $return .= "<span id='view-post-btn'><a href='$permalink' class='button button- tiny'>$view_post</a></span>\n";1080 $return .= "<span id='view-post-btn'><a href='$permalink' class='button button-small'>$view_post</a></span>\n"; 1081 1081 1082 1082 $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug); 1083 1083 … … 1104 1104 $return = '<strong>' . __('Permalink:') . "</strong>\n"; 1105 1105 $return .= '<span id="sample-permalink" tabindex="-1">' . $display_link . "</span>\n"; 1106 1106 $return .= '‎'; // Fix bi-directional text display defect in RTL languages. 1107 $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button button- tinyhide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n";1107 $return .= '<span id="edit-slug-buttons"><a href="#post_name" class="edit-slug button button-small hide-if-no-js" onclick="editPermalink(' . $id . '); return false;">' . __('Edit') . "</a></span>\n"; 1108 1108 $return .= '<span id="editable-post-name-full">' . $post_name . "</span>\n"; 1109 1109 if ( isset($view_post) ) 1110 $return .= "<span id='view-post-btn'><a href='$view_link' class='button button- tiny'>$view_post</a></span>\n";1110 $return .= "<span id='view-post-btn'><a href='$view_link' class='button button-small'>$view_post</a></span>\n"; 1111 1111 1112 1112 $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug); 1113 1113 -
wp-admin/includes/dashboard.php
439 439 <form action="<?php echo network_admin_url('users.php'); ?>" method="get"> 440 440 <p> 441 441 <input type="search" name="s" value="" size="30" autocomplete="off" /> 442 <?php submit_button( __( 'Search Users' ), ' small', 'submit', false, array( 'id' => 'submit_users' ) ); ?>442 <?php submit_button( __( 'Search Users' ), 'button', 'submit', false, array( 'id' => 'submit_users' ) ); ?> 443 443 </p> 444 444 </form> 445 445 446 446 <form action="<?php echo network_admin_url('sites.php'); ?>" method="get"> 447 447 <p> 448 448 <input type="search" name="s" value="" size="30" autocomplete="off" /> 449 <?php submit_button( __( 'Search Sites' ), ' small', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>449 <?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?> 450 450 </p> 451 451 </form> 452 452 <?php -
wp-admin/includes/class-wp-list-table.php
218 218 <p class="search-box"> 219 219 <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label> 220 220 <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" /> 221 <?php submit_button( $text, ' small', false, false, array('id' => 'search-submit') ); ?>221 <?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?> 222 222 </p> 223 223 <?php 224 224 } … … 301 301 302 302 echo "</select>\n"; 303 303 304 submit_button( __( 'Apply' ), ' smallaction', false, false, array( 'id' => "doaction$two" ) );304 submit_button( __( 'Apply' ), 'action', false, false, array( 'id' => "doaction$two" ) ); 305 305 echo "\n"; 306 306 } 307 307 -
wp-admin/includes/meta-boxes.php
206 206 if ( $can_publish ) : 207 207 if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?> 208 208 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Schedule') ?>" /> 209 <?php submit_button( __( 'Schedule' ), 'primary ', 'publish', false, array( 'accesskey' => 'p' ) ); ?>209 <?php submit_button( __( 'Schedule' ), 'primary button-large', 'publish', false, array( 'accesskey' => 'p' ) ); ?> 210 210 <?php else : ?> 211 211 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Publish') ?>" /> 212 <?php submit_button( __( 'Publish' ), 'primary ', 'publish', false, array( 'accesskey' => 'p' ) ); ?>212 <?php submit_button( __( 'Publish' ), 'primary button-large', 'publish', false, array( 'accesskey' => 'p' ) ); ?> 213 213 <?php endif; 214 214 else : ?> 215 215 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Submit for Review') ?>" /> 216 <?php submit_button( __( 'Submit for Review' ), 'primary ', 'publish', false, array( 'accesskey' => 'p' ) ); ?>216 <?php submit_button( __( 'Submit for Review' ), 'primary button-large', 'publish', false, array( 'accesskey' => 'p' ) ); ?> 217 217 <?php 218 218 endif; 219 219 } else { ?> 220 220 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Update') ?>" /> 221 <input name="save" type="submit" class="button-primary " id="publish" accesskey="p" value="<?php esc_attr_e('Update') ?>" />221 <input name="save" type="submit" class="button-primary button-large" id="publish" accesskey="p" value="<?php esc_attr_e('Update') ?>" /> 222 222 <?php 223 223 } ?> 224 224 </div> … … 286 286 <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label> 287 287 <div class="taghint"><?php echo $taxonomy->labels->add_new_item; ?></div> 288 288 <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="" /> 289 <input type="button" class="button button-tinytagadd" value="<?php esc_attr_e('Add'); ?>" /></p>289 <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" /></p> 290 290 </div> 291 291 <p class="howto"><?php echo esc_attr( $taxonomy->labels->separate_items_with_commas ); ?></p> 292 292 <?php endif; ?> … … 636 636 637 637 <div id="publishing-action"> 638 638 <?php if ( !empty($link->link_id) ) { ?> 639 <input name="save" type="submit" class="button- primary" id="publish" accesskey="p" value="<?php esc_attr_e('Update Link') ?>" />639 <input name="save" type="submit" class="button-large button-primary" id="publish" accesskey="p" value="<?php esc_attr_e('Update Link') ?>" /> 640 640 <?php } else { ?> 641 <input name="save" type="submit" class="button- primary" id="publish" accesskey="p" value="<?php esc_attr_e('Add Link') ?>" />641 <input name="save" type="submit" class="button-large button-primary" id="publish" accesskey="p" value="<?php esc_attr_e('Add Link') ?>" /> 642 642 <?php } ?> 643 643 </div> 644 644 <div class="clear"></div> -
wp-admin/includes/widgets.php
212 212 </div> 213 213 <div class="alignright<?php if ( 'noform' === $has_form ) echo ' widget-control-noform'; ?>"> 214 214 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback" title="" alt="" /> 215 <?php submit_button( __( 'Save' ), 'button -primary widget-control-save', 'savewidget', false, array( 'id' => 'widget-' . esc_attr( $id_format ) . '-savewidget' ) ); ?>215 <?php submit_button( __( 'Save' ), 'button button-primary widget-control-save', 'savewidget', false, array( 'id' => 'widget-' . esc_attr( $id_format ) . '-savewidget' ) ); ?> 216 216 </div> 217 217 <br class="clear" /> 218 218 </div> -
wp-admin/includes/class-wp-comments-list-table.php
224 224 ?> 225 225 </select> 226 226 <?php 227 submit_button( __( 'Filter' ), ' small', false, false, array( 'id' => 'post-query-submit' ) );227 submit_button( __( 'Filter' ), 'button', false, false, array( 'id' => 'post-query-submit' ) ); 228 228 } 229 229 230 230 if ( ( 'spam' == $comment_status || 'trash' == $comment_status ) && current_user_can( 'moderate_comments' ) ) { 231 231 wp_nonce_field( 'bulk-destroy', '_destroy_nonce' ); 232 232 $title = ( 'spam' == $comment_status ) ? esc_attr__( 'Empty Spam' ) : esc_attr__( 'Empty Trash' ); 233 submit_button( $title, ' smallapply', 'delete_all', false );233 submit_button( $title, 'apply', 'delete_all', false ); 234 234 } 235 235 do_action( 'manage_comments_nav', $comment_status ); 236 236 echo '</div>'; -
wp-admin/includes/template.php
1651 1651 if ( ! is_array( $type ) ) 1652 1652 $type = explode( ' ', $type ); 1653 1653 1654 $button_shorthand = array( 'primary', ' tiny', 'small', 'large' );1654 $button_shorthand = array( 'primary', 'small', 'large' ); 1655 1655 $classes = array( 'button' ); 1656 1656 foreach ( $type as $t ) { 1657 1657 if ( 'secondary' === $t || 'button-secondary' === $t ) -
wp-admin/includes/media.php
1882 1882 </select> 1883 1883 <?php } ?> 1884 1884 1885 <?php submit_button( __( 'Filter »' ), ' secondary', 'post-query-submit', false ); ?>1885 <?php submit_button( __( 'Filter »' ), 'button', 'post-query-submit', false ); ?> 1886 1886 1887 1887 </div> 1888 1888 -
wp-admin/includes/nav-menu.php
693 693 <p class="quick-search-wrap"> 694 694 <input type="search" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" /> 695 695 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 696 <?php submit_button( __( 'Search' ), ' quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?>696 <?php submit_button( __( 'Search' ), 'button-small quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?> 697 697 </p> 698 698 699 699 <ul id="<?php echo $post_type_name; ?>-search-checklist" class="list:<?php echo $post_type_name?> categorychecklist form-no-clear"> … … 924 924 <p class="quick-search-wrap"> 925 925 <input type="search" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" /> 926 926 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 927 <?php submit_button( __( 'Search' ), ' quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?>927 <?php submit_button( __( 'Search' ), 'button-small quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?> 928 928 </p> 929 929 930 930 <ul id="<?php echo $taxonomy_name; ?>-search-checklist" class="list:<?php echo $taxonomy_name?> categorychecklist form-no-clear"> -
wp-admin/js/post.js
568 568 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(); 569 569 570 570 $('#view-post-btn').hide(); 571 b.html('<a href="#" class="save button button- tiny">'+postL10n.ok+'</a> <a class="cancel" href="#">'+postL10n.cancel+'</a>');571 b.html('<a href="#" class="save button button-small">'+postL10n.ok+'</a> <a class="cancel" href="#">'+postL10n.cancel+'</a>'); 572 572 b.children('.save').click(function() { 573 573 var new_slug = e.children('input').val(); 574 574 if ( new_slug == $('#editable-post-name-full').text() ) { -
wp-admin/custom-header.php
558 558 <input type="file" id="upload" name="import" /> 559 559 <input type="hidden" name="action" value="save" /> 560 560 <?php wp_nonce_field( 'custom-header-upload', '_wpnonce-custom-header-upload' ); ?> 561 <?php submit_button( __( 'Upload' ), ' button', 'submit', false ); ?>561 <?php submit_button( __( 'Upload' ), 'small', 'submit', false ); ?> 562 562 </p> 563 563 <?php 564 564 $image_library_url = get_upload_iframe_src( 'image', null, 'library' ); -
wp-admin/edit-form-advanced.php
294 294 $sample_permalink_html = $post_type_object->public ? get_sample_permalink_html($post->ID) : ''; 295 295 $shortlink = wp_get_shortlink($post->ID, 'post'); 296 296 if ( !empty($shortlink) ) 297 $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button button- tiny" onclick="prompt('URL:', jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>';297 $sample_permalink_html .= '<input id="shortlink" type="hidden" value="' . esc_attr($shortlink) . '" /><a href="#" class="button button-small" onclick="prompt('URL:', jQuery(\'#shortlink\').val()); return false;">' . __('Get Shortlink') . '</a>'; 298 298 299 299 if ( $post_type_object->public && ! ( 'pending' == $post->post_status && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { ?> 300 300 <div id="edit-slug-box"> -
wp-admin/css/colors-fresh.css
378 378 .submit input, 379 379 input[type=button], 380 380 input[type=submit] { 381 background: # ececec;381 background: #f3f3f3; 382 382 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 383 383 background-image: -webkit-linear-gradient(top, #fff, #eee); 384 384 background-image: -moz-linear-gradient(top, #fff, #eee); 385 385 background-image: -o-linear-gradient(top, #fff, #eee); 386 386 background-image: linear-gradient(to bottom, #fff, #eee); 387 387 border-color: #ccc; 388 -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);389 box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);388 -webkit-box-shadow: inset 0 0 1px 2px rgba(255,255,255, 0.9); 389 box-shadow: inset 0 0 1px 2px rgba(255,255,255, 0.9); 390 390 color: #464646; 391 391 text-shadow: 1px 1px 0 #fff; 392 392 } … … 407 407 input[type=button].focus, 408 408 input[type=button]:focus, 409 409 input[type=submit]:focus { 410 background: # ececec;411 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(# eee));412 background-image: -webkit-linear-gradient(top, #fff, # eee);413 background-image: -moz-linear-gradient(top, #fff, # eee);414 background-image: -o-linear-gradient(top, #fff, # eee);415 background-image: linear-gradient(to bottom, #fff, # eee);410 background: #f3f3f3; 411 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3)); 412 background-image: -webkit-linear-gradient(top, #fff, #f3f3f3); 413 background-image: -moz-linear-gradient(top, #fff, #f3f3f3); 414 background-image: -o-linear-gradient(top, #fff, #f3f3f3); 415 background-image: linear-gradient(to bottom, #fff, #f3f3f3); 416 416 border-color: #bbb; 417 -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1);418 box-shadow: 0px 1px 1px rgba(0,0,0,.1);417 -webkit-box-shadow: inset 0 0 1px 2px #fff, 0px 1px 1px rgba(0,0,0,.1); 418 box-shadow: inset 0 0 1px 2px #fff, 0px 1px 1px rgba(0,0,0,.1); 419 419 color: #000; 420 420 } 421 421 422 .button.focus, 423 .button:focus, 424 .button-secondary.focus, 425 .button-secondary:focus, 426 .submit input.focus, 427 .submit input:focus, 428 input[type=button].focus, 429 input[type=button]:focus, 430 input[type=submit]:focus { 431 border-color: #999; 432 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.2); 433 box-shadow: 1px 1px 1px rgba(0,0,0,.2); 434 } 435 422 436 .button.active, 423 437 .button:active, 424 .small.active,425 .small:active,426 438 .button-secondary.active, 427 439 .button-secondary:active, 428 440 .submit input:active, … … 441 453 box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 442 454 } 443 455 444 .button.focus,445 .button:focus,446 .button-secondary.focus,447 .button-secondary:focus,448 .submit input.focus,449 .submit input:focus,450 input[type=button].focus,451 input[type=button]:focus,452 input[type=submit]:focus {453 border-color: #aaa;454 }455 456 456 input.button-primary, 457 457 button.button-primary, 458 458 a.button-primary { … … 492 492 text-shadow: -1px -1px 0 rgba(0,0,0,0.3); 493 493 } 494 494 495 input.button-primary.focus, 496 input.button-primary:focus, 497 button.button-primary:focus, 498 a.button-primary:focus { 499 border-color: #0e3950; 500 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,.4); 501 box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,.4); 502 } 503 495 504 input.button-primary.active, 496 505 input.button-primary:active, 497 506 button.button-primary:active, … … 508 517 box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 509 518 } 510 519 511 input.button-primary.focus,512 input.button-primary:focus,513 button.button-primary:focus,514 a.button-primary:focus {515 border-color: #124560;516 }517 518 520 .button-disabled, 519 521 .button[disabled], 520 522 .button:disabled, … … 536 538 box-shadow: none !important; 537 539 } 538 540 541 .button-primary-disabled:hover, 542 .button-primary[disabled]:hover { 543 text-shadow: none; 544 } 545 539 546 a:hover, 540 547 a:active { 541 548 color: #d54e21; -
wp-admin/css/wp-admin.css
783 783 display: inline-block; 784 784 text-decoration: none; 785 785 font-size: 12px; 786 line-height: 15px; 786 line-height: 17px; 787 height: 15px; 787 788 margin: 0; 788 padding: 0. 5em 0.8em 0.4em;789 padding: 0.25em 0.8em 0.35em; 789 790 cursor: pointer; 790 791 border-width: 1px; 791 792 border-style: solid; 792 -webkit-border-radius: 3px;793 border-radius: 3px;793 -webkit-border-radius: 4px; 794 border-radius: 4px; 794 795 -webkit-box-sizing: content-box; 795 796 -moz-box-sizing: content-box; 796 797 box-sizing: content-box; 797 798 white-space: nowrap; 798 799 } 799 800 800 .button.button- small{801 padding: 3px .8em 2px;801 .button.button-large, .button.button-primary { 802 padding: 0.4em 0.8em 0.5em; 802 803 } 803 804 804 .button.button-large { 805 font-size: 14px; 806 padding: 0.6em 1em 0.5em; 805 .button.button-small { 806 padding: 0.15em 0.8em 0.17em; 807 807 } 808 808 809 .button.button-tiny { 810 padding: .2em .8em; 811 font-size: 11px; 809 .button.regular { 810 padding: 0.25em 0.8em 0.35em !important; 812 811 } 813 812 814 813 #minor-publishing-actions input, … … 843 842 #doaction, 844 843 #doaction2, 845 844 #post-query-submit { 846 margin -right: 8px;845 margin: 1px 8px 0 0; 847 846 } 848 847 849 848 .tablenav .actions select { 849 float: left; 850 margin-right: 6px; 850 851 max-width: 200px; 851 852 } 852 853 … … 894 895 margin: 0; 895 896 } 896 897 898 .search-box input[name="s"], #search-plugins input[name="s"], .tagsdiv .newtag { 899 float: left; 900 height: 2em; 901 margin: 0 4px 0 0; 902 } 903 897 904 input[type="text"].ui-autocomplete-loading { 898 905 background: transparent url('../images/loading.gif') no-repeat right center; 899 906 visibility: visible; … … 2482 2489 } 2483 2490 2484 2491 .tablenav .actions { 2492 overflow: hidden; 2485 2493 padding: 2px 8px 0 0; 2486 2494 } 2487 2495 … … 5848 5856 } 5849 5857 5850 5858 #dashboard-widgets-wrap #dashboard-widgets .postbox form .submit input { 5851 margin: 0 ;5859 margin: 0 5px 0 0; 5852 5860 } 5853 5861 5854 5862 #dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish { … … 6105 6113 } 6106 6114 6107 6115 #dashboard-widgets #dashboard_quick_press form p.submit #save-post { 6108 margin: 0 1em 0 0;6116 margin: 0 0.7em 0 1px; 6109 6117 } 6110 6118 6111 6119 #dashboard-widgets #dashboard_quick_press form p.submit #publish { -
wp-admin/css/colors-classic.css
387 387 .submit input, 388 388 input[type=button], 389 389 input[type=submit] { 390 background: # ececec;390 background: #f3f3f3; 391 391 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 392 392 background-image: -webkit-linear-gradient(top, #fff, #eee); 393 393 background-image: -moz-linear-gradient(top, #fff, #eee); 394 394 background-image: -o-linear-gradient(top, #fff, #eee); 395 395 background-image: linear-gradient(to bottom, #fff, #eee); 396 396 border-color: #ccc; 397 -webkit-box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);398 box-shadow: inset 0 0 1px 1px rgba(255,255,255, 0.9);397 -webkit-box-shadow: inset 0 0 1px 2px rgba(255,255,255, 0.9); 398 box-shadow: inset 0 0 1px 2px rgba(255,255,255, 0.9); 399 399 color: #464646; 400 400 text-shadow: 1px 1px 0 #fff; 401 401 } … … 413 413 .button-secondary:focus, 414 414 .submit input.focus, 415 415 .submit input:focus, 416 input[type=button].focus, 416 417 input[type=button]:focus, 417 input[type=submit].focus,418 418 input[type=submit]:focus { 419 background: # ececec;420 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(# eee));421 background-image: -webkit-linear-gradient(top, #fff, # eee);422 background-image: -moz-linear-gradient(top, #fff, # eee);423 background-image: -o-linear-gradient(top, #fff, # eee);424 background-image: linear-gradient(to bottom, #fff, # eee);419 background: #f3f3f3; 420 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3)); 421 background-image: -webkit-linear-gradient(top, #fff, #f3f3f3); 422 background-image: -moz-linear-gradient(top, #fff, #f3f3f3); 423 background-image: -o-linear-gradient(top, #fff, #f3f3f3); 424 background-image: linear-gradient(to bottom, #fff, #f3f3f3); 425 425 border-color: #bbb; 426 -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1);427 box-shadow: 0px 1px 1px rgba(0,0,0,.1);426 -webkit-box-shadow: inset 0 0 1px 2px #fff, 0px 1px 1px rgba(0,0,0,.1); 427 box-shadow: inset 0 0 1px 2px #fff, 0px 1px 1px rgba(0,0,0,.1); 428 428 color: #000; 429 429 } 430 430 431 .button.focus, 432 .button:focus, 433 .button-secondary.focus, 434 .button-secondary:focus, 435 .submit input.focus, 436 .submit input:focus, 437 input[type=button].focus, 438 input[type=button]:focus, 439 input[type=submit]:focus { 440 border-color: #999; 441 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.2); 442 box-shadow: 1px 1px 1px rgba(0,0,0,.2); 443 } 444 431 445 .button.active, 432 446 .button:active, 433 447 .button-secondary.active, … … 448 462 box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 449 463 } 450 464 451 .button.focus,452 .button:focus,453 .button-secondary.focus,454 .button-secondary:focus,455 .submit input.focus,456 .submit input:focus,457 input[type=button].focus,458 input[type=submit]:focus {459 border-color: #aaa;460 }461 462 465 input.button-primary, 463 466 button.button-primary, 464 467 a.button-primary { … … 498 501 text-shadow: -1px -1px 0 rgba(0,0,0,0.3); 499 502 } 500 503 504 input.button-primary.focus, 505 input.button-primary:focus, 506 button.button-primary:focus, 507 a.button-primary:focus { 508 border-color: #0e3950; 509 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,.4); 510 box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,.4); 511 } 512 501 513 input.button-primary.active, 502 514 input.button-primary:active, 503 515 button.button-primary:active, … … 514 526 box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 515 527 } 516 528 517 input.button-primary.focus,518 input.button-primary:focus,519 button.button-primary:focus,520 a.button-primary:focus {521 border-color: #124560;522 }523 524 529 .button-disabled, 525 530 .button[disabled], 526 531 .button:disabled, … … 542 547 box-shadow: none !important; 543 548 } 544 549 550 .button-primary-disabled:hover, 551 .button-primary[disabled]:hover { 552 text-shadow: none; 553 } 554 545 555 a:hover, 546 556 a:active { 547 557 color: #d54e21; -
wp-admin/css/customize-controls.css
157 157 158 158 #customize-header-actions .button-primary { 159 159 float: right; 160 margin-top: 1 1px;160 margin-top: 10px; 161 161 } 162 162 163 163 #customize-header-actions img { -
wp-admin/update-core.php
74 74 echo '<input name="locale" value="'. esc_attr($update->locale) .'" type="hidden"/>'; 75 75 if ( $show_buttons ) { 76 76 if ( $first_pass ) { 77 submit_button( $submit, $current ? 'button' : 'primary ', 'upgrade', false );77 submit_button( $submit, $current ? 'button' : 'primary regular', 'upgrade', false ); 78 78 $first_pass = false; 79 79 } else { 80 80 submit_button( $submit, 'button', 'upgrade', false ); -
wp-admin/custom-background.php
260 260 <input type="file" id="upload" name="import" /> 261 261 <input type="hidden" name="action" value="save" /> 262 262 <?php wp_nonce_field( 'custom-background-upload', '_wpnonce-custom-background-upload' ); ?> 263 <?php submit_button( __( 'Upload' ), ' button', 'submit', false ); ?>263 <?php submit_button( __( 'Upload' ), 'small', 'submit', false ); ?> 264 264 </p> 265 265 <?php 266 266 $image_library_url = get_upload_iframe_src( 'image', null, 'library' );