Spinners: Toggle a class instead of show/hide.

Toggling spinners also now uses visibility instead of display, so that the space is always reserved and nothing moves around unexpectedly.

props cdog, MikeHansenMe, valendesigns.
fixes #22839. see #31875, #30725.

Built from https://develop.svn.wordpress.org/trunk@31996


git-svn-id: http://core.svn.wordpress.org/trunk@31975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí
2015-04-03 04:52:27 +00:00
parent 52db6356a1
commit 3ac1a19529
48 changed files with 102 additions and 140 deletions

View File

@@ -271,8 +271,10 @@ div#widgets-right .closed .widgets-sortables {
}
.sidebar-name .spinner {
margin: -5px 5px;
float: none;
position: relative;
top: -2px;
margin: -5px 5px;
}
/* Dragging a widget over a closed sidebar */