Ticket #21598: 21598.7.diff
File 21598.7.diff, 39.4 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/class-wp-posts-list-table.php
218 218 wp_dropdown_categories( $dropdown_options ); 219 219 } 220 220 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' ) ); 222 222 } 223 223 224 224 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 ); 226 226 } 227 227 ?> 228 228 </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' ), 'button ', 'plugin-search-input', false ); ?>133 <?php submit_button( __( 'Search Plugins' ), 'button short', 'plugin-search-input', false ); ?> 134 134 </form><?php 135 135 } 136 136 -
wp-admin/includes/class-wp-media-list-table.php
91 91 $this->months_dropdown( 'attachment' ); 92 92 93 93 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' ) ); 95 95 } 96 96 97 97 if ( $this->detached ) { 98 98 submit_button( __( 'Scan for lost attachments' ), 'secondary', 'find_detached', false ); 99 99 } 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 ); 101 101 } ?> 102 102 </div> 103 103 <?php -
wp-admin/includes/class-wp-links-list-table.php
68 68 'orderby' => 'name', 69 69 ); 70 70 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' ) ); 72 72 ?> 73 73 </div> 74 74 <?php -
wp-admin/includes/post.php
1076 1076 if ( false === strpos($permalink, '%postname%') && false === strpos($permalink, '%pagename%') ) { 1077 1077 $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink" tabindex="-1">' . $permalink . "</span>\n"; 1078 1078 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"; 1080 1080 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"; 1082 1082 1083 1083 $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug); 1084 1084 … … 1105 1105 $return = '<strong>' . __('Permalink:') . "</strong>\n"; 1106 1106 $return .= '<span id="sample-permalink" tabindex="-1">' . $display_link . "</span>\n"; 1107 1107 $return .= '‎'; // 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"; 1109 1109 $return .= '<span id="editable-post-name-full">' . $post_name . "</span>\n"; 1110 1110 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"; 1112 1112 1113 1113 $return = apply_filters('get_sample_permalink_html', $return, $id, $new_title, $new_slug); 1114 1114 -
wp-admin/includes/class-wp-users-list-table.php
145 145 <option value=''><?php _e( 'Change role to…' ) ?></option> 146 146 <?php wp_dropdown_roles(); ?> 147 147 </select> 148 <?php submit_button( __( 'Change' ), ' secondary', 'changeit', false ); ?>148 <?php submit_button( __( 'Change' ), 'button button-secondary secondary short', 'changeit', false ); ?> 149 149 </div> 150 150 <?php 151 151 } -
wp-admin/includes/class-wp-list-table.php
217 217 <p class="search-box"> 218 218 <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label> 219 219 <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" /> 220 <?php submit_button( $text, 'button ', false, false, array('id' => 'search-submit') ); ?>220 <?php submit_button( $text, 'button short', false, false, array('id' => 'search-submit') ); ?> 221 221 </p> 222 222 <?php 223 223 } … … 304 304 305 305 echo "</select>\n"; 306 306 307 submit_button( __( 'Apply' ), 'button -secondary action', false, false, array( 'id' => "doaction$two" ) );307 submit_button( __( 'Apply' ), 'button button-secondary action short', false, false, array( 'id' => "doaction$two" ) ); 308 308 echo "\n"; 309 309 } 310 310 -
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' ), 'button ', 'submit', false, array( 'id' => 'submit_users' ) ); ?>442 <?php submit_button( __( 'Search Users' ), 'button short', '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' ), 'button ', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>449 <?php submit_button( __( 'Search Sites' ), 'button short', 'submit', false, array( 'id' => 'submit_sites' ) ); ?> 450 450 </p> 451 451 </form> 452 452 <?php -
wp-admin/includes/meta-boxes.php
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 tagadd " value="<?php esc_attr_e('Add'); ?>" /></p>289 <input type="button" class="button tagadd small" 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; ?> -
wp-admin/includes/class-wp-plugins-list-table.php
274 274 $screen = get_current_screen(); 275 275 276 276 if ( ! $screen->is_network && 'recently_activated' == $status ) 277 submit_button( __( 'Clear List' ), ' secondary', 'clear-recent-list', false );277 submit_button( __( 'Clear List' ), 'button button-secondary secondary short', 'clear-recent-list', false ); 278 278 elseif ( 'top' == $which && 'mustuse' == $status ) 279 279 echo '<p>' . sprintf( __( 'Files in the <code>%s</code> directory are executed automatically.' ), str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) ) . '</p>'; 280 280 elseif ( 'top' == $which && 'dropins' == $status ) -
wp-admin/includes/class-wp-comments-list-table.php
224 224 ?> 225 225 </select> 226 226 <?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' ) ); 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, 'button -secondary apply', 'delete_all', false );233 submit_button( $title, 'button button-secondary apply short', 'delete_all', false ); 234 234 } 235 235 do_action( 'manage_comments_nav', $comment_status ); 236 236 echo '</div>'; -
wp-admin/includes/template.php
554 554 </tr> 555 555 556 556 <tr><td colspan="2" class="submit"> 557 <?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta ', 'addmeta', false, array( 'id' => 'addmetasub' ) ); ?>557 <?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta button', 'addmeta', false, array( 'id' => 'addmetasub' ) ); ?> 558 558 <?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?> 559 559 </td></tr> 560 560 </tbody> -
wp-admin/js/post.js
558 558 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(); 559 559 560 560 $('#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>'); 562 562 b.children('.save').click(function() { 563 563 var new_slug = e.children('input').val(); 564 564 if ( new_slug == $('#editable-post-name-full').text() ) { -
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 " 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 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
52 52 input[type="password"]:focus, 53 53 input[type="file"]:focus, 54 54 input[type="button"]:focus, 55 input[type="submit"].focus, 55 56 input[type="submit"]:focus, 56 57 input[type="reset"]:focus, 57 58 input[type="email"]:focus, … … 368 369 color: #666; 369 370 } 370 371 372 a.button:active { 373 outline: none; 374 } 375 371 376 .button, 372 377 .button-secondary, 373 378 .submit input, 374 379 input[type=button], 375 380 input[type=submit] { 376 border-color: #bbb; 377 color: #464646; 381 background: #ececec; 382 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 383 background-image: -webkit-linear-gradient(top, #fff, #eee); 384 background-image: -moz-linear-gradient(top, #fff, #eee); 385 background-image: -o-linear-gradient(top, #fff, #eee); 386 background-image: linear-gradient(to bottom, #fff, #eee); 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); 390 color: #464646; 391 text-shadow: 1px 1px 0 #fff; 378 392 } 379 393 394 .button.hover, 380 395 .button:hover, 396 .button-secondary.hover, 381 397 .button-secondary:hover, 398 .button-highlighted.hover, 399 .button-highlighted:hover, 382 400 .submit input:hover, 383 401 input[type=button]:hover, 384 input[type=submit]:hover { 402 input[type=submit]:hover, 403 .button.focus, 404 .button:focus, 405 .button-secondary.focus, 406 .button-secondary:focus, 407 .submit input.focus, 408 .submit input:focus, 409 input[type=button].focus, 410 input[type=button]:focus, 411 input[type=submit]:focus { 412 background: #ececec; 413 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 414 background-image: -webkit-linear-gradient(top, #fff, #eee); 415 background-image: -moz-linear-gradient(top, #fff, #eee); 416 background-image: -o-linear-gradient(top, #fff, #eee); 417 background-image: linear-gradient(to bottom, #fff, #eee); 418 border-color: #bbb; 419 -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1); 420 box-shadow: 0px 1px 1px rgba(0,0,0,.1); 385 421 color: #000; 386 border-color: #666;387 422 } 388 423 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 424 .button.active, 401 425 .button:active, 426 .small.active, 427 .small:active, 428 .button-secondary.active, 429 .button-secondary:active, 430 .button-highlighted.active, 431 .button-highlighted:active, 402 432 .submit input:active, 403 .button-secondary:active { 433 input[type=button].active, 434 input[type=button]:active, 435 input[type=submit]:active { 404 436 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); 437 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f9f9f9)); 438 background-image: -webkit-linear-gradient(top, #eee, #f9f9f9); 439 background-image: -moz-linear-gradient(top, #eee, #f9f9f9); 440 background-image: -o-linear-gradient(top, #eee, #f9f9f9); 441 background-image: linear-gradient(to bottom, #eee, #f9f9f9); 442 border-color: #999 #ddd #ddd #999; 443 color: #555; 444 -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 445 box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 410 446 } 411 447 448 .button.focus, 449 .button:focus, 450 .button-secondary.focus, 451 .button-secondary:focus, 452 .submit input.focus, 453 .submit input:focus, 454 input[type=button].focus, 455 input[type=button]:focus, 456 input[type=submit]:focus { 457 border-color: #aaa; 458 } 459 412 460 input.button-primary, 413 461 button.button-primary, 414 462 a.button-primary { 415 border-color: #298cba; 416 font-weight: bold; 463 background-color: #21759b; 464 background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b)); 465 background-image: -webkit-linear-gradient(top, #2a95c5, #21759b); 466 background-image: -moz-linear-gradient(top, #2a95c5, #21759b); 467 background-image: -o-linear-gradient(top, #2a95c5, #21759b); 468 background-image: linear-gradient(to bottom, #2a95c5, #21759b); 469 border-color: #21759b; 470 border-bottom-color: #1e6a8d; 471 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 472 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 473 color: #fff; 474 text-decoration: none; 475 text-shadow: -1px -1px 0 rgba(0,0,0,0.1); 476 } 477 478 input.button-primary.hover, 479 input.button-primary:hover, 480 button.button-primary:hover, 481 a.button-primary:hover, 482 input.button-primary.focus, 483 input.button-primary:focus, 484 button.button-primary:focus, 485 a.button-primary:focus { 486 background-color: #278ab7; 487 background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b)); 488 background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b); 489 background-image: -moz-linear-gradient(top, #2e9fd2, #21759b); 490 background-image: -o-linear-gradient(top, #2e9fd2, #21759b); 491 background-image: linear-gradient(to bottom, #2e9fd2, #21759b); 492 border-color: #1b607f; 493 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3); 494 box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0 1px 1px rgba(0,0,0,.3); 417 495 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); 496 text-shadow: -1px -1px 0 rgba(0,0,0,0.3); 425 497 } 426 498 499 input.button-primary.active, 427 500 input.button-primary:active, 428 501 button.button-primary:active, 429 502 a.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); 503 background: #1b607f; 504 background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7)); 505 background-image: -webkit-linear-gradient(top, #21759b, #278ab7); 506 background-image: -moz-linear-gradient(top, #21759b, #278ab7); 507 background-image: -o-linear-gradient(top, #21759b, #278ab7); 508 background-image: linear-gradient(to bottom, #21759b, #278ab7); 509 border-color: #124560 #2382ae #2382ae #124560; 510 color: rgba(255,255,255,0.95); 511 -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 512 box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 437 513 } 438 514 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; 515 input.button-primary.focus, 516 input.button-primary:focus, 517 button.button-primary:focus, 518 a.button-primary:focus { 519 border-color: #124560; 446 520 } 447 521 448 522 .button-disabled, … … 450 524 .button:disabled, 451 525 .button-secondary[disabled], 452 526 .button-secondary:disabled, 527 .button-highlighted[disabled], 528 .button-highlighted:disabled, 453 529 a.button.disabled { 454 530 color: #aaa !important; 455 531 border-color: #ddd !important; 532 -webkit-box-shadow: none !important; 533 box-shadow: none !important; 456 534 } 457 535 458 536 .button-primary-disabled, 459 537 .button-primary[disabled], 460 538 .button-primary:disabled { 461 color: #9 fd0d5!important;539 color: #94cde7 !important; 462 540 background: #298cba !important; 541 -webkit-box-shadow: none !important; 542 box-shadow: none !important; 463 543 } 464 544 465 545 a:hover, -
wp-admin/css/wp-admin.css
780 780 .button-secondary, 781 781 input.button-secondary, 782 782 .button-highlighted, 783 input.button-highlighted ,784 #postcustomstuff .submit input { 783 input.button-highlighted { 784 display: inline-block; 785 785 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 0.8em 0.4em; 789 790 cursor: pointer; 790 791 border-width: 1px; 791 792 border-style: solid; 792 -webkit-border-radius: 11px; 793 border-radius: 11px; 794 -moz-box-sizing: content-box; 793 -webkit-border-radius: 3px; 794 border-radius: 3px; 795 795 -webkit-box-sizing: content-box; 796 box-sizing: content-box; 796 -moz-box-sizing: content-box; 797 box-sizing: content-box; 798 white-space: nowrap; 797 799 } 798 800 801 input.button-primary, 802 button.button-primary, 803 a.button-primary, 804 .button-highlighted, 805 input.button-highlighted, 806 button.button-highlighted { 807 font-weight: bold; 808 letter-spacing: .01em; 809 } 810 811 .button.short { 812 padding: 3px .8em 2px; 813 } 814 815 .button.big { 816 font-size: 14px; 817 } 818 819 .button.small { 820 padding: .2em .8em; 821 font-size: 11px; 822 } 823 799 824 #minor-publishing-actions input, 800 825 #major-publishing-actions input, 801 826 #minor-publishing-actions .preview { 802 min-width: 80px;803 827 text-align: center; 804 828 } 805 829 … … 1014 1038 list-style: square; 1015 1039 } 1016 1040 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 1026 1041 .approve, 1027 1042 .unapproved .unapprove { 1028 1043 display: none; … … 2803 2818 2804 2819 #titlediv { 2805 2820 position: relative; 2806 margin-bottom: 20px;2821 margin-bottom: 10px; 2807 2822 } 2808 2823 #titlediv label { cursor: text; } 2809 2824 … … 2856 2871 } 2857 2872 2858 2873 #edit-slug-box { 2859 height: 1em;2860 2874 margin-top: 8px; 2861 2875 padding: 0 10px; 2862 2876 } 2863 2877 2878 #edit-slug-box .cancel { 2879 margin-right: 10px; 2880 font-size: 11px; 2881 } 2882 2864 2883 #editable-post-name-full { 2865 2884 display: none; 2866 2885 } … … 3158 3177 #postcustom #postcustomstuff .submit { 3159 3178 border: 0 none; 3160 3179 float: none; 3161 padding: 5px 8px;3180 padding: 0; 3162 3181 } 3163 3182 3164 3183 #side-sortables #postcustom #postcustomstuff .submit { … … 3194 3213 width: 38%; 3195 3214 } 3196 3215 3197 #postcustomstuff #newmeta .submit {3198 padding: 0 8px;3199 }3200 3201 3216 #postcustomstuff .submit input, 3202 3217 #postcustomstuff table #addmetasub { 3203 3218 width: auto; … … 4214 4229 4215 4230 #replysubmit { 4216 4231 margin: 0; 4217 padding: 0 7px 3px;4232 padding: 0 5px 3px; 4218 4233 text-align: center; 4219 4234 } 4220 4235 … … 4643 4658 .plugins .name, 4644 4659 #pass-strength-result.strong, 4645 4660 #pass-strength-result.short, 4646 .button-highlighted,4647 input.button-highlighted,4648 4661 #ed_reply_toolbar #ed_reply_strong, 4649 4662 .item-controls .item-order a, 4650 4663 .feature-filter .feature-name { … … 5602 5615 padding: 0; 5603 5616 } 5604 5617 5605 #titlediv,5606 5618 #poststuff .postarea { 5607 5619 margin-bottom: 20px; 5608 5620 } … … 6055 6067 } 6056 6068 6057 6069 #dashboard-widgets #dashboard_quick_press form p.submit #save-post { 6058 margin: 0 1em 0 10px;6070 margin: 0 1em 0 5px; 6059 6071 } 6060 6072 6061 6073 #dashboard-widgets #dashboard_quick_press form p.submit #publish { … … 6249 6261 6250 6262 .login .button-primary { 6251 6263 font-size: 13px !important; 6252 line-height: 16px; 6253 padding: 3px 10px; 6264 padding: .4em .8em; 6254 6265 float: right; 6255 6266 } 6256 6267 -
wp-admin/css/colors-classic.css
57 57 input[type="password"]:focus, 58 58 input[type="file"]:focus, 59 59 input[type="button"]:focus, 60 input[type="submit"].focus, 60 61 input[type="submit"]:focus, 61 62 input[type="reset"]:focus, 62 63 input[type="email"]:focus, … … 377 378 color: #666; 378 379 } 379 380 381 a.button:active { 382 outline: none; 383 } 384 380 385 .button, 381 386 .button-secondary, 382 387 .submit input, 383 388 input[type=button], 384 389 input[type=submit] { 385 border-color: #bbb; 386 color: #464646; 390 background: #ececec; 391 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 392 background-image: -webkit-linear-gradient(top, #fff, #eee); 393 background-image: -moz-linear-gradient(top, #fff, #eee); 394 background-image: -o-linear-gradient(top, #fff, #eee); 395 background-image: linear-gradient(to bottom, #fff, #eee); 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); 399 color: #464646; 400 text-shadow: 1px 1px 0 #fff; 387 401 } 388 402 403 .button.hover, 389 404 .button:hover, 405 .button-secondary.hover, 390 406 .button-secondary:hover, 407 .button-highlighted.hover, 408 .button-highlighted:hover, 391 409 .submit input:hover, 392 410 input[type=button]:hover, 393 input[type=submit]:hover { 411 input[type=submit]:hover, 412 .button.focus, 413 .button:focus, 414 .button-secondary.focus, 415 .button-secondary:focus, 416 .button-highlighted.focus, 417 .button-highlighted:focus, 418 .submit input.focus, 419 .submit input:focus, 420 input[type=button]:focus, 421 input[type=submit].focus, 422 input[type=submit]:focus { 423 background: #ececec; 424 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); 425 background-image: -webkit-linear-gradient(top, #fff, #eee); 426 background-image: -moz-linear-gradient(top, #fff, #eee); 427 background-image: -o-linear-gradient(top, #fff, #eee); 428 background-image: linear-gradient(to bottom, #fff, #eee); 429 border-color: #bbb; 430 -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.1); 431 box-shadow: 0px 1px 1px rgba(0,0,0,.1); 394 432 color: #000; 395 border-color: #666;396 433 } 397 434 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 435 .button.active, 410 436 .button:active, 437 .button-secondary.active, 438 .button-secondary:active, 411 439 .submit input:active, 412 .button-secondary:active { 440 input[type=button]:active, 441 input[type=submit].active, 442 input[type=submit]:active { 413 443 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); 444 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#f9f9f9)); 445 background-image: -webkit-linear-gradient(top, #eee, #f9f9f9); 446 background-image: -moz-linear-gradient(top, #eee, #f9f9f9); 447 background-image: -o-linear-gradient(top, #eee, #f9f9f9); 448 background-image: linear-gradient(to bottom, #eee, #f9f9f9); 449 border-color: #999 #ddd #ddd #999; 450 color: #555; 451 -webkit-box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 452 box-shadow: inset 1px 1px 0 rgba(50,50,50,0.1); 419 453 } 420 454 455 .button.focus, 456 .button:focus, 457 .button-secondary.focus, 458 .button-secondary:focus, 459 .submit input.focus, 460 .submit input:focus, 461 input[type=button].focus, 462 input[type=submit]:focus { 463 border-color: #aaa; 464 } 465 421 466 input.button-primary, 422 467 button.button-primary, 423 468 a.button-primary { 424 border-color: #298cba; 425 font-weight: bold; 469 background-color: #21759b; 470 background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b)); 471 background-image: -webkit-linear-gradient(top, #2a95c5, #21759b); 472 background-image: -moz-linear-gradient(top, #2a95c5, #21759b); 473 background-image: -o-linear-gradient(top, #2a95c5, #21759b); 474 background-image: linear-gradient(to bottom, #2a95c5, #21759b); 475 border-color: #21759b; 476 border-bottom-color: #1e6a8d; 477 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 478 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 479 color: #fff; 480 text-decoration: none; 481 text-shadow: -1px -1px 0 rgba(0,0,0,0.1); 482 } 483 484 input.button-primary.hover, 485 input.button-primary:hover, 486 button.button-primary:hover, 487 a.button-primary:hover, 488 input.button-primary.focus, 489 input.button-primary:focus, 490 button.button-primary:focus, 491 a.button-primary:focus { 492 background-color: #278ab7; 493 background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b)); 494 background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b); 495 background-image: -moz-linear-gradient(top, #2e9fd2, #21759b); 496 background-image: -o-linear-gradient(top, #2e9fd2, #21759b); 497 background-image: linear-gradient(to bottom, #2e9fd2, #21759b); 498 border-color: #1b607f; 499 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0px 1px 2px rgba(0,0,0,.4); 500 box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 0px 1px 2px rgba(0,0,0,.4); 426 501 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); 502 text-shadow: -1px -1px 0 rgba(0,0,0,0.3); 434 503 } 435 504 505 input.button-primary.active, 436 506 input.button-primary:active, 437 507 button.button-primary:active, 438 508 a.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); 509 background: #1b607f; 510 background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7)); 511 background-image: -webkit-linear-gradient(top, #21759b, #278ab7); 512 background-image: -moz-linear-gradient(top, #21759b, #278ab7); 513 background-image: -o-linear-gradient(top, #21759b, #278ab7); 514 background-image: linear-gradient(to bottom, #21759b, #278ab7); 515 border-color: #124560 #2382ae #2382ae #124560; 516 color: rgba(255,255,255,0.95); 517 -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 518 box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1); 446 519 } 447 520 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; 521 input.button-primary.focus, 522 input.button-primary:focus, 523 button.button-primary:focus, 524 a.button-primary:focus { 525 border-color: #124560; 455 526 } 456 527 457 528 .button-disabled, … … 459 530 .button:disabled, 460 531 .button-secondary[disabled], 461 532 .button-secondary:disabled, 533 .button-highlighted[disabled], 534 .button-highlighted:disabled, 462 535 a.button.disabled { 463 536 color: #aaa !important; 464 537 border-color: #ddd !important; 538 -webkit-box-shadow: none !important; 539 box-shadow: none !important; 465 540 } 466 541 467 542 .button-primary-disabled, 468 543 .button-primary[disabled], 469 544 .button-primary:disabled { 470 color: #9 fd0d5!important;545 color: #94cde7 !important; 471 546 background: #298cba !important; 547 -webkit-box-shadow: none !important; 548 box-shadow: none !important; 472 549 } 473 550 474 551 a:hover, … … 947 1024 } 948 1025 949 1026 /* Containers */ 1027 .wp-editor-wrap .wp-editor-container, 950 1028 .wp-editor-wrap .wp_themeSkin table.mceLayout { 951 1029 border-color: #bed1dd #bed1dd #d0dfe9; 952 1030 } … … 967 1045 background-color: #f5f5f5; 968 1046 } 969 1047 970 /* Button */ 971 .wp-editor-wrap .wp_themeSkin .mceButton, 972 .wp-editor-wrap .wp_themeSkin .mceListBox .mceText, 973 .wp-editor-wrap .wp_themeSkin .mceListBox .mceOpen { 974 border-color: #b0c8d7; 975 background: #cfdfe9; 1048 .wp-editor-wrap .wp_themeSkin a.mceButtonEnabled:hover { 1049 border-color: #bbb; 1050 background: #eee; 976 1051 background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); 977 1052 background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff); 978 1053 background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); … … 980 1055 background-image: linear-gradient(to top, #cfdfe9, #fff); 981 1056 } 982 1057 983 .wp-editor-wrap .wp_themeSkin a.mceButtonEnabled:hover {984 border-color: #5589aa;985 background: #c9c9c9;986 background-image: -webkit-gradient(linear, left bottom, left top, from(#bdccd5), to(#000));987 background-image: -webkit-linear-gradient(bottom, #bdccd5, #fff);988 background-image: -moz-linear-gradient(bottom, #bdccd5, #fff);989 background-image: -o-linear-gradient(bottom, #bdccd5, #fff);990 background-image: linear-gradient(to top, #bdccd5, #fff);991 }992 993 1058 .wp-editor-wrap .wp_themeSkin a.mceButton:active, 994 1059 .wp-editor-wrap .wp_themeSkin a.mceButtonEnabled:active, 995 1060 .wp-editor-wrap .wp_themeSkin a.mceButtonSelected:active, 996 1061 .wp-editor-wrap .wp_themeSkin a.mceButtonActive, 997 1062 .wp-editor-wrap .wp_themeSkin a.mceButtonActive:active, 998 1063 .wp-editor-wrap .wp_themeSkin a.mceButtonActive:hover { 999 background: # b0c8d7;1000 border-color: # 5589aa;1064 background: #c7d8e2; 1065 border-color: #b0c8d7; 1001 1066 background-image: -webkit-gradient(linear, left top, left bottom, from(#cfdfe9), to(#fff)); 1002 1067 background-image: -webkit-linear-gradient(top, #cfdfe9, #fff); 1003 1068 background-image: -moz-linear-gradient(top, #cfdfe9, #fff); … … 1005 1070 background-image: linear-gradient(to bottom, #cfdfe9, #fff); 1006 1071 } 1007 1072 1008 .wp-editor-wrap .wp_themeSkin .mceButtonDisabled {1009 border-color: #b0c8d7 !important;1010 }1011 1012 1073 .wp-editor-wrap .wp_themeSkin .mceListBox .mceOpen { 1013 1074 border-left: 0 !important; 1014 1075 } … … 1019 1080 .wp-editor-wrap .wp_themeSkin .mceListBoxSelected .mceOpen, 1020 1081 .wp-editor-wrap .wp_themeSkin .mceListBoxSelected .mceText, 1021 1082 .wp-editor-wrap .wp_themeSkin table.mceListBoxEnabled:active .mceText { 1022 background: #b0c8d7; 1023 border-color: #5589aa; 1083 border-color: #B0C8D7; 1084 background: #c9c9c9; 1085 background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5)); 1086 background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5); 1087 background-image: -moz-linear-gradient(bottom, #fff, #bdccd5); 1088 background-image: -o-linear-gradient(bottom, #fff, #bdccd5); 1089 background-image: linear-gradient(to top, #fff, #bdccd5); 1024 1090 } 1025 1091 1026 1092 .wp-editor-wrap .wp_themeSkin table.mceListBoxEnabled:hover .mceText, 1027 1093 .wp-editor-wrap .wp_themeSkin .mceListBoxHover .mceText, 1028 1094 .wp-editor-wrap .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, 1029 1095 .wp-editor-wrap .wp_themeSkin .mceListBoxHover .mceOpen { 1030 border-color: # 5589aa;1031 background: #c 9c9c9;1096 border-color: #B0C8D7; 1097 background: #c7d8e2; 1032 1098 background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); 1033 1099 background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff); 1034 1100 background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); … … 1036 1102 background-image: linear-gradient(to top, #cfdfe9, #fff); 1037 1103 } 1038 1104 1039 /* SplitButton */ 1040 .wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceAction, 1041 .wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceOpen { 1042 border-color: #b0c8d7; 1043 } 1044 1045 .wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceOpen:hover, 1105 .wp-editor-wrap .wp_themeSkin .mceSplitButton:hover a.mceOpen, 1046 1106 .wp-editor-wrap .wp_themeSkin .mceSplitButtonSelected a.mceOpen, 1107 .wp-editor-wrap .wp_themeSkin .mceSplitButtonSelected a.mceAction, 1047 1108 .wp-editor-wrap .wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, 1048 1109 .wp-editor-wrap .wp_themeSkin .mceSplitButton a.mceAction:hover { 1049 border-color: # 5589aa;1110 border-color: #B0C8D7; 1050 1111 } 1051 1112 1052 .wp-editor-wrap .wp_themeSkin table.mceSplitButtontd {1053 background: #c fdfe9;1054 background-image: -webkit-gradient(linear, left bottom, left top, from(# cfdfe9), to(#fff));1055 background-image: -webkit-linear-gradient(bottom, # cfdfe9, #fff);1056 background-image: -moz-linear-gradient(bottom, # cfdfe9, #fff);1057 background-image: -o-linear-gradient(bottom, # cfdfe9, #fff);1058 background-image: linear-gradient(to top, # cfdfe9, #fff);1113 .wp-editor-wrap .wp_themeSkin .mceSplitButtonSelected td { 1114 background: #c9c9c9; 1115 background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5)); 1116 background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5); 1117 background-image: -moz-linear-gradient(bottom, #fff, #bdccd5); 1118 background-image: -o-linear-gradient(bottom, #fff, #bdccd5); 1119 background-image: linear-gradient(to top, #fff, #bdccd5); 1059 1120 } 1060 1121 1061 1122 .wp-editor-wrap .wp_themeSkin table.mceSplitButton:hover td { 1123 border-color: #bbb; 1062 1124 background: #c9c9c9; 1063 background-image: -webkit-gradient(linear, left bottom, left top, from(#bdccd5), to(# 000));1125 background-image: -webkit-gradient(linear, left bottom, left top, from(#bdccd5), to(#fff)); 1064 1126 background-image: -webkit-linear-gradient(bottom, #bdccd5, #fff); 1065 1127 background-image: -moz-linear-gradient(bottom, #bdccd5, #fff); 1066 1128 background-image: -o-linear-gradient(bottom, #bdccd5, #fff); 1067 1129 background-image: linear-gradient(to top, #bdccd5, #fff); 1068 1130 } 1069 1131 1070 .wp-editor-wrap .wp_themeSkin .mceSplitButtonActive { 1071 background-color: #b0c8d7; 1132 .wp-editor-wrap .wp_themeSkin table.mceSplitButton:active td.mceFirst, 1133 .wp-editor-wrap .wp_themeSkin table.mceSplitButton td.mceLast:active { 1134 border-color: #bbb; 1135 background: #c9c9c9; 1136 background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5)); 1137 background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5); 1138 background-image: -moz-linear-gradient(bottom, #fff, #bdccd5); 1139 background-image: -o-linear-gradient(bottom, #fff, #bdccd5); 1140 background-image: linear-gradient(to top, #fff, #bdccd5); 1072 1141 } 1073 1142 1143 .wp-editor-wrap .wp_themeSkin .mceSplitButtonActive td a.mceAction, 1144 .wp-editor-wrap .wp_themeSkin .mceSplitButtonActive td a.mceOpen { 1145 border-color: #B0C8D7; 1146 } 1147 1148 .wp-editor-wrap .wp_themeSkin .mceSplitButtonActive td { 1149 background: #c9c9c9; 1150 background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#bdccd5)); 1151 background-image: -webkit-linear-gradient(bottom, #fff, #bdccd5); 1152 background-image: -moz-linear-gradient(bottom, #fff, #bdccd5); 1153 background-image: -o-linear-gradient(bottom, #fff, #bdccd5); 1154 background-image: linear-gradient(to top, #fff, #bdccd5); 1155 } 1156 1074 1157 /* ColorSplitButton */ 1075 1158 .wp-editor-wrap .wp_themeSkin div.mceColorSplitMenu table { 1076 1159 background-color: #ebebeb;