Ticket #38677: 38677.1.patch
| File 38677.1.patch, 2.1 KB (added by , 9 years ago) |
|---|
-
wp-admin/css/common.css
899 899 color: #f00; 900 900 } 901 901 902 .row-actions .button-link { 903 color: #0073aa; 904 outline: 0; 905 -webkit-transition-property: border, background, color; 906 transition-property: border, background, color; 907 -webkit-transition-duration: .05s; 908 transition-duration: .05s; 909 -webkit-transition-timing-function: ease-in-out; 910 transition-timing-function: ease-in-out; 911 } 912 913 .row-actions .button-link:hover, 914 .row-actions .button-link:active { 915 color: #00a0d2; 916 } 917 918 .row-actions .button-link:focus { 919 color: #124964; 920 -webkit-box-shadow: 921 0 0 0 1px #5b9dd9, 922 0 0 2px 1px rgba(30, 140, 190, .8); 923 box-shadow: 924 0 0 0 1px #5b9dd9, 925 0 0 2px 1px rgba(30, 140, 190, .8); 926 } 927 902 928 /*------------------------------------------------------------------------------ 903 929 3.0 - Actions 904 930 ------------------------------------------------------------------------------*/ -
wp-admin/includes/class-wp-posts-list-table.php
1230 1230 __( 'Edit' ) 1231 1231 ); 1232 1232 $actions['inline hide-if-no-js'] = sprintf( 1233 '< a href="#" class="editinline" aria-label="%s">%s</a>',1233 '<button class="button-link editinline" aria-label="%s" type="button">%s</button>', 1234 1234 /* translators: %s: post title */ 1235 1235 esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ), 1236 1236 __( 'Quick Edit' ) -
wp-admin/js/inline-edit-post.js
49 49 }); 50 50 51 51 // add events 52 $('#the-list').on( 'click', ' a.editinline', function( e ) {52 $('#the-list').on( 'click', '.editinline', function( e ) { 53 53 e.preventDefault(); 54 54 inlineEditPost.edit(this); 55 55 });