Widgets: add a button to delete all inactive widgets simultaneously for better UX.

Props cdog.
Fixes #19159.
Built from https://develop.svn.wordpress.org/trunk@35317


git-svn-id: http://core.svn.wordpress.org/trunk@35283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2015-10-21 05:23:26 +00:00
parent 47879dc83a
commit 71ac079074
10 changed files with 118 additions and 8 deletions

View File

@@ -272,7 +272,8 @@ div#widgets-right .closed .widgets-sortables {
margin-bottom: 0;
}
.sidebar-name .spinner {
.sidebar-name .spinner,
.remove-inactive-widgets .spinner {
float: none;
position: relative;
top: -2px;
@@ -348,6 +349,7 @@ div#widgets-right .closed .widgets-sortables {
.js .widgets-holder-wrap.closed .widget,
.js .widgets-holder-wrap.closed .sidebar-description,
.js .widgets-holder-wrap.closed .remove-inactive-widgets,
.js .closed br.clear {
display: none;
}