Ticket #21598: 21598.11.diff
File 21598.11.diff, 19.6 KB (added by , 12 years ago) |
---|
-
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/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 } -
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-medium', '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-medium', '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-medium', '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-medium" 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-medium 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-medium 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/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-tiny 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-tiny 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/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' ), 'tiny', 'submit', false ); ?> 562 562 </p> 563 563 <?php 564 564 $image_library_url = get_upload_iframe_src( 'image', null, 'library' ); -
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-medium { 802 padding: 0.4em 0.8em 0.5em; 802 803 } 803 804 804 805 .button.button-large { 805 806 font-size: 14px; 806 padding: 0. 6em 1em 0.5em;807 padding: 0.5em 1em 0.6em; 807 808 } 808 809 809 810 .button.button-tiny { 810 padding: .2em .8em; 811 font-size: 11px; 811 padding: 0.15em 0.8em 0.17em; 812 812 } 813 813 814 814 #minor-publishing-actions input, … … 843 843 #doaction, 844 844 #doaction2, 845 845 #post-query-submit { 846 margin -right: 8px;846 margin: 1px 8px 0 0; 847 847 } 848 848 849 849 .tablenav .actions select { 850 float: left; 851 margin-right: 6px; 850 852 max-width: 200px; 851 853 } 852 854 … … 894 896 margin: 0; 895 897 } 896 898 899 .search-box input[name="s"], #search-plugins input[name="s"], .tagsdiv .newtag { 900 float: left; 901 height: 2em; 902 margin: 0 4px 0 0; 903 } 904 897 905 input[type="text"].ui-autocomplete-loading { 898 906 background: transparent url('../images/loading.gif') no-repeat right center; 899 907 visibility: visible; … … 2482 2490 } 2483 2491 2484 2492 .tablenav .actions { 2493 overflow: hidden; 2485 2494 padding: 2px 8px 0 0; 2486 2495 } 2487 2496 … … 5848 5857 } 5849 5858 5850 5859 #dashboard-widgets-wrap #dashboard-widgets .postbox form .submit input { 5851 margin: 0 ;5860 margin: 0 5px 0 0; 5852 5861 } 5853 5862 5854 5863 #dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish { … … 6105 6114 } 6106 6115 6107 6116 #dashboard-widgets #dashboard_quick_press form p.submit #save-post { 6108 margin: 0 1em 0 0;6117 margin: 0 0.7em 0 1px; 6109 6118 } 6110 6119 6111 6120 #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/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' ), 'tiny', 'submit', false ); ?> 264 264 </p> 265 265 <?php 266 266 $image_library_url = get_upload_iframe_src( 'image', null, 'library' );