Ticket #21324: 21324.11.diff
File 21324.11.diff, 5.5 KB (added by , 8 years ago) |
---|
-
wp-login.php
152 152 </script> 153 153 <?php endif; ?> 154 154 155 <script type="text/javascript"> 156 var i, links = document.getElementsByTagName('a'); 157 for ( i = 0; i < links.length; i++ ) { 158 // Blur accessibility link background color onclick 159 links[i].onclick = function() { this.blur(); } 160 } 161 </script> 162 155 163 <?php do_action('login_footer'); ?> 156 164 <div class="clear"></div> 157 165 </body> -
wp-includes/css/editor.css
1019 1019 float: left; 1020 1020 } 1021 1021 1022 .wp-switch-editor:active { 1023 background-color: #f1f1f1; 1024 } 1025 1022 1026 .wp-switch-editor:hover { 1023 1027 text-decoration: none !important; 1024 1028 } -
wp-admin/js/customize-controls.js
680 680 if ( 13 === e.which ) // Enter 681 681 e.preventDefault(); 682 682 }); 683 684 // Blur accessibility link background color onclick 685 $(document).on('click.wp-accessibility-blur', 'a', function() { 686 $(this).blur(); 687 }); 683 688 684 689 // Initialize Previewer 685 690 previewer = new api.Previewer({ -
wp-admin/js/post.js
124 124 init : function() { 125 125 var t = this, ajaxtag = $('div.ajaxtag'); 126 126 127 128 129 127 $('.tagsdiv').each( function() { 128 tagBox.quickClicks(this); 129 }); 130 130 131 131 $('input.tagadd', ajaxtag).click(function(){ 132 132 t.flushTags( $(this).closest('.tagsdiv') ); … … 138 138 139 139 $('input.newtag', ajaxtag).blur(function() { 140 140 if ( this.value == '' ) 141 142 141 $(this).parent().siblings('.taghint').css('visibility', ''); 142 }).focus(function(){ 143 143 $(this).parent().siblings('.taghint').css('visibility', 'hidden'); 144 144 }).keyup(function(e){ 145 145 if ( 13 == e.which ) { … … 156 156 $(this).suggest( ajaxurl + '?action=ajax-tag-search&tax=' + tax, { delay: 500, minchars: 2, multiple: true, multipleSep: postL10n.comma + ' ' } ); 157 157 }); 158 158 159 160 159 // save tags on post save/publish 160 $('#post').submit(function(){ 161 161 $('div.tagsdiv').each( function() { 162 162 tagBox.flushTags(this, false, 1); 163 163 }); 164 164 }); 165 165 166 166 // tag cloud 167 167 $('a.tagcloud-link').click(function(){ 168 tagBox.get( $(this).attr('id') ); 169 $(this).unbind().click(function(){ 170 $(this).siblings('.the-tagcloud').toggle(); 171 return false; 172 }); 168 if ( ! $('.the-tagcloud').length ) 169 tagBox.get( $(this).attr('id') ); 170 $(this).siblings('.the-tagcloud').toggle(); 173 171 return false; 174 172 }); 175 173 } … … 277 275 taxonomyParts = this_id.split('-'); 278 276 taxonomyParts.shift(); 279 277 taxonomy = taxonomyParts.join('-'); 280 281 282 278 settingName = taxonomy + '_tab'; 279 if ( taxonomy == 'category' ) 280 settingName = 'cats'; 283 281 284 282 // TODO: move to jQuery 1.3+, support for multiple hierarchical taxonomies, see wp-lists.js 285 283 $('a', '#' + taxonomy + '-tabs').click( function(){ … … 602 600 } 603 601 604 602 wptitlehint(); 603 604 // Blur accessibility link background color onclick 605 $('.postbox .inside a').on('click', function() { 606 $(this).blur(); 607 }); 605 608 606 609 // resizable textarea#content 607 610 (function() { -
wp-admin/css/colors-fresh.css
186 186 color: #464646; 187 187 } 188 188 189 .wrap .add-new-h2:focus { 190 background: #c7e7fd; 191 } 192 189 193 .wrap .add-new-h2, 190 194 .wrap .add-new-h2:active { 191 195 background: #f1f1f1; 192 196 } 193 197 194 .wrap .add-new-h2:focus {195 background: #c7e7fd;196 }197 198 198 .subtitle { 199 199 color: #777; 200 200 } -
wp-admin/css/wp-admin.css
694 694 input[type="tel"]:focus, 695 695 input[type="url"]:focus, 696 696 select:focus { 697 border-color: #a 1a1a1;697 border-color: #aaa; 698 698 -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.1); 699 699 box-shadow: 1px 1px 2px rgba(0,0,0,0.1); 700 700 } … … 4522 4522 overflow: hidden; 4523 4523 } 4524 4524 4525 .available-theme a.screenshot:focus { 4526 border-color: #777; 4527 } 4528 4525 4529 #current-theme .theme-info li, 4526 4530 .theme-options li, 4527 4531 .available-theme .action-links li { … … 6479 6483 width: 326px; 6480 6484 height: 67px; 6481 6485 text-indent: -9999px; 6486 outline: none; 6482 6487 overflow: hidden; 6483 6488 padding-bottom: 15px; 6484 6489 display: block; -
wp-admin/css/colors-classic.css
793 793 color: #888; 794 794 } 795 795 796 .wp-admin.wp-editor-wrap .wp-switch-editor:active { 797 background-color: #f5fafd; 798 } 799 796 800 .wp-admin .wp-editor-wrap.tmce-active .switch-tmce, 797 801 .wp-admin .wp-editor-wrap.html-active .switch-html { 798 802 background: #f7fcfe;