Reintroduce a drop zone indicator in empty sidebars on the Widgets page. Fixes #26168, props shaunandrews.
git-svn-id: https://develop.svn.wordpress.org/trunk@26413 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
32973b914f
commit
22509e807b
@ -10257,7 +10257,27 @@ div#widgets-right .widgets-sortables {
|
|||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
margin-bottom: 9px;
|
margin-bottom: 9px;
|
||||||
position: relative;
|
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 {
|
.sidebar-name .spinner {
|
||||||
|
Loading…
Reference in New Issue
Block a user