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 border: none !important; |
38 border: none !important; |
39 } |
39 } |
40 |
40 |
41 .ie8 #wpbody-content #dashboard-widgets .postbox-container { |
|
42 width: 49.5%; |
|
43 } |
|
44 |
|
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 { |
|
48 float: right; |
|
49 width: 50.5%; |
|
50 } |
|
51 |
|
52 .ie8 #dashboard-widgets #postbox-container-3 .empty-container, |
|
53 .ie8 #dashboard-widgets #postbox-container-4 .empty-container { |
|
54 border: 0 none; |
|
55 height: 0; |
|
56 min-height: 0; |
|
57 } |
|
58 |
|
59 #dashboard-widgets-wrap { |
41 #dashboard-widgets-wrap { |
60 overflow: hidden; |
42 overflow: hidden; |
61 margin: 0 -8px; |
43 margin: 0 -8px; |
62 } |
44 } |
63 |
45 |
64 #dashboard-widgets .postbox .inside { |
46 #dashboard-widgets .postbox .inside { |
65 margin-bottom: 0; |
47 margin-bottom: 0; |
66 } |
48 } |
67 |
49 |
68 #dashboard-widgets .meta-box-sortables { |
50 #dashboard-widgets .meta-box-sortables { |
69 margin: 0 8px; |
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. */ |
70 min-height: 100px; |
53 min-height: 100px; |
71 } |
54 margin: 0 8px 20px; |
|
55 } |
|
56 |
|
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 { |
|
64 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 { |
|
70 content: attr(data-emptystring); |
|
71 margin: auto; |
|
72 position: absolute; |
|
73 top: 50%; |
|
74 left: 0; |
|
75 right: 0; |
|
76 transform: translateY( -50% ); |
|
77 padding: 0 2em; |
|
78 text-align: center; |
|
79 color: #606a73; |
|
80 font-size: 16px; |
|
81 line-height: 1.5; |
|
82 display: none; |
|
83 } |
|
84 |
72 |
85 |
73 /* @todo: this was originally in this section, but likely belongs elsewhere */ |
86 /* @todo: this was originally in this section, but likely belongs elsewhere */ |
74 #the-comment-list td.comment p.comment-author { |
87 #the-comment-list td.comment p.comment-author { |
75 margin-top: 0; |
88 margin-top: 0; |
76 margin-left: 0; |
89 margin-left: 0; |
196 margin-top: 7px; |
205 margin-top: 7px; |
197 color: #444; |
206 color: #444; |
198 } |
207 } |
199 |
208 |
200 .welcome-panel .welcome-widgets-menus { |
209 .welcome-panel .welcome-widgets-menus { |
201 line-height: 16px; |
210 line-height: 1.14285714; |
202 } |
211 } |
203 |
212 |
204 .welcome-panel .welcome-panel-column ul { |
213 .welcome-panel .welcome-panel-column ul { |
205 margin: 0.8em 1em 1em 0; |
214 margin: 0.8em 1em 1em 0; |
206 } |
215 } |
207 |
216 |
208 .welcome-panel .welcome-panel-column li { |
217 .welcome-panel .welcome-panel-column li { |
209 line-height: 16px; |
218 line-height: 1.14285714; |
210 list-style-type: none; |
219 list-style-type: none; |
211 padding: 0 0 8px; |
220 padding: 0 0 8px; |
212 } |
221 } |
213 |
222 |
214 .welcome-panel .welcome-icon { |
223 .welcome-panel .welcome-icon { |
217 |
226 |
218 /* Welcome Panel and Right Now common Icons style */ |
227 /* Welcome Panel and Right Now common Icons style */ |
219 |
228 |
220 .welcome-panel .welcome-icon:before, |
229 .welcome-panel .welcome-icon:before, |
221 #dashboard_right_now li a:before, |
230 #dashboard_right_now li a:before, |
222 #dashboard_right_now li span:before { |
231 #dashboard_right_now li span:before, |
223 color: #82878c; |
232 #dashboard_right_now .search-engines-info:before { |
|
233 color: #606a73; |
224 font: normal 20px/1 dashicons; |
234 font: normal 20px/1 dashicons; |
225 speak: none; |
235 speak: none; |
226 display: inline-block; |
236 display: inline-block; |
227 padding: 0 10px 0 0; |
237 padding: 0 10px 0 0; |
228 position: relative; |
238 position: relative; |
270 top: -1px; |
290 top: -1px; |
271 } |
291 } |
272 |
292 |
273 /* Right Now specific Icons styles */ |
293 /* Right Now specific Icons styles */ |
274 |
294 |
|
295 #dashboard_right_now .search-engines-info:before, |
275 #dashboard_right_now li a:before, |
296 #dashboard_right_now li a:before, |
276 #dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */ |
297 #dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */ |
277 content: "\f159"; /* generic icon for items added by CPTs ? */ |
298 content: "\f159"; /* generic icon for items added by CPTs ? */ |
278 padding: 0 5px 0 0; |
299 padding: 0 5px 0 0; |
279 } |
300 } |
352 |
377 |
353 .community-events li.event-none { |
378 .community-events li.event-none { |
354 border-left: 4px solid #00a0d2; |
379 border-left: 4px solid #00a0d2; |
355 } |
380 } |
356 |
381 |
|
382 #dashboard-widgets .community-events li.event-none a { |
|
383 text-decoration: underline; |
|
384 } |
|
385 |
357 .community-events-form label { |
386 .community-events-form label { |
358 display: inline-block; |
387 display: inline-block; |
359 vertical-align: top; |
388 vertical-align: top; |
360 line-height: 28px; |
389 line-height: 2.15384615; |
361 height: 28px; |
390 height: 28px; |
362 } |
391 } |
363 |
392 |
364 .community-events .activity-block > p { |
393 .community-events .activity-block > p { |
365 margin-bottom: 0; |
394 margin-bottom: 0; |
377 |
406 |
378 /* Needs higher specificity than #dashboard-widgets .button-link */ |
407 /* Needs higher specificity than #dashboard-widgets .button-link */ |
379 #dashboard-widgets .community-events-cancel.button-link { |
408 #dashboard-widgets .community-events-cancel.button-link { |
380 vertical-align: top; |
409 vertical-align: top; |
381 /* Same properties as the submit button for cross-browsers alignment. */ |
410 /* Same properties as the submit button for cross-browsers alignment. */ |
382 line-height: 26px; |
411 line-height: 2; |
383 height: 28px; |
412 height: 28px; |
384 text-decoration: underline; |
413 text-decoration: underline; |
385 } |
414 } |
386 |
415 |
387 .community-events ul { |
416 .community-events ul { |
716 padding-bottom: 0; |
749 padding-bottom: 0; |
717 } |
750 } |
718 |
751 |
719 #dashboard_activity .no-activity { |
752 #dashboard_activity .no-activity { |
720 overflow: hidden; |
753 overflow: hidden; |
721 padding: 0 0 12px; |
754 padding: 12px 0; |
722 text-align: center; |
755 text-align: center; |
723 } |
756 } |
724 |
757 |
725 #dashboard_activity .no-activity p { |
758 #dashboard_activity .no-activity p { |
726 color: #72777c; |
759 color: #72777c; |
727 font-size: 16px; |
760 font-size: 16px; |
728 } |
|
729 |
|
730 #dashboard_activity .no-activity .smiley { |
|
731 margin-top: 0; |
|
732 } |
|
733 |
|
734 #dashboard_activity .no-activity .smiley:before { |
|
735 content: "\f328"; |
|
736 font: normal 120px/1 dashicons; |
|
737 speak: none; |
|
738 display: block; |
|
739 margin: 0 5px 0 0; |
|
740 padding: 0; |
|
741 text-indent: 0; |
|
742 text-align: center; |
|
743 position: relative; |
|
744 -webkit-font-smoothing: antialiased; |
|
745 text-decoration: none !important; |
|
746 } |
761 } |
747 |
762 |
748 #dashboard_activity .subsubsub { |
763 #dashboard_activity .subsubsub { |
749 float: none; |
764 float: none; |
750 border-top: 1px solid #eee; |
765 border-top: 1px solid #eee; |
884 |
899 |
885 #dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish { |
900 #dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish { |
886 min-width: 0; |
901 min-width: 0; |
887 } |
902 } |
888 |
903 |
889 #dashboard-widgets a, |
904 #dashboard-widgets li a, |
890 #dashboard-widgets .button-link { |
905 #dashboard-widgets .button-link, |
|
906 .community-events-footer a { |
891 text-decoration: none; |
907 text-decoration: none; |
892 } |
908 } |
893 |
909 |
894 #dashboard-widgets h2 a { |
910 #dashboard-widgets h2 a { |
895 text-decoration: underline; |
911 text-decoration: underline; |
1090 |
1110 |
1091 /* one column on the dash */ |
1111 /* one column on the dash */ |
1092 @media only screen and (max-width: 799px) { |
1112 @media only screen and (max-width: 799px) { |
1093 #wpbody-content #dashboard-widgets .postbox-container { |
1113 #wpbody-content #dashboard-widgets .postbox-container { |
1094 width: 100%; |
1114 width: 100%; |
|
1115 } |
|
1116 |
|
1117 #dashboard-widgets .meta-box-sortables { |
|
1118 min-height: 0; |
|
1119 } |
|
1120 |
|
1121 .is-dragging-metaboxes #dashboard-widgets .meta-box-sortables { |
|
1122 min-height: 100px; |
|
1123 } |
|
1124 |
|
1125 #dashboard-widgets .meta-box-sortables.empty-container { |
|
1126 margin-bottom: 0; |
1095 } |
1127 } |
1096 } |
1128 } |
1097 |
1129 |
1098 /* two columns on the dash, but keep the setting if one is selected */ |
1130 /* two columns on the dash, but keep the setting if one is selected */ |
1099 @media only screen and (min-width: 800px) and (max-width: 1499px) { |
1131 @media only screen and (min-width: 800px) and (max-width: 1499px) { |
1108 width: 50.5%; |
1140 width: 50.5%; |
1109 } |
1141 } |
1110 |
1142 |
1111 #dashboard-widgets #postbox-container-3 .empty-container, |
1143 #dashboard-widgets #postbox-container-3 .empty-container, |
1112 #dashboard-widgets #postbox-container-4 .empty-container { |
1144 #dashboard-widgets #postbox-container-4 .empty-container { |
1113 border: 0 none; |
1145 outline: none; |
1114 height: 0; |
1146 height: 0; |
1115 min-height: 0; |
1147 min-height: 0; |
|
1148 margin-bottom: 0; |
1116 } |
1149 } |
1117 |
1150 |
1118 #dashboard-widgets #postbox-container-3 .empty-container:after, |
1151 #dashboard-widgets #postbox-container-3 .empty-container:after, |
1119 #dashboard-widgets #postbox-container-4 .empty-container:after { |
1152 #dashboard-widgets #postbox-container-4 .empty-container:after { |
1120 display: none; |
1153 display: none; |
1122 |
1155 |
1123 #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container { |
1156 #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container { |
1124 width: 100%; |
1157 width: 100%; |
1125 } |
1158 } |
1126 |
1159 |
1127 #wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container { |
1160 #wpbody #dashboard-widgets .metabox-holder.columns-1 .postbox-container .empty-container { |
1128 border: 0 none; |
1161 outline: none; |
1129 height: 0; |
1162 height: 0; |
1130 min-height: 0; |
1163 min-height: 0; |
|
1164 margin-bottom: 0; |
1131 } |
1165 } |
1132 |
1166 |
1133 /* show the radio buttons for column prefs only for one or two columns */ |
1167 /* show the radio buttons for column prefs only for one or two columns */ |
1134 .index-php .screen-layout, |
1168 .index-php .screen-layout, |
1135 .index-php .columns-prefs { |
1169 .index-php .columns-prefs { |
1160 #wpbody-content #dashboard-widgets #postbox-container-4 { |
1194 #wpbody-content #dashboard-widgets #postbox-container-4 { |
1161 float: right; |
1195 float: right; |
1162 } |
1196 } |
1163 |
1197 |
1164 #dashboard-widgets #postbox-container-4 .empty-container { |
1198 #dashboard-widgets #postbox-container-4 .empty-container { |
1165 border: 0 none; |
1199 outline: none; |
1166 height: 0; |
1200 height: 0; |
1167 min-height: 0; |
1201 min-height: 0; |
|
1202 margin-bottom: 0; |
1168 } |
1203 } |
1169 |
1204 |
1170 #dashboard-widgets #postbox-container-4 .empty-container:after { |
1205 #dashboard-widgets #postbox-container-4 .empty-container:after { |
1171 display: none; |
1206 display: none; |
1172 } |
1207 } |
1173 |
1208 |
1174 .metabox-holder .postbox-container .empty-container:after { |
1209 #dashboard-widgets .postbox-container .empty-container:after { |
|
1210 display: block; |
|
1211 } |
|
1212 } |
|
1213 |
|
1214 /* Always show the "Drag boxes here" CSS generated content on large screens. */ |
|
1215 @media only screen and (min-width: 1801px) { |
|
1216 #dashboard-widgets .postbox-container .empty-container:after { |
1175 display: block; |
1217 display: block; |
1176 } |
1218 } |
1177 } |
1219 } |
1178 |
1220 |
1179 @media screen and (max-width: 870px) { |
1221 @media screen and (max-width: 870px) { |