Ticket #21324: 21324.12.diff
File 21324.12.diff, 6.3 KB (added by , 8 years ago) |
---|
-
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/common.js
365 365 }); 366 366 } 367 367 368 // Blur accessibility link background color onclick369 $(document).on('click.wp-accessibility-blur', 'a', function() {370 $(this).blur();371 });372 373 368 // Scroll into view when focused 374 369 $('#contextual-help-link, #show-settings-link').on( 'focus.scroll-into-view', function(e){ 375 370 if ( e.target.scrollIntoView ) -
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(){ -
wp-admin/css/colors-fresh.css
191 191 background: #f1f1f1; 192 192 } 193 193 194 .wrap .add-new-h2:focus {195 background: #c7e7fd;196 }197 198 194 .subtitle { 199 195 color: #777; 200 196 } … … 320 316 } 321 317 322 318 a:focus { 323 background: #c7e7fd;324 319 color: #124964; 325 320 } 326 321 327 a:active {328 background: none;329 outline: thin dotted;330 }331 332 #adminmenu a:active {333 outline: none;334 }335 336 322 #adminmenu a:hover, 337 323 #adminmenu li.menu-top > a:focus, 338 324 #adminmenu .wp-submenu a:hover, … … 746 732 background: transparent url(../images/arrows.png) no-repeat right 4px; 747 733 } 748 734 749 #screen-meta-links a:focus {750 background-color: #c7e7fd;751 color: #124964;752 }753 754 735 #screen-meta-links a:hover, 755 736 #screen-meta-links a:active { 756 737 color: #333; -
wp-admin/css/wp-admin.css
316 316 outline: 0; 317 317 } 318 318 319 a:focus, a:active { 320 outline: thin dotted; 321 } 322 323 #adminmenu a:focus, #adminmenu a:active, 324 .screen-reader-text:focus { 325 outline: none; 326 } 327 319 328 blockquote, 320 329 q { 321 330 quotes: none; … … 706 715 input[type="tel"]:focus, 707 716 input[type="url"]:focus, 708 717 select:focus { 709 border-color: #a 1a1a1;718 border-color: #aaa; 710 719 -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.1); 711 720 box-shadow: 1px 1px 2px rgba(0,0,0,0.1); 712 721 } … … 1159 1168 margin: 0 24px 0 0; 1160 1169 } 1161 1170 1171 #screen-meta-links a:focus { 1172 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.4); 1173 box-shadow: 1px 1px 1px rgba(0,0,0,0.4); 1174 outline: none; 1175 } 1176 1162 1177 /* screen options and help tabs revert */ 1163 1178 #screen-meta { 1164 1179 display: none; … … 4534 4549 overflow: hidden; 4535 4550 } 4536 4551 4552 .available-theme a.screenshot:focus { 4553 border-color: #777; 4554 } 4555 4537 4556 #current-theme .theme-info li, 4538 4557 .theme-options li, 4539 4558 .available-theme .action-links li { … … 6491 6510 width: 326px; 6492 6511 height: 67px; 6493 6512 text-indent: -9999px; 6513 outline: none; 6494 6514 overflow: hidden; 6495 6515 padding-bottom: 15px; 6496 6516 display: block; -
wp-admin/css/colors-classic.css
195 195 background: #f1f1f1; 196 196 } 197 197 198 .wrap .add-new-h2:focus {199 background: #c7e7fd;200 }201 202 198 .subtitle { 203 199 color: #777; 204 200 } … … 324 320 } 325 321 326 322 a:focus { 327 background: #c7e7fd;328 323 color: #124964; 329 324 } 330 325 331 a:active {332 background: none;333 outline: thin dotted;334 }335 336 #adminmenu a:active {337 outline: none;338 }339 340 326 #adminmenu a:hover, 341 327 #adminmenu li.menu-top > a:focus, 342 328 #adminmenu .wp-submenu a:hover, … … 793 779 color: #888; 794 780 } 795 781 782 .wp-admin.wp-editor-wrap .wp-switch-editor:active { 783 background-color: #f5fafd; 784 } 785 796 786 .wp-admin .wp-editor-wrap.tmce-active .switch-tmce, 797 787 .wp-admin .wp-editor-wrap.html-active .switch-html { 798 788 background: #f7fcfe; … … 1420 1410 background: transparent url(../images/arrows.png) no-repeat right 4px; 1421 1411 } 1422 1412 1423 #screen-meta-links a:focus {1424 background-color: #c7e7fd;1425 color: #124964;1426 }1427 1428 1413 #screen-meta-links a:hover, 1429 1414 #screen-meta-links a:active { 1430 1415 color: #000;