Changeset 21944
- Timestamp:
- 09/21/2012 07:34:23 PM (12 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/colors-classic.css
r21878 r21944 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); … … 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; … … 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 } 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); 429 443 } 430 444 … … 447 461 -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 448 462 box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 449 }450 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 463 } 461 464 … … 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, … … 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], … … 541 546 -webkit-box-shadow: none !important; 542 547 box-shadow: none !important; 548 } 549 550 .button-primary-disabled:hover, 551 .button-primary[disabled]:hover { 552 text-shadow: none; 543 553 } 544 554 -
trunk/wp-admin/css/colors-fresh.css
r21878 r21944 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); … … 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; … … 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 } 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); 420 434 } 421 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, … … 440 452 -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 441 453 box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 442 }443 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 454 } 455 455 … … 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, … … 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], … … 535 537 -webkit-box-shadow: none !important; 536 538 box-shadow: none !important; 539 } 540 541 .button-primary-disabled:hover, 542 .button-primary[disabled]:hover { 543 text-shadow: none; 537 544 } 538 545 -
trunk/wp-admin/css/customize-controls.css
r21592 r21944 158 158 #customize-header-actions .button-primary { 159 159 float: right; 160 margin-top: 1 1px;160 margin-top: 10px; 161 161 } 162 162 -
trunk/wp-admin/css/wp-admin.css
r21916 r21944 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; … … 798 799 } 799 800 801 .button.button-large, 802 .button.button-primary { 803 padding: 0.4em 0.8em 0.5em; 804 } 805 800 806 .button.button-small { 801 padding: 3px .8em 2px; 802 } 803 804 .button.button-large { 805 font-size: 14px; 806 padding: 0.6em 1em 0.5em; 807 } 808 809 .button.button-tiny { 810 padding: .2em .8em; 811 font-size: 11px; 807 padding: 0.15em 0.8em 0.17em; 808 } 809 810 .button.regular { 811 padding: 0.25em 0.8em 0.35em !important; 812 812 } 813 813 … … 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 } … … 893 895 float: right; 894 896 margin: 0; 897 } 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; 895 903 } 896 904 … … 2483 2491 2484 2492 .tablenav .actions { 2493 overflow: hidden; 2485 2494 padding: 2px 8px 0 0; 2486 2495 } … … 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 … … 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 -
trunk/wp-admin/custom-background.php
r21070 r21944 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 -
trunk/wp-admin/custom-header.php
r21508 r21944 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 -
trunk/wp-admin/edit-form-advanced.php
r21789 r21944 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 ) ) ) { ?> -
trunk/wp-admin/includes/class-wp-comments-list-table.php
r21789 r21944 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 … … 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 ); -
trunk/wp-admin/includes/class-wp-links-list-table.php
r21914 r21944 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> -
trunk/wp-admin/includes/class-wp-list-table.php
r21914 r21944 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 … … 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 } -
trunk/wp-admin/includes/class-wp-media-list-table.php
r21914 r21944 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 … … 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> -
trunk/wp-admin/includes/class-wp-posts-list-table.php
r21914 r21944 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 ?> -
trunk/wp-admin/includes/dashboard.php
r21894 r21944 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> … … 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> -
trunk/wp-admin/includes/media.php
r21917 r21944 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> -
trunk/wp-admin/includes/meta-boxes.php
r21789 r21944 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 } ?> … … 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> … … 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> -
trunk/wp-admin/includes/nav-menu.php
r20168 r21944 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 … … 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 -
trunk/wp-admin/includes/plugin-install.php
r21789 r21944 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 } -
trunk/wp-admin/includes/post.php
r21922 r21944 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); … … 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); -
trunk/wp-admin/includes/template.php
r21883 r21944 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 ) { -
trunk/wp-admin/includes/widgets.php
r21356 r21944 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" /> -
trunk/wp-admin/js/post.js
r21921 r21944 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(); -
trunk/wp-admin/update-core.php
r21703 r21944 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 {
Note: See TracChangeset
for help on using the changeset viewer.