Ticket #21324: 21324.5.diff
File 21324.5.diff, 4.8 KB (added by , 9 years ago) |
---|
-
wp-login.php
143 143 <script type="text/javascript"> 144 144 try{document.getElementById('<?php echo $input_id; ?>').focus();}catch(e){} 145 145 if(typeof wpOnload=='function')wpOnload(); 146 $(document).ready( function() { 147 // Hides accessibility focus onclick 148 $(document).on('click.wp-accessibility-blur', 'a', function() { 149 $(this).blur(); 150 }); 151 }); 146 152 </script> 147 153 <?php endif; ?> 148 154 … … 729 735 wp_attempt_focus(); 730 736 <?php } ?> 731 737 if(typeof wpOnload=='function')wpOnload(); 738 $(document).ready( function() { 739 // Hides accessibility focus onclick 740 $(document).on('click.wp-accessibility-blur', 'a', function() { 741 $(this).blur(); 742 }); 743 }); 732 744 </script> 733 745 734 746 <?php -
wp-admin/js/common.js
369 369 $(document).on('click.wp-accessibility-blur', 'a', function() { 370 370 $(this).blur(); 371 371 }); 372 $('.inside a, .tagcloud-link').on('click', function(){ 373 $(this).blur(); 374 }); 372 375 }); 373 376 374 377 // internal use -
wp-admin/js/post.js
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 == 0) 169 tagBox.get( $(this).attr('id') ); 170 $(this).siblings('.the-tagcloud').toggle(); 173 171 return false; 174 172 }); 175 173 } -
wp-admin/css/colors-fresh.css
381 381 .button-secondary:hover, 382 382 .submit input:hover, 383 383 input[type=button]:hover, 384 input[type=submit]:hover { 384 input[type=submit]:hover, 385 .button:focus, 386 .button-secondary:focus, 387 .submit input:focus, 388 input[type=button]:focus, 389 input[type=submit]:focus { 385 390 color: #000; 386 391 border-color: #666; 392 background: #f2f2f2; 393 background-image: -webkit-gradient(linear, left bottom, left top, from(#ededed), to(#fff)); 394 background-image: -webkit-linear-gradient(bottom, #ededed, #fff); 395 background-image: -moz-linear-gradient(bottom, #ededed, #fff); 396 background-image: -o-linear-gradient(bottom, #ededed, #fff); 397 background-image: linear-gradient(to top, #ededed, #fff); 387 398 } 388 399 389 400 .button, … … 440 451 button.button-primary:hover, 441 452 a.button-primary:hover, 442 453 a.button-primary:focus, 454 input.button-primary:focus, 455 button.button-primary:focus, 443 456 a.button-primary:active { 444 457 border-color: #13455b; 445 458 color: #eaf2fa; 459 background: #21759b; 460 background-image: -webkit-gradient(linear, left bottom, left top, from(#227199), to(#298cba)); 461 background-image: -webkit-linear-gradient(bottom, #227199, #298cba); 462 background-image: -moz-linear-gradient(bottom, #227199, #298cba); 463 background-image: -o-linear-gradient(bottom, #227199, #298cba); 464 background-image: linear-gradient(to top, #227199, #298cba); 446 465 } 447 466 448 467 .button-disabled, -
wp-admin/css/colors-classic.css
390 390 .button-secondary:hover, 391 391 .submit input:hover, 392 392 input[type=button]:hover, 393 input[type=submit]:hover { 393 input[type=submit]:hover, 394 .button:focus, 395 .button-secondary:focus, 396 .submit input:focus, 397 input[type=button]:focus, 398 input[type=submit]:focus { 394 399 color: #000; 395 400 border-color: #666; 401 background: #f2f2f2; 402 background-image: -webkit-gradient(linear, left bottom, left top, from(#ededed), to(#fff)); 403 background-image: -webkit-linear-gradient(bottom, #ededed, #fff); 404 background-image: -moz-linear-gradient(bottom, #ededed, #fff); 405 background-image: -o-linear-gradient(bottom, #ededed, #fff); 406 background-image: linear-gradient(to top, #ededed, #fff); 396 407 } 397 408 398 409 .button, … … 449 460 button.button-primary:hover, 450 461 a.button-primary:hover, 451 462 a.button-primary:focus, 463 input.button-primary:focus, 464 button.button-primary:focus, 452 465 a.button-primary:active { 453 466 border-color: #13455b; 454 467 color: #eaf2fa; 468 background: #21759b; 469 background-image: -webkit-gradient(linear, left bottom, left top, from(#227199), to(#298cba)); 470 background-image: -webkit-linear-gradient(bottom, #227199, #298cba); 471 background-image: -moz-linear-gradient(bottom, #227199, #298cba); 472 background-image: -o-linear-gradient(bottom, #227199, #298cba); 473 background-image: linear-gradient(to top, #227199, #298cba); 455 474 } 456 475 457 476 .button-disabled,