Ticket #37980: 37980.2.diff
File 37980.2.diff, 1.4 KB (added by , 8 years ago) |
---|
-
src/wp-admin/css/customize-controls.css
365 365 display: block; 366 366 } 367 367 368 .panel-meta.customize-info .accordion-section-title {368 #customize-controls .panel-meta.customize-info .accordion-section-title { 369 369 margin-left: 48px; 370 border-left: none; 370 371 } 371 372 372 #customize-controls .panel-meta.customize-info .accordion-section-title:hover { 373 #customize-controls .panel-meta.customize-info .accordion-section-title:hover, 374 #customize-controls .cannot-expand:hover .accordion-section-title { 373 375 background: #fff; 374 376 color: #555; 375 border-left : none;377 border-left-color: #fff; 376 378 } 377 379 378 380 .customize-controls-close:focus, -
src/wp-admin/js/customize-controls.js
614 614 attachEvents: function () { 615 615 var section = this; 616 616 617 if ( section.container.hasClass( 'cannot-expand' ) ) { 618 return; 619 } 620 617 621 // Expand/Collapse accordion sections on click. 618 622 section.container.find( '.accordion-section-title, .customize-section-back' ).on( 'click keydown', function( event ) { 619 623 if ( api.utils.isKeydownButNotEnterEvent( event ) ) {