Display a placeholder dropbox for Sortables
git-svn-id: https://develop.svn.wordpress.org/trunk@9268 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6580aaf8fb
commit
ae46fd9db4
@ -32,6 +32,7 @@
|
||||
init : function(page,args) {
|
||||
$.extend( this, args || {} );
|
||||
jQuery('.meta-box-sortables').sortable( {
|
||||
placeholder: 'sortable-placeholder',
|
||||
connectWith: [ '.meta-box-sortables' ],
|
||||
items: '> .postbox',
|
||||
handle: '.hndle',
|
||||
|
@ -1076,7 +1076,8 @@ table.form-table td .updated {
|
||||
|
||||
.postbox {
|
||||
position: relative;
|
||||
min-width: 195px;
|
||||
min-width: 255px;
|
||||
width: 99.5%;
|
||||
}
|
||||
|
||||
#normal-sortables .inside-submitbox .insidebox {
|
||||
@ -1812,6 +1813,12 @@ fieldset {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.sortable-placeholder {
|
||||
border: 1px #bbb dashed;
|
||||
background: #f5f5f5;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
#jj, #hh, #mn {
|
||||
width: 1.5em;
|
||||
padding: 1px;
|
||||
|
Loading…
Reference in New Issue
Block a user