Ticket #21324: 21324.14.diff
File 21324.14.diff, 6.4 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
309 309 } 310 310 311 311 a, 312 input, 312 input[type="text"], 313 input[type="password"], 314 input[type="number"], 315 input[type="search"], 316 input[type="email"], 317 input[type="url"], 313 318 select, 314 319 textarea, 315 320 div { 316 321 outline: 0; 317 322 } 318 323 324 a:focus, 325 a:active { 326 outline: thin dotted; 327 } 328 329 #adminmenu a:focus, #adminmenu a:active, 330 .screen-reader-text:focus { 331 outline: none; 332 } 333 319 334 blockquote, 320 335 q { 321 336 quotes: none; … … 706 721 input[type="tel"]:focus, 707 722 input[type="url"]:focus, 708 723 select:focus { 709 border-color: #a 1a1a1;724 border-color: #aaa; 710 725 -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.1); 711 726 box-shadow: 1px 1px 2px rgba(0,0,0,0.1); 712 727 } … … 1159 1174 margin: 0 24px 0 0; 1160 1175 } 1161 1176 1177 #screen-meta-links a:focus { 1178 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.4); 1179 box-shadow: 1px 1px 1px rgba(0,0,0,0.4); 1180 outline: none; 1181 } 1182 1162 1183 /* screen options and help tabs revert */ 1163 1184 #screen-meta { 1164 1185 display: none; … … 4534 4555 overflow: hidden; 4535 4556 } 4536 4557 4558 .available-theme a.screenshot:focus { 4559 border-color: #777; 4560 } 4561 4537 4562 #current-theme .theme-info li, 4538 4563 .theme-options li, 4539 4564 .available-theme .action-links li { … … 6491 6516 width: 326px; 6492 6517 height: 67px; 6493 6518 text-indent: -9999px; 6519 outline: none; 6494 6520 overflow: hidden; 6495 6521 padding-bottom: 15px; 6496 6522 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;