Customize: Improve interactions between the Themes panel and Publish Settings section.
* Deactivate the Themes panel immediately after changing selected status to non-publish. * Animate publish settings button into view with publish button when collapsing Themes panel. * Deactivate publish settings section and hide publish settings button entirely when customizer state is clean. * Harden access of Themes panel in case it was removed by plugin. * Fix throttling of `renderScreenshots` calls in `ThemesSection`. Amends [41648], [41626]. See #37661, #39896, #34843. Built from https://develop.svn.wordpress.org/trunk@41649 git-svn-id: http://core.svn.wordpress.org/trunk@41483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1659,6 +1659,7 @@ p.customize-section-description {
|
||||
|
||||
/* Animations for opening the themes panel */
|
||||
#customize-header-actions .save,
|
||||
#customize-header-actions #publish-settings,
|
||||
#customize-header-actions .spinner,
|
||||
#customize-header-actions .customize-controls-preview-toggle {
|
||||
position: relative;
|
||||
@@ -1686,6 +1687,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.in-themes-panel #customize-header-actions .save,
|
||||
.in-themes-panel #customize-header-actions #publish-settings,
|
||||
.in-themes-panel #customize-header-actions .spinner,
|
||||
.in-themes-panel #customize-header-actions .customize-controls-preview-toggle {
|
||||
top: -45px;
|
||||
|
||||
Reference in New Issue
Block a user