Ticket #21324: 21324.10.diff
| File 21324.10.diff, 5.5 KB (added by lessbloat, 8 months 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 $('.tagsdiv').each( function() {128 tagBox.quickClicks(this);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 $(this).parent().siblings('.taghint').css('visibility', '');142 }).focus(function(){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 // save tags on post save/publish160 $('#post').submit(function(){159 // save tags on post save/publish 160 $('#post').submit(function(){ 161 161 $('div.tagsdiv').each( function() { 162 tagBox.flushTags(this, false, 1);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 settingName = taxonomy + '_tab';281 if ( taxonomy == 'category' )282 settingName = 'cats';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
61 61 input[type="tel"]:focus, 62 62 input[type="url"]:focus, 63 63 select:focus { 64 border-color: #a 1a1a1;64 border-color: #aaa; 65 65 -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.1); 66 66 box-shadow: 1px 1px 2px rgba(0,0,0,0.1); 67 67 } … … 241 241 color: #464646; 242 242 } 243 243 244 .wrap .add-new-h2:focus { 245 background: #c7e7fd; 246 } 247 244 248 .wrap .add-new-h2, 245 249 .wrap .add-new-h2:active { 246 250 background: #f1f1f1; 247 251 } 248 252 249 .wrap .add-new-h2:focus {250 background: #c7e7fd;251 }252 253 253 .subtitle { 254 254 color: #777; 255 255 } -
wp-admin/css/wp-admin.css
4510 4510 overflow: hidden; 4511 4511 } 4512 4512 4513 .available-theme a.screenshot:focus { 4514 border-color: #777; 4515 } 4516 4513 4517 #current-theme .theme-info li, 4514 4518 .theme-options li, 4515 4519 .available-theme .action-links li { … … 6467 6471 width: 326px; 6468 6472 height: 67px; 6469 6473 text-indent: -9999px; 6474 outline: none; 6470 6475 overflow: hidden; 6471 6476 padding-bottom: 15px; 6472 6477 display: block; -
wp-admin/css/colors-classic.css
1032 1032 color: #888; 1033 1033 } 1034 1034 1035 .wp-admin.wp-editor-wrap .wp-switch-editor:active { 1036 background-color: #f5fafd; 1037 } 1038 1035 1039 .wp-admin .wp-editor-wrap.tmce-active .switch-tmce, 1036 1040 .wp-admin .wp-editor-wrap.html-active .switch-html { 1037 1041 background: #f7fcfe;