diff --git a/src/js/_enqueues/admin/postbox.js b/src/js/_enqueues/admin/postbox.js
index ff144777f9..e64503e9a2 100644
|
a
|
b
|
|
| 236 | 236 | .end(); |
| 237 | 237 | }, |
| 238 | 238 | opacity: 0.65, |
| | 239 | start: function() { |
| | 240 | $( 'body' ).addClass( 'is-dragging-metaboxes' ); |
| | 241 | }, |
| 239 | 242 | stop: function() { |
| 240 | 243 | var $el = $( this ); |
| 241 | 244 | |
| | 245 | $( 'body' ).removeClass( 'is-dragging-metaboxes' ); |
| | 246 | |
| 242 | 247 | if ( $el.find( '#dashboard_browser_nag' ).is( ':visible' ) && 'dashboard_browser_nag' != this.firstChild.id ) { |
| 243 | 248 | $el.sortable('cancel'); |
| 244 | 249 | return; |
| 245 | 250 | } |
| 246 | | |
| 247 | 251 | postboxes.save_order(page); |
| 248 | 252 | }, |
| 249 | 253 | receive: function(e,ui) { |
| … |
… |
|
| 348 | 352 | _mark_area : function() { |
| 349 | 353 | var visible = $('div.postbox:visible').length, side = $('#post-body #side-sortables'); |
| 350 | 354 | |
| 351 | | $( '#dashboard-widgets .meta-box-sortables:visible' ).each( function() { |
| | 355 | $( '.meta-box-sortables:visible' ).each( function() { |
| 352 | 356 | var t = $(this); |
| 353 | 357 | |
| 354 | 358 | if ( visible == 1 || t.children('.postbox:visible').length ) { |
diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css
index a8b8112b00..45294db98e 100644
|
a
|
b
|
html.wp-toolbar { |
| 2003 | 2003 | height: 1em; |
| 2004 | 2004 | width: 200px; |
| 2005 | 2005 | text-align: center; |
| 2006 | | color: #ccc; |
| | 2006 | color: #606a73; |
| 2007 | 2007 | font-size: 18px; |
| 2008 | | display: none; |
| | 2008 | display: block; |
| 2009 | 2009 | } |
| 2010 | 2010 | |
| 2011 | 2011 | .metabox-holder.columns-1 .postbox-container .empty-container, |
| … |
… |
html.wp-toolbar { |
| 2033 | 2033 | min-height: 250px; |
| 2034 | 2034 | } |
| 2035 | 2035 | |
| | 2036 | body.is-dragging-metaboxes .meta-box-sortables.empty-container { |
| | 2037 | border-color: #606a73; |
| | 2038 | } |
| | 2039 | |
| 2036 | 2040 | /* one column on the dash */ |
| 2037 | 2041 | @media only screen and (max-width: 799px) { |
| 2038 | 2042 | #wpbody-content .metabox-holder .postbox-container .empty-container { |
| … |
… |
html.wp-toolbar { |
| 2040 | 2044 | height: 0; |
| 2041 | 2045 | min-height: 0; |
| 2042 | 2046 | } |
| | 2047 | |
| | 2048 | .metabox-holder .postbox-container .empty-container:after { |
| | 2049 | display: none; |
| | 2050 | } |
| 2043 | 2051 | } |
| 2044 | 2052 | |
| 2045 | 2053 | .js .widget .widget-top, |
diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css
index eac01008e8..1cf884b815 100644
|
a
|
b
|
a.rsswidget { |
| 1151 | 1151 | .columns-prefs .columns-prefs-4 { |
| 1152 | 1152 | display: none; |
| 1153 | 1153 | } |
| 1154 | | |
| 1155 | | .metabox-holder .postbox-container .empty-container:after { |
| 1156 | | display: block; |
| 1157 | | } |
| 1158 | 1154 | } |
| 1159 | 1155 | |
| 1160 | 1156 | /* three columns on the dash */ |
| … |
… |
a.rsswidget { |
| 1181 | 1177 | #dashboard-widgets #postbox-container-4 .empty-container:after { |
| 1182 | 1178 | display: none; |
| 1183 | 1179 | } |
| 1184 | | |
| 1185 | | .metabox-holder .postbox-container .empty-container:after { |
| 1186 | | display: block; |
| 1187 | | } |
| 1188 | 1180 | } |
| 1189 | 1181 | |
| 1190 | 1182 | @media screen and (max-width: 870px) { |
diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css
index bfe6dc7c1d..3f99ed9d57 100644
|
a
|
b
|
body.post-new-php .submitbox .submitdelete { |
| 151 | 151 | min-height: 50px; |
| 152 | 152 | } |
| 153 | 153 | |
| | 154 | #post-body #advanced-sortables { |
| | 155 | min-height: 20px; |
| | 156 | } |
| | 157 | |
| 154 | 158 | .postbox { |
| 155 | 159 | position: relative; |
| 156 | 160 | min-width: 255px; |