Ticket #46964: 46964.2.diff
File 46964.2.diff, 9.5 KB (added by , 5 years ago) |
---|
-
src/js/_enqueues/admin/postbox.js
363 363 if ( side.length ) { 364 364 if ( side.children('.postbox:visible').length ) 365 365 side.removeClass('empty-container'); 366 else if ( $(' #postbox-container-1').css('width') == '280px' )366 else if ( $('.postbox-container-1').css('width') == '280px' ) 367 367 side.addClass('empty-container'); 368 368 } 369 369 }, -
src/js/_enqueues/wp/editor/dfw.js
31 31 $menuBar = $(), 32 32 $statusBar = $(), 33 33 $sideSortables = $( '#side-sortables' ), 34 $postboxContainer = $( ' #postbox-container-1' ),34 $postboxContainer = $( '.postbox-container-1' ), 35 35 $postBody = $('#post-body'), 36 36 fullscreen = window.wp.editor && window.wp.editor.fullscreen, 37 37 mceEditor, -
src/wp-admin/css/common.css
2009 2009 } 2010 2010 2011 2011 .metabox-holder.columns-1 .postbox-container .empty-container, 2012 .columns-2 #postbox-container-3 .empty-container,2013 .columns-2 #postbox-container-4 .empty-container,2014 .columns-3 #postbox-container-4 .empty-container {2012 .columns-2 .postbox-container-3 .empty-container, 2013 .columns-2 .postbox-container-4 .empty-container, 2014 .columns-3 .postbox-container-4 .empty-container { 2015 2015 border: 0 none; 2016 2016 height: 0; 2017 2017 min-height: 0; … … 2023 2023 float: left; 2024 2024 } 2025 2025 2026 #post-body.columns-2 #postbox-container-1 {2026 #post-body.columns-2 .postbox-container-1 { 2027 2027 float: right; 2028 2028 margin-right: -300px; 2029 2029 width: 280px; -
src/wp-admin/css/dashboard.css
7 7 } 8 8 9 9 #wpbody-content #dashboard-widgets.columns-2 .postbox-container-2, 10 #wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,11 #wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 {10 #wpbody-content #dashboard-widgets.columns-2 .postbox-container-3, 11 #wpbody-content #dashboard-widgets.columns-2 .postbox-container-4 { 12 12 float: right; 13 13 width: 50.5%; 14 14 } … … 17 17 width: 33.5%; 18 18 } 19 19 20 #wpbody-content #dashboard-widgets.columns-3 #postbox-container-1 {20 #wpbody-content #dashboard-widgets.columns-3 .postbox-container-1 { 21 21 width: 33%; 22 22 } 23 23 24 #wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,25 #wpbody-content #dashboard-widgets.columns-3 #postbox-container-4 {24 #wpbody-content #dashboard-widgets.columns-3 .postbox-container-3, 25 #wpbody-content #dashboard-widgets.columns-3 .postbox-container-4 { 26 26 float: right; 27 27 } 28 28 … … 34 34 width: 25%; 35 35 } 36 36 37 #dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container {37 #dashboard-widgets-wrap .columns-3 .postbox-container-4 .empty-container { 38 38 border: none !important; 39 39 } 40 40 … … 43 43 } 44 44 45 45 .ie8 #wpbody-content #dashboard-widgets .postbox-container-2, 46 .ie8 #wpbody-content #dashboard-widgets #postbox-container-3,47 .ie8 #wpbody-content #dashboard-widgets #postbox-container-4 {46 .ie8 #wpbody-content #dashboard-widgets .postbox-container-3, 47 .ie8 #wpbody-content #dashboard-widgets .postbox-container-4 { 48 48 float: right; 49 49 width: 50.5%; 50 50 } 51 51 52 .ie8 #dashboard-widgets #postbox-container-3 .empty-container,53 .ie8 #dashboard-widgets #postbox-container-4 .empty-container {52 .ie8 #dashboard-widgets .postbox-container-3 .empty-container, 53 .ie8 #dashboard-widgets .postbox-container-4 .empty-container { 54 54 border: 0 none; 55 55 height: 0; 56 56 min-height: 0; … … 1113 1113 } 1114 1114 1115 1115 #wpbody-content #dashboard-widgets .postbox-container-2, 1116 #wpbody-content #dashboard-widgets #postbox-container-3,1117 #wpbody-content #dashboard-widgets #postbox-container-4 {1116 #wpbody-content #dashboard-widgets .postbox-container-3, 1117 #wpbody-content #dashboard-widgets .postbox-container-4 { 1118 1118 float: right; 1119 1119 width: 50.5%; 1120 1120 } 1121 1121 1122 #dashboard-widgets #postbox-container-3 .empty-container,1123 #dashboard-widgets #postbox-container-4 .empty-container {1122 #dashboard-widgets .postbox-container-3 .empty-container, 1123 #dashboard-widgets .postbox-container-4 .empty-container { 1124 1124 border: 0 none; 1125 1125 height: 0; 1126 1126 min-height: 0; 1127 1127 } 1128 1128 1129 #dashboard-widgets #postbox-container-3 .empty-container:after,1130 #dashboard-widgets #postbox-container-4 .empty-container:after {1129 #dashboard-widgets .postbox-container-3 .empty-container:after, 1130 #dashboard-widgets .postbox-container-4 .empty-container:after { 1131 1131 display: none; 1132 1132 } 1133 1133 … … 1163 1163 width: 33.5%; 1164 1164 } 1165 1165 1166 #wpbody-content #dashboard-widgets #postbox-container-1 {1166 #wpbody-content #dashboard-widgets .postbox-container-1 { 1167 1167 width: 33%; 1168 1168 } 1169 1169 1170 #wpbody-content #dashboard-widgets #postbox-container-3,1171 #wpbody-content #dashboard-widgets #postbox-container-4 {1170 #wpbody-content #dashboard-widgets .postbox-container-3, 1171 #wpbody-content #dashboard-widgets .postbox-container-4 { 1172 1172 float: right; 1173 1173 } 1174 1174 1175 #dashboard-widgets #postbox-container-4 .empty-container {1175 #dashboard-widgets .postbox-container-4 .empty-container { 1176 1176 border: 0 none; 1177 1177 height: 0; 1178 1178 min-height: 0; 1179 1179 } 1180 1180 1181 #dashboard-widgets #postbox-container-4 .empty-container:after {1181 #dashboard-widgets .postbox-container-4 .empty-container:after { 1182 1182 display: none; 1183 1183 } 1184 1184 -
src/wp-admin/css/edit.css
1420 1420 margin: 0; 1421 1421 } 1422 1422 1423 #wpbody-content #post-body.columns-2 #postbox-container-1 {1423 #wpbody-content #post-body.columns-2 .postbox-container-1 { 1424 1424 margin-right: 0; 1425 1425 width: 100%; 1426 1426 } 1427 1427 1428 .poststuff #postbox-container-1 .empty-container,1429 .poststuff #postbox-container-1 #side-sortables:empty {1428 .poststuff .postbox-container-1 .empty-container, 1429 .poststuff .postbox-container-1 #side-sortables:empty { 1430 1430 border: 0 none; 1431 1431 height: 0; 1432 1432 min-height: 0; -
src/wp-admin/css/ie.css
14 14 } 15 15 16 16 #wpbody-content #dashboard-widgets .postbox-container-2, 17 #wpbody-content #dashboard-widgets #postbox-container-3,18 #wpbody-content #dashboard-widgets #postbox-container-4 {17 #wpbody-content #dashboard-widgets .postbox-container-3, 18 #wpbody-content #dashboard-widgets .postbox-container-4 { 19 19 float: right; 20 20 width: 50.5%; 21 21 } 22 22 23 #dashboard-widgets #postbox-container-3 .empty-container,24 #dashboard-widgets #postbox-container-4 .empty-container {23 #dashboard-widgets .postbox-container-3 .empty-container, 24 #dashboard-widgets .postbox-container-4 .empty-container { 25 25 border: 0 none; 26 26 height: 0; 27 27 min-height: 0; … … 38 38 width: 97%; 39 39 } 40 40 41 #post-body.columns-2 #postbox-container-1 {41 #post-body.columns-2 .postbox-container-1 { 42 42 padding-left: 19px; 43 43 } 44 44 -
src/wp-admin/edit-form-advanced.php
639 639 ?> 640 640 </div><!-- /post-body-content --> 641 641 642 <div id="postbox-container-1" class="postbox-container">642 <div class="postbox-container-1 postbox-container"> 643 643 <?php 644 644 645 645 if ( 'page' == $post_type ) { -
src/wp-admin/edit-form-comment.php
85 85 </div> 86 86 </div><!-- /post-body-content --> 87 87 88 <div id="postbox-container-1" class="postbox-container">88 <div class="postbox-container-1 postbox-container"> 89 89 <div id="submitdiv" class="stuffbox" > 90 90 <h2><?php _e( 'Status' ); ?></h2> 91 91 <div class="inside"> -
src/wp-admin/edit-link-form.php
135 135 </div> 136 136 </div><!-- /post-body-content --> 137 137 138 <div id="postbox-container-1" class="postbox-container">138 <div class="postbox-container-1 postbox-container"> 139 139 <?php 140 140 141 141 /** This action is documented in wp-admin/includes/meta-boxes.php */ -
src/wp-admin/includes/dashboard.php
242 242 243 243 ?> 244 244 <div id="dashboard-widgets" class="metabox-holder<?php echo $columns_css; ?>"> 245 <div id="postbox-container-1" class="postbox-container">245 <div class="postbox-container-1 postbox-container"> 246 246 <?php do_meta_boxes( $screen->id, 'normal', '' ); ?> 247 247 </div> 248 248 <div class="postbox-container-2 postbox-container"> 249 249 <?php do_meta_boxes( $screen->id, 'side', '' ); ?> 250 250 </div> 251 <div id="postbox-container-3" class="postbox-container">251 <div class="postbox-container-3 postbox-container"> 252 252 <?php do_meta_boxes( $screen->id, 'column3', '' ); ?> 253 253 </div> 254 <div id="postbox-container-4" class="postbox-container">254 <div class="postbox-container-4 postbox-container"> 255 255 <?php do_meta_boxes( $screen->id, 'column4', '' ); ?> 256 256 </div> 257 257 </div>