Ticket #18556: 18556.3.diff
File 18556.3.diff, 5.4 KB (added by , 10 years ago) |
---|
-
src/wp-admin/js/nav-menu.js
429 429 totalMenuItems = $('#menu-to-edit li').length, 430 430 hasSameDepthSibling = menuItem.nextAll( '.menu-item-depth-' + depth ).length; 431 431 432 menuItem.find( '.field-move' ).toggle( totalMenuItems > 1 );433 434 432 // Where can they move this menu item? 435 433 if ( 0 !== position ) { 436 434 thisLink = menuItem.find( '.menus-move-up' ); … … 594 592 start: function(e, ui) { 595 593 var height, width, parent, children, tempHolder; 596 594 595 $('#wpadminbar .menupop').addClass('disable'); 596 597 597 // handle placement for rtl orientation 598 598 if ( api.isRTL ) 599 599 ui.item[0].style.right = 'auto'; … … 645 645 var children, subMenuTitle, 646 646 depthChange = currentDepth - originalDepth; 647 647 648 $('#wpadminbar .menupop').removeClass('disable'); 649 648 650 // Return child elements to the list 649 651 children = transport.children().insertAfter(ui.item); 650 652 … … 1189 1191 $( '.drag-instructions' ).hide(); 1190 1192 ins.removeClass( 'menu-instructions-inactive' ); 1191 1193 } 1192 api.refreshAdvancedAccessibility();1193 1194 }); 1194 1195 }, 1195 1196 -
src/wp-admin/js/postbox.js
87 87 forcePlaceholderSize: true, 88 88 helper: 'clone', 89 89 opacity: 0.65, 90 start: function() { 91 $('#wpadminbar .menupop').addClass('disable'); 92 }, 90 93 stop: function() { 94 $('#wpadminbar .menupop').removeClass('disable'); 95 91 96 if ( $(this).find('#dashboard_browser_nag').is(':visible') && 'dashboard_browser_nag' != this.firstChild.id ) { 92 97 $(this).sortable('cancel'); 93 98 return; -
src/wp-admin/js/widgets.js
91 91 zIndex: 100, 92 92 containment: 'document', 93 93 start: function( event, ui ) { 94 $('#wpadminbar .menupop').addClass('disable'); 95 94 96 var chooser = $(this).find('.widgets-chooser'); 95 97 96 98 ui.helper.find('div.widget-description').hide(); … … 105 107 } 106 108 }, 107 109 stop: function() { 110 $('#wpadminbar .menupop').removeClass('disable'); 111 108 112 if ( rem ) { 109 113 $(rem).hide(); 110 114 } … … 121 125 distance: 2, 122 126 containment: 'document', 123 127 start: function( event, ui ) { 128 $('#wpadminbar .menupop').addClass('disable'); 129 124 130 var height, $this = $(this), 125 131 $wrap = $this.parent(), 126 132 inside = ui.item.children('.widget-inside'); … … 139 145 }, 140 146 141 147 stop: function( event, ui ) { 148 $('#wpadminbar .menupop').removeClass('disable'); 149 142 150 var addNew, widgetNumber, $sidebar, $children, child, item, 143 151 $widget = ui.item, 144 152 id = the_id; -
src/wp-includes/css/admin-bar.css
81 81 width: 100%; 82 82 min-width: 600px; /* match the min-width of the body in wp-admin.css */ 83 83 z-index: 99999; 84 background: #2 3282d;84 background: #222; 85 85 } 86 86 87 87 #wpadminbar .ab-sub-wrapper, … … 136 136 padding: 0; 137 137 -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2); 138 138 box-shadow: 0 3px 5px rgba(0,0,0,0.2); 139 background: #3 2373c;139 background: #333; 140 140 display: none; 141 141 position: absolute; 142 142 float: none; … … 210 210 #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, 211 211 #wpadminbar .ab-top-menu > li:hover > .ab-item, 212 212 #wpadminbar .ab-top-menu > li.hover > .ab-item { 213 background: #3 2373c;213 background: #333; 214 214 color: #45bbe6; 215 215 } 216 216 … … 237 237 #wpadminbar .ab-icon:before, 238 238 #wpadminbar .ab-item:before, 239 239 #wpadminbar #adminbarsearch:before { 240 color: #a0a5aa; 241 color: rgba(240,245,250,0.6); 240 color: #999; 242 241 } 243 242 244 243 #wpadminbar .ab-icon:before, … … 255 254 } 256 255 257 256 #wpadminbar .ab-submenu .ab-item { 258 color: #b4b9be; 259 color: rgba(240,245,250,0.7); 257 color: #eee; 260 258 } 261 259 262 260 #wpadminbar .quicklinks .menupop ul li a, 263 261 #wpadminbar .quicklinks .menupop ul li a strong, 264 262 #wpadminbar .quicklinks .menupop.hover ul li a, 265 263 #wpadminbar.nojs .quicklinks .menupop:hover ul li a { 266 color: #b4b9be; 267 color: rgba(240,245,250,0.7); 264 color: #eee; 268 265 } 269 266 270 267 #wpadminbar .quicklinks .menupop ul li a:hover, … … 282 279 #wpadminbar li.hover .ab-icon:before, 283 280 #wpadminbar li.hover .ab-item:before, 284 281 #wpadminbar li:hover #adminbarsearch:before { 285 color: # 00b9eb;282 color: #45bbe6; 286 283 } 287 284 288 285 #wpadminbar .menupop .menupop > .ab-item:before, … … 328 325 329 326 #wpadminbar .quicklinks .menupop ul.ab-sub-secondary, 330 327 #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { 331 background: #4 64b50;328 background: #4b4b4b; 332 329 } 333 330 334 331 #wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover, 335 332 #wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a { 336 color: # 00b9eb;333 color: #45bbe6; 337 334 } 338 335 339 336 #wpadminbar .quicklinks a span#ab-updates { 340 337 background: #eee; 341 color: #3 2373c;338 color: #333; 342 339 display: inline; 343 340 padding: 2px 5px; 344 341 font-size: 10px; … … 439 436 width: 16px; 440 437 height: 16px; 441 438 padding: 0; 442 border: 1px solid #8 2878c;439 border: 1px solid #888; 443 440 background: #eee; 444 441 line-height: 24px; 445 442 vertical-align: middle;