mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
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:
parent
24d4ba3ac4
commit
d4eff70d07
@ -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 {
|
||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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 {
|
||||
|
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user