Customize: Fix loading of theme screenshots in themes section and remove erroneous borders on hover.
Fixes regressions introduced in [38648]. Props delawski, mckernanin. See #34391. Fixes #38222. Built from https://develop.svn.wordpress.org/trunk@39153 git-svn-id: http://core.svn.wordpress.org/trunk@39093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1d8d59a21a
commit
25a052bac7
|
@ -193,6 +193,12 @@ body {
|
|||
border-right: 4px solid #fff;
|
||||
}
|
||||
|
||||
#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title {
|
||||
color: #555;
|
||||
background-color: #fff;
|
||||
border-right: 4px solid #fff;
|
||||
}
|
||||
|
||||
#customize-theme-controls .accordion-section-title:after {
|
||||
content: "\f341";
|
||||
color: #a0a5aa;
|
||||
|
@ -1189,6 +1195,7 @@ p.customize-section-description {
|
|||
margin: 0 0 15px;
|
||||
}
|
||||
|
||||
#customize-controls .customize-themes-panel .accordion-section-title:hover,
|
||||
#customize-controls .customize-themes-panel .accordion-section-title {
|
||||
margin: 15px -8px;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -193,6 +193,12 @@ body {
|
|||
border-left: 4px solid #fff;
|
||||
}
|
||||
|
||||
#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title {
|
||||
color: #555;
|
||||
background-color: #fff;
|
||||
border-left: 4px solid #fff;
|
||||
}
|
||||
|
||||
#customize-theme-controls .accordion-section-title:after {
|
||||
content: "\f345";
|
||||
color: #a0a5aa;
|
||||
|
@ -1189,6 +1195,7 @@ p.customize-section-description {
|
|||
margin: 0 0 15px;
|
||||
}
|
||||
|
||||
#customize-controls .customize-themes-panel .accordion-section-title:hover,
|
||||
#customize-controls .customize-themes-panel .accordion-section-title {
|
||||
margin: 15px -8px;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1267,6 +1267,8 @@
|
|||
|
||||
overlay.addClass( 'in-themes-panel' );
|
||||
section.addClass( 'current-panel' );
|
||||
_.delay( panel.renderScreenshots, 10 ); // Wait for the controls
|
||||
panel.$customizeSidebar.on( 'scroll.customize-themes-section', _.throttle( panel.renderScreenshots, 300 ) );
|
||||
|
||||
} else if ( ! expanded && section.hasClass( 'current-panel' ) ) {
|
||||
panel._animateChangeExpanded( function() {
|
||||
|
@ -1283,6 +1285,7 @@
|
|||
|
||||
overlay.removeClass( 'in-themes-panel' );
|
||||
section.removeClass( 'current-panel' );
|
||||
panel.$customizeSidebar.off( 'scroll.customize-themes-section' );
|
||||
}
|
||||
},
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-beta2-39152';
|
||||
$wp_version = '4.7-beta2-39153';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue