Reintroduce a drop zone indicator in empty sidebars on the Widgets page. Fixes #26168, props shaunandrews.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Matt Thomas 2013-11-26 18:20:10 +00:00
parent 24d4ba3ac4
commit d4eff70d07
4 changed files with 44 additions and 4 deletions

View File

@ -10257,7 +10257,27 @@ div#widgets-right .widgets-sortables {
padding: 0 8px;
margin-bottom: 9px;
position: relative;
min-height: 50px;
min-height: 45px;
}
div#widgets-right .widgets-sortables:after {
display: block;
content: '';
position: absolute;
bottom: -10px;
right: 8px;
left: 8px;
z-index: 1; /* Required so that widgets hide the default dropzone indicator (.widgets-sortables:after) */
border: 1px dashed #bbb;
margin: 10px 0;
height: 45px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
div#widgets-right .widgets-sortables .widget {
z-index: 2; /* Required so that widgets hide the default dropzone indicator (.widgets-sortables:after) */
}
.sidebar-name .spinner {

File diff suppressed because one or more lines are too long

View File

@ -10257,7 +10257,27 @@ div#widgets-right .widgets-sortables {
padding: 0 8px;
margin-bottom: 9px;
position: relative;
min-height: 50px;
min-height: 45px;
}
div#widgets-right .widgets-sortables:after {
display: block;
content: '';
position: absolute;
bottom: -10px;
left: 8px;
right: 8px;
z-index: 1; /* Required so that widgets hide the default dropzone indicator (.widgets-sortables:after) */
border: 1px dashed #bbb;
margin: 10px 0;
height: 45px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
div#widgets-right .widgets-sortables .widget {
z-index: 2; /* Required so that widgets hide the default dropzone indicator (.widgets-sortables:after) */
}
.sidebar-name .spinner {

File diff suppressed because one or more lines are too long