Ticket #21324: 21324.9.diff
File 21324.9.diff, 4.4 KB (added by , 8 years ago) |
---|
-
wp-login.php
146 146 </script> 147 147 <?php endif; ?> 148 148 149 <script type="text/javascript"> 150 var i, links = document.getElementsByTagName('a'); 151 for ( i = 0; i < links.length; i++ ) { 152 // Blur accessibility link background color onclick 153 links[i].onclick = function() { this.blur(); } 154 } 155 </script> 156 149 157 <?php do_action('login_footer'); ?> 150 158 <div class="clear"></div> 151 159 </body> -
wp-includes/css/editor.css
1084 1084 float: left; 1085 1085 } 1086 1086 1087 .wp-switch-editor:active { 1088 background-color: #f1f1f1; 1089 } 1090 1087 1091 .wp-switch-editor:hover { 1088 1092 text-decoration: none !important; 1089 1093 } -
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(){ … … 670 668 } 671 669 672 670 wptitlehint(); 671 672 // Blur accessibility link background color onclick 673 $('.postbox .inside a').on('click', function() { 674 $(this).blur(); 675 }); 673 676 }); -
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 } -
wp-admin/css/wp-admin.css
6338 6338 width: 326px; 6339 6339 height: 67px; 6340 6340 text-indent: -9999px; 6341 outline: none; 6341 6342 overflow: hidden; 6342 6343 padding-bottom: 15px; 6343 6344 display: block; -
wp-admin/css/colors-classic.css
1278 1278 color: #999 1279 1279 } 1280 1280 1281 .wp-editor-wrap .wp-switch-editor:active { 1282 background-color: #f5fafd; 1283 } 1284 1281 1285 .wp-editor-wrap.tmce-active .switch-tmce, 1282 1286 .wp-editor-wrap.html-active .switch-html { 1283 1287 background-color: #eff8ff;