Ticket #31498: 31498.patch
File 31498.patch, 3.2 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/press-this.css
312 312 * 313 313 * Pushing buttons is what I do. 314 314 */ 315 .button-primary, 315 316 316 .button-subtle, 317 317 .scan-submit { 318 318 display: inline-block; … … 330 330 -webkit-appearance: none; 331 331 } 332 332 333 .button-primary {334 background: #2ea2cc;335 border-color: #2581a2;336 color: #fff;337 }338 339 .button-primary:hover,340 .button-primary:focus {341 background: #2991b7;342 border-color: #20708e;343 color: #fff;344 outline: 0;345 }346 347 .button-primary:active {348 background: #2581a2;349 border-color: #20708e;350 color: #fff;351 }352 353 .button-primary[disabled],354 .button-primary:disabled {355 color: #c7ced1 !important;356 background: #2688ab !important;357 border-color: #20708e !important;358 }359 360 .button-primary:visited {361 color: #fff;362 }363 364 333 .button-subtle { 365 334 background: none; 366 335 border: 0; … … 396 365 outline: 0; 397 366 } 398 367 368 .button-link { 369 margin: 0; 370 padding: 0; 371 border: 0; 372 background: none; 373 color: #0074a2; 374 cursor: pointer; 375 -webkit-appearance: none; 376 } 399 377 378 .button-link:hover, 379 .button-link:active, 380 .button-link:focus { 381 color: #2ea2cc; 382 text-decoration: underline; 383 } 384 385 400 386 /** 401 387 * Forms 402 388 * … … 667 653 border: 0; 668 654 -webkit-border-radius: 0; 669 655 border-radius: 0; 656 margin: 0; 670 657 padding: 0 16px; 671 658 background: #f7f7f7; 672 659 border-left: 1px solid #f1f1f1; 660 -webkit-box-shadow: none; 661 box-shadow: none; 673 662 } 674 663 675 664 .tagsdiv .tagadd:hover, … … 679 668 background: #2991b7; 680 669 border-color: #20708e; 681 670 color: #fff; 671 -webkit-box-shadow: none; 672 box-shadow: none; 682 673 } 683 674 684 675 .tagsdiv .howto { -
src/wp-admin/includes/class-wp-press-this.php
656 656 <?php 657 657 if ( $user_can_assign_terms ) { 658 658 ?> 659 <button type="button" class="button- reset button-link tagcloud-link" id="link-post_tag"><?php echo $taxonomy->labels->choose_from_most_used; ?></button>659 <button type="button" class="button-link tagcloud-link" id="link-post_tag"><?php echo $taxonomy->labels->choose_from_most_used; ?></button> 660 660 <?php 661 661 } 662 662 } … … 723 723 $post = get_default_post_to_edit( 'post', true ); 724 724 $post_ID = (int) $post->ID; 725 725 726 wp_enqueue_style( 'press-this' );727 726 wp_enqueue_script( 'press-this' ); 728 727 wp_enqueue_script( 'json2' ); 729 728 wp_enqueue_media( array( 'post' => $post->ID ) ); 729 wp_enqueue_style( 'press-this' ); 730 730 wp_enqueue_script( 'editor' ); 731 731 732 732 $supports_formats = false; -
src/wp-includes/css/buttons.css
340 340 341 341 /* Reset responsive styles in Press This, Customizer */ 342 342 343 .wp-core-ui.wp-customizer .button, 344 .press-this.wp-core-ui .button, 345 .press-this input#publish, 346 .press-this input#save-post, 347 .press-this a.preview { 343 .wp-core-ui.wp-customizer .button { 348 344 padding: 0 10px 1px; 349 345 font-size: 13px; 350 346 line-height: 26px;