Changeset 49179 for trunk/src/wp-admin/css/dashboard.css
- Timestamp:
- 10/17/2020 09:58:34 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/dashboard.css
r48717 r49179 50 50 #dashboard-widgets .meta-box-sortables { 51 51 display: flow-root; /* avoid margin collapsing between parent and first/last child elements */ 52 /* Required min-height to make the jQuery UI Sortable drop zone work. */53 min-height: 100px;54 52 margin: 0 8px 20px; 55 53 } 56 54 57 #dashboard-widgets .postbox-container .empty-container { 58 outline: 3px dashed #b4b9be; 59 height: 250px; 60 } 61 62 /* Only highlight drop zones when dragging and only in the 2 columns layout. */ 63 .is-dragging-metaboxes #dashboard-widgets .meta-box-sortables { 55 /* The following four selectors also apply on the Edit Post screen. */ 56 .screen-options-open .meta-box-sortables { 64 57 outline: 3px dashed #606a73; 65 /* Prevent margin on the child from collapsing with margin on the parent. */ 66 display: flow-root; 67 } 68 69 #dashboard-widgets .postbox-container .empty-container:after { 58 min-height: 250px; 59 } 60 61 .screen-options-open .postbox-container .empty-container { 62 outline-color: #b4b9be; 63 } 64 65 .postbox-container .empty-container:after { 70 66 content: attr(data-emptystring); 71 67 margin: auto; … … 83 79 } 84 80 81 .screen-options-open .postbox-container .empty-container:after { 82 display: block; 83 } 85 84 86 85 /* @todo: this was originally in this section, but likely belongs elsewhere */ … … 1119 1118 } 1120 1119 1121 . is-dragging-metaboxes#dashboard-widgets .meta-box-sortables {1120 .screen-options-open #dashboard-widgets .meta-box-sortables { 1122 1121 min-height: 100px; 1123 1122 } … … 1175 1174 display: none; 1176 1175 } 1177 1176 /* 1178 1177 #dashboard-widgets .postbox-container .empty-container:after { 1179 1178 display: block; 1180 1179 } 1180 */ 1181 1181 } 1182 1182 … … 1206 1206 display: none; 1207 1207 } 1208 1208 /* 1209 1209 #dashboard-widgets .postbox-container .empty-container:after { 1210 1210 display: block; 1211 1211 } 1212 } 1213 1214 /* Always show the "Drag boxes here" CSS generated content on large screens. */ 1212 */ 1213 } 1214 1215 /* Always show the "Drag boxes here" CSS generated content on large screens. 1215 1216 @media only screen and (min-width: 1801px) { 1216 1217 #dashboard-widgets .postbox-container .empty-container:after { … … 1218 1219 } 1219 1220 } 1220 1221 */ 1221 1222 @media screen and (max-width: 870px) { 1222 1223 .welcome-panel .welcome-panel-column,
Note: See TracChangeset
for help on using the changeset viewer.