1 /* List table styles */ |
1 .response-links { |
2 .post-com-count-wrapper { |
|
3 min-width: 22px; |
|
4 } |
|
5 |
|
6 .post-com-count { |
|
7 background: none; |
|
8 height: 1.3em; |
|
9 line-height: 1.1em; |
|
10 display: block; |
2 display: block; |
11 text-decoration: none; |
3 margin-bottom: 1em; |
12 padding: 0 0 6px; |
4 } |
13 cursor: pointer; |
5 |
14 background-position: center -80px; |
6 .response-links a { |
15 background-repeat: no-repeat; |
7 display: block; |
|
8 } |
|
9 |
|
10 .response-links a.comments-edit-item-link { |
|
11 font-weight: 600; |
|
12 } |
|
13 |
|
14 .response-links a.comments-view-item-link { |
|
15 font-size: 12px; |
|
16 } |
|
17 |
|
18 .post-com-count-wrapper strong { |
|
19 font-weight: 400; |
|
20 } |
|
21 |
|
22 .comments-view-item-link { |
|
23 display: inline-block; |
|
24 clear: both; |
|
25 } |
|
26 |
|
27 .column-response .post-com-count-wrapper, |
|
28 .column-comments .post-com-count-wrapper { |
|
29 white-space: nowrap; |
|
30 word-wrap: normal; |
|
31 } |
|
32 |
|
33 /* comments bubble common */ |
|
34 .column-response .post-com-count, |
|
35 .column-comments .post-com-count { |
|
36 display: inline-block; |
|
37 vertical-align: top; |
|
38 } |
|
39 |
|
40 /* comments bubble approved */ |
|
41 .column-response .post-com-count-no-comments, |
|
42 .column-response .post-com-count-approved, |
|
43 .column-comments .post-com-count-no-comments, |
|
44 .column-comments .post-com-count-approved { |
|
45 margin-top: 5px; |
|
46 } |
|
47 |
|
48 .column-response .comment-count-no-comments, |
|
49 .column-response .comment-count-approved, |
|
50 .column-comments .comment-count-no-comments, |
|
51 .column-comments .comment-count-approved { |
|
52 box-sizing: border-box; |
|
53 display: block; |
|
54 padding: 0 8px; |
|
55 min-width: 24px; |
|
56 height: 2em; |
|
57 border-radius: 5px; |
|
58 background-color: #72777c; |
16 color: #fff; |
59 color: #fff; |
17 } |
60 font-size: 11px; |
18 |
61 line-height: 21px; |
19 .post-com-count:after { /* draw bubble connector using CSS! */ |
62 text-align: center; |
|
63 } |
|
64 |
|
65 .ie8 .column-response .comment-count-no-comments, |
|
66 .ie8 .column-response .comment-count-approved, |
|
67 .ie8 .column-comments .comment-count-no-comments, |
|
68 .ie8 .column-comments .comment-count-approved { |
|
69 min-width: 0; |
|
70 } |
|
71 |
|
72 .column-response .post-com-count-no-comments:after, |
|
73 .column-response .post-com-count-approved:after, |
|
74 .column-comments .post-com-count-no-comments:after, |
|
75 .column-comments .post-com-count-approved:after { |
20 content: ""; |
76 content: ""; |
21 display: block; |
77 display: block; |
|
78 margin-right: 8px; |
22 width: 0; |
79 width: 0; |
23 height: 0; |
80 height: 0; |
24 margin-right: 8px; |
81 border-top: 5px solid #72777c; |
25 border-top: 5px solid #b4b9be; |
|
26 border-left: 5px solid transparent; |
82 border-left: 5px solid transparent; |
27 } |
83 } |
28 |
84 |
29 .post-com-count span { |
85 .column-response .post-com-count-approved:hover .comment-count-approved, |
30 font-size: 11px; |
86 .column-response .post-com-count-approved:focus .comment-count-approved, |
31 font-weight: 600; |
87 .column-comments .post-com-count-approved:hover .comment-count-approved, |
32 height: 1.4em; |
88 .column-comments .post-com-count-approved:focus .comment-count-approved { |
33 line-height: 1.4em; |
89 background: #0073aa; |
34 min-width: 0.7em; |
90 } |
35 padding: 0 6px; |
91 |
36 display: inline-block; |
92 .column-response .post-com-count-approved:hover:after, |
37 -webkit-border-radius: 5px; |
93 .column-response .post-com-count-approved:focus:after, |
38 border-radius: 5px; |
94 .column-comments .post-com-count-approved:hover:after, |
39 background-color: #b4b9be; |
95 .column-comments .post-com-count-approved:focus:after { |
|
96 border-top-color: #0073aa; |
|
97 } |
|
98 |
|
99 /* @todo: consider to use a single rule for these counters and the admin menu counters. */ |
|
100 .column-response .post-com-count-pending, |
|
101 .column-comments .post-com-count-pending { |
|
102 position: relative; |
|
103 right: -3px; |
|
104 padding: 0 5px; |
|
105 min-width: 7px; |
|
106 height: 17px; |
|
107 border: 2px solid #fff; |
|
108 border-radius: 11px; |
|
109 background: #ca4a1f; |
40 color: #fff; |
110 color: #fff; |
41 } |
111 font-size: 9px; |
42 |
112 line-height: 17px; |
43 .post-com-count:hover { |
|
44 background-position: center -3px; |
|
45 } |
|
46 |
|
47 .post-com-count:hover span { |
|
48 background-color: #00a0d2; |
|
49 } |
|
50 |
|
51 .post-com-count:hover:after { |
|
52 border-top: 5px solid #00a0d2; |
|
53 } |
|
54 |
|
55 strong .post-com-count { |
|
56 background-position: center -55px; |
|
57 } |
|
58 |
|
59 strong .post-com-count span { |
|
60 background-color: #0073aa; |
|
61 } |
|
62 |
|
63 strong .post-com-count:after { |
|
64 border-top: 5px solid #0073aa; |
|
65 } |
|
66 |
|
67 .column-response .post-com-count { |
|
68 float: right; |
|
69 margin-left: 5px; |
|
70 text-align: center; |
113 text-align: center; |
71 } |
114 } |
72 |
115 |
73 .response-links { |
116 .column-response .post-com-count-no-pending, |
74 float: right; |
117 .column-comments .post-com-count-no-pending { |
|
118 display: none; |
75 } |
119 } |
76 |
120 |
77 /* comments */ |
121 /* comments */ |
78 |
122 |
79 .commentlist li { |
123 .commentlist li { |
280 .fixed .column-locations { |
324 .fixed .column-locations { |
281 width: 35%; |
325 width: 35%; |
282 } |
326 } |
283 |
327 |
284 .fixed .column-comments { |
328 .fixed .column-comments { |
285 width: 4em; |
329 width: 5.5em; |
286 padding: 8px 0; |
330 padding: 8px 0; |
287 text-align: right; |
331 text-align: right; |
288 } |
332 } |
289 |
333 |
290 .fixed .column-comments .vers { |
334 .fixed .column-comments .vers { |
291 padding-right: 3px; |
335 padding-right: 3px; |
292 } |
336 } |
293 |
337 |
294 .fixed .column-comments a { |
338 td.column-title strong, |
|
339 td.plugin-title strong { |
|
340 display: block; |
|
341 margin-bottom: .2em; |
|
342 font-size: 14px; |
|
343 } |
|
344 |
|
345 td.column-title p, |
|
346 td.plugin-title p { |
|
347 margin: 6px 0; |
|
348 } |
|
349 |
|
350 /* Media file column */ |
|
351 table.media .column-title .media-icon { |
295 float: right; |
352 float: right; |
296 } |
353 min-height: 60px; |
297 |
354 margin: 0 0 0 9px; |
298 .fixed .column-icon { |
355 } |
299 width: 80px; |
356 |
|
357 table.media .column-title .media-icon img { |
|
358 max-width: 60px; |
|
359 height: auto; |
|
360 vertical-align: top; /* Remove descender white-space. */ |
|
361 } |
|
362 |
|
363 table.media .column-title .has-media-icon ~ .row-actions { |
|
364 margin-right: 70px; /* 60px image + margin */ |
|
365 } |
|
366 |
|
367 table.media .column-title .filename { |
|
368 margin-bottom: 0.2em; |
300 } |
369 } |
301 |
370 |
302 /* @todo: pick a consistent list table selector */ |
371 /* @todo: pick a consistent list table selector */ |
303 .wp-list-table a { |
372 .wp-list-table a { |
304 -webkit-transition: none; |
|
305 transition: none; |
373 transition: none; |
306 } |
374 } |
307 |
375 |
308 #the-list tr:last-child td, |
376 #the-list tr:last-child td, |
309 #the-list tr:last-child th { |
377 #the-list tr:last-child th { |
310 border-bottom: none !important; |
378 border-bottom: none !important; |
311 -webkit-box-shadow: none; |
|
312 box-shadow: none; |
379 box-shadow: none; |
313 } |
380 } |
314 |
381 |
315 #comments-form .fixed .column-author { |
382 #comments-form .fixed .column-author { |
316 width: 20%; |
383 width: 20%; |
|
384 } |
|
385 |
|
386 #comments-form .fixed .column-date { |
|
387 width: 14%; |
317 } |
388 } |
318 |
389 |
319 #commentsdiv.postbox .inside { |
390 #commentsdiv.postbox .inside { |
320 margin: 0; |
391 margin: 0; |
321 padding: 0; |
392 padding: 0; |
388 top: 0; |
464 top: 0; |
389 right: -10px; |
465 right: -10px; |
390 } |
466 } |
391 |
467 |
392 th.sorted.asc .sorting-indicator:before, |
468 th.sorted.asc .sorting-indicator:before, |
393 th.desc:hover span.sorting-indicator:before { |
469 th.desc:hover span.sorting-indicator:before, |
394 content: '\f142'; |
470 th.desc a:focus span.sorting-indicator:before { |
|
471 content: "\f142"; |
395 } |
472 } |
396 |
473 |
397 th.sorted.desc .sorting-indicator:before, |
474 th.sorted.desc .sorting-indicator:before, |
398 th.asc:hover span.sorting-indicator:before { |
475 th.asc:hover span.sorting-indicator:before, |
399 content: '\f140'; |
476 th.asc a:focus span.sorting-indicator:before { |
|
477 content: "\f140"; |
|
478 } |
|
479 |
|
480 .wp-list-table .toggle-row { |
|
481 position: absolute; |
|
482 left: 8px; |
|
483 top: 10px; |
|
484 display: none; |
|
485 padding: 0; |
|
486 width: 40px; |
|
487 height: 40px; |
|
488 border: none; |
|
489 outline: none; |
|
490 background: transparent; |
|
491 } |
|
492 |
|
493 .wp-list-table .toggle-row:hover { |
|
494 cursor: pointer; |
|
495 } |
|
496 |
|
497 .wp-list-table .toggle-row:focus:before { |
|
498 box-shadow: |
|
499 0 0 0 1px #5b9dd9, |
|
500 0 0 2px 1px rgba(30, 140, 190, .8); |
|
501 } |
|
502 |
|
503 .ie8 .wp-list-table .toggle-row:focus:before { |
|
504 outline: #5b9dd9 solid 1px; |
|
505 } |
|
506 |
|
507 .wp-list-table .toggle-row:active { |
|
508 box-shadow: none; |
|
509 } |
|
510 |
|
511 .wp-list-table .toggle-row:before { |
|
512 position: absolute; |
|
513 top: -5px; |
|
514 right: 10px; |
|
515 border-radius: 50%; |
|
516 display: block; |
|
517 padding: 1px 0 1px 2px; |
|
518 color: #444; /* same as table headers sort arrows */ |
|
519 content: "\f140"; |
|
520 font: normal 20px/1 dashicons; |
|
521 line-height: 1; |
|
522 -webkit-font-smoothing: antialiased; |
|
523 -moz-osx-font-smoothing: grayscale; |
|
524 speak: none; |
|
525 } |
|
526 |
|
527 .wp-list-table .is-expanded .toggle-row:before { |
|
528 content: "\f142"; |
400 } |
529 } |
401 |
530 |
402 tr.wp-locked .locked-indicator { |
531 tr.wp-locked .locked-indicator { |
403 margin-right: 6px; |
532 margin-right: 6px; |
404 height: 20px; |
533 height: 20px; |
405 width: 16px; |
534 width: 16px; |
406 } |
535 } |
407 |
536 |
408 tr.wp-locked .locked-indicator:before { |
537 tr.wp-locked .locked-indicator-icon:before { |
409 color: #82878c; |
538 color: #82878c; |
410 content: '\f160'; |
539 content: "\f160"; |
411 display: inline-block; |
540 display: inline-block; |
412 float: right; |
541 font: normal 20px/1 dashicons; |
413 font: normal 20px/1 'dashicons'; |
|
414 speak: none; |
542 speak: none; |
415 vertical-align: middle; |
543 vertical-align: middle; |
416 margin-right: 0; |
|
417 -webkit-font-smoothing: antialiased; |
544 -webkit-font-smoothing: antialiased; |
418 -moz-osx-font-smoothing: grayscale; |
545 -moz-osx-font-smoothing: grayscale; |
419 } |
546 } |
420 |
547 |
421 tr.wp-locked .check-column label, |
548 tr.wp-locked .check-column label, |
537 .tablenav-pages span.current { |
666 .tablenav-pages span.current { |
538 text-decoration: none; |
667 text-decoration: none; |
539 padding: 3px 6px; |
668 padding: 3px 6px; |
540 } |
669 } |
541 |
670 |
542 .tablenav .tablenav-pages a { |
671 .tablenav .tablenav-pages a, |
543 padding: 0 10px 3px; |
672 .tablenav-pages-navspan { |
544 background: #eee; |
673 display: inline-block; |
545 background: rgba( 0, 0, 0, 0.05 ); |
674 min-width: 17px; |
|
675 border: 1px solid #ccc; /* same color as buttons border */ |
|
676 padding: 3px 5px 7px; |
|
677 background: #e5e5e5; |
546 font-size: 16px; |
678 font-size: 16px; |
547 font-weight: normal; |
679 line-height: 1; |
|
680 font-weight: 400; |
|
681 text-align: center; |
|
682 } |
|
683 |
|
684 .tablenav-pages-navspan { |
|
685 height: 16px; |
|
686 border-color: #ddd; /* same as disabled buttons */ |
|
687 background: #f7f7f7; /* same as disabled buttons */ |
|
688 color: #a0a5aa; /* same as disabled buttons */ |
548 } |
689 } |
549 |
690 |
550 .tablenav .tablenav-pages a:hover, |
691 .tablenav .tablenav-pages a:hover, |
551 .tablenav .tablenav-pages a:focus { |
692 .tablenav .tablenav-pages a:focus { |
|
693 border-color: #5b9dd9; |
552 color: #fff; |
694 color: #fff; |
553 background: #00a0d2; |
695 background: #00a0d2; |
554 } |
696 box-shadow: none; |
555 |
697 outline: none; /* IE8 */ |
556 .tablenav .tablenav-pages a.disabled, |
|
557 .tablenav .tablenav-pages a.disabled:hover, |
|
558 .tablenav .tablenav-pages a.disabled:focus, |
|
559 .tablenav .tablenav-pages a.disabled:active { |
|
560 color: #a0a5aa; |
|
561 background: #eee; |
|
562 background: rgba( 0, 0, 0, 0.05 ); |
|
563 } |
698 } |
564 |
699 |
565 .tablenav .displaying-num { |
700 .tablenav .displaying-num { |
566 margin-left: 2px; |
701 margin-left: 7px; |
567 color: #777; |
702 } |
568 font-size: 12px; |
703 |
569 font-style: italic; |
704 .tablenav .one-page .displaying-num { |
|
705 display: inline-block; |
|
706 margin-top: 5px; |
|
707 margin-left: 0; |
570 } |
708 } |
571 |
709 |
572 .tablenav .actions { |
710 .tablenav .actions { |
573 overflow: hidden; |
711 overflow: hidden; |
574 padding: 2px 0 0 8px; |
712 padding: 2px 0 0 8px; |
601 color: #00a0d2; |
739 color: #00a0d2; |
602 } |
740 } |
603 |
741 |
604 .tablenav .view-switch { |
742 .tablenav .view-switch { |
605 float: left; |
743 float: left; |
606 margin: 5px 8px 0 16px; |
744 margin: 0 5px; |
|
745 padding-top: 3px; |
607 } |
746 } |
608 |
747 |
609 .wp-filter .view-switch { |
748 .wp-filter .view-switch { |
610 display: inline-block; |
749 display: inline-block; |
611 vertical-align: middle; |
750 vertical-align: middle; |
612 padding: 15px 0; |
751 padding: 12px 0; |
613 margin: 0 0 0 20px; |
752 margin: 0 2px 0 8px; |
|
753 } |
|
754 |
|
755 .media-toolbar.wp-filter .view-switch { |
|
756 margin: 0 2px 0 12px; |
614 } |
757 } |
615 |
758 |
616 .view-switch a { |
759 .view-switch a { |
|
760 float: right; |
|
761 width: 28px; |
|
762 height: 28px; |
|
763 text-align: center; |
|
764 line-height: 24px; |
617 text-decoration: none; |
765 text-decoration: none; |
618 } |
766 } |
619 |
767 |
620 .view-switch > a { |
768 .view-switch a:before { |
621 display: inline-block; |
|
622 width: 18px; |
|
623 height: 18px; |
|
624 } |
|
625 |
|
626 .view-switch > a:before { |
|
627 color: #b4b9be; |
769 color: #b4b9be; |
628 display: inline-block; |
770 display: inline-block; |
629 float: right; |
771 font: normal 20px/1 dashicons; |
630 font: normal 20px/1 'dashicons'; |
|
631 speak: none; |
772 speak: none; |
632 vertical-align: middle; |
773 vertical-align: middle; |
633 margin-right: 0; |
|
634 -webkit-font-smoothing: antialiased; |
774 -webkit-font-smoothing: antialiased; |
635 -moz-osx-font-smoothing: grayscale; |
775 -moz-osx-font-smoothing: grayscale; |
636 } |
776 } |
637 |
777 |
638 .view-switch > .view-list:before { |
778 .view-switch a:hover:before, |
639 content: '\f163'; |
779 .view-switch a:focus:before { |
640 } |
|
641 |
|
642 .view-switch a:hover:before { |
|
643 color: #727272; |
780 color: #727272; |
644 } |
781 } |
645 |
782 |
646 .view-switch a.current:before { |
783 .view-switch a.current:before { |
647 color: #0073aa; |
784 color: #0073aa; |
648 } |
785 } |
649 |
786 |
650 .view-switch > a + a { |
787 .view-switch .view-list:before { |
651 margin-right: 5px; |
788 content: "\f163"; |
652 } |
789 } |
653 |
790 |
654 .view-switch > .view-excerpt:before { |
791 .view-switch .view-excerpt:before { |
655 content: '\f164'; |
792 content: "\f164"; |
656 } |
793 } |
657 |
794 |
658 .view-switch > .view-grid:before { |
795 .view-switch .view-grid:before { |
659 content: '\f509'; |
796 content: "\f509"; |
660 } |
797 } |
661 |
798 |
662 .filter { |
799 .filter { |
663 float: right; |
800 float: right; |
664 margin: -5px 10px 0 0; |
801 margin: -5px 10px 0 0; |
1090 } |
1246 } |
1091 |
1247 |
1092 .plugins .update th, |
1248 .plugins .update th, |
1093 .plugins .update td { |
1249 .plugins .update td { |
1094 border-bottom: 0; |
1250 border-bottom: 0; |
1095 } |
|
1096 |
|
1097 .plugin-update-tr td { |
|
1098 border-top: 0; |
|
1099 } |
1251 } |
1100 |
1252 |
1101 .plugins .inactive td, |
1253 .plugins .inactive td, |
1102 .plugins .inactive th, |
1254 .plugins .inactive th, |
1103 .plugins .active td, |
1255 .plugins .active td, |
1104 .plugins .active th, |
1256 .plugins .active th, |
1105 .plugin-install #the-list td, |
1257 .plugin-install #the-list td, |
1106 .upgrade .plugins td, |
1258 .upgrade .plugins td, |
1107 .upgrade .plugins th { |
1259 .upgrade .plugins th { |
1108 -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); |
|
1109 box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); |
1260 box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); |
1110 } |
1261 } |
1111 |
1262 |
1112 .plugins tr.active.plugin-update-tr + tr.inactive th, |
1263 .plugins tr.active.plugin-update-tr + tr.inactive th, |
1113 .plugins tr.active.plugin-update-tr + tr.inactive td, |
1264 .plugins tr.active.plugin-update-tr + tr.inactive td, |
1114 .plugins tr.active + tr.inactive th, |
1265 .plugins tr.active + tr.inactive th, |
1115 .plugins tr.active + tr.inactive td { |
1266 .plugins tr.active + tr.inactive td { |
1116 border-top: 1px solid rgba(0,0,0,0.03); |
1267 border-top: 1px solid rgba(0,0,0,0.03); |
1117 -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1; |
|
1118 box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1; |
1268 box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1; |
1119 } |
1269 } |
1120 |
1270 |
1121 .plugins .update td, |
1271 .plugins .update td, |
1122 .plugins .update th, |
1272 .plugins .update th, |
1126 .plugins tr.active + tr.inactive.update td, |
1276 .plugins tr.active + tr.inactive.update td, |
1127 .plugins .updated td, |
1277 .plugins .updated td, |
1128 .plugins .updated th, |
1278 .plugins .updated th, |
1129 .plugins tr.active + tr.inactive.updated th, |
1279 .plugins tr.active + tr.inactive.updated th, |
1130 .plugins tr.active + tr.inactive.updated td { |
1280 .plugins tr.active + tr.inactive.updated td { |
1131 -webkit-box-shadow: none; |
|
1132 box-shadow: none; |
1281 box-shadow: none; |
1133 } |
|
1134 |
|
1135 .plugins .active.update td, |
|
1136 .plugins .active.update th, |
|
1137 tr.active.update + tr.plugin-update-tr .plugin-update { |
|
1138 background-color: #fef7f1; |
|
1139 } |
1282 } |
1140 |
1283 |
1141 .plugins .active th.check-column, |
1284 .plugins .active th.check-column, |
1142 .plugin-update-tr.active td { |
1285 .plugin-update-tr.active td { |
1143 border-right: 4px solid #00a0d2; |
1286 border-right: 4px solid #00a0d2; |
1144 } |
1287 } |
1145 |
1288 |
1146 .plugins .active.update th.check-column, |
1289 .wp-list-table.plugins .plugin-title, |
1147 .plugins .active.update + .plugin-update-tr .plugin-update { |
1290 .wp-list-table.plugins .theme-title { |
1148 border-right: 4px solid #d54e21; |
|
1149 } |
|
1150 |
|
1151 #wpbody-content .plugins .plugin-title, |
|
1152 #wpbody-content .plugins .theme-title { |
|
1153 padding-left: 12px; |
1291 padding-left: 12px; |
1154 white-space:nowrap; |
1292 white-space: nowrap; |
|
1293 } |
|
1294 |
|
1295 .plugins .plugin-title img, |
|
1296 .plugins .plugin-title .dashicons { |
|
1297 float: right; |
|
1298 padding: 0 0 0 10px; |
|
1299 width: 64px; |
|
1300 height: 64px; |
|
1301 } |
|
1302 |
|
1303 .plugins .plugin-title .dashicons:before { |
|
1304 padding: 2px; |
|
1305 background-color: #eee; |
|
1306 box-shadow: inset 0 0 10px rgba(160,165,170,.15); |
|
1307 font-size: 60px; |
|
1308 color: #B4B9BE; |
|
1309 } |
|
1310 |
|
1311 #update-themes-table .plugin-title img, |
|
1312 #update-themes-table .plugin-title .dashicons { |
|
1313 width: 85px; |
1155 } |
1314 } |
1156 |
1315 |
1157 .plugins .inactive .plugin-title strong { |
1316 .plugins .inactive .plugin-title strong { |
1158 font-weight: 400; |
1317 font-weight: 400; |
1159 } |
1318 } |
1174 .plugins-php .widefat tfoot td { |
1333 .plugins-php .widefat tfoot td { |
1175 border-top-style: solid; |
1334 border-top-style: solid; |
1176 border-top-width: 1px; |
1335 border-top-width: 1px; |
1177 } |
1336 } |
1178 |
1337 |
1179 .plugin-update-tr .update-message { |
1338 .plugins .plugin-update-tr .plugin-update { |
1180 font-size: 13px; |
1339 box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); |
1181 font-weight: normal; |
1340 overflow: hidden; /* clearfix */ |
1182 margin: 6px 12px 12px; |
1341 padding: 0; |
1183 padding: 6px 12px; |
1342 } |
1184 margin: 0 31px 8px 10px; |
1343 |
1185 background-color: #f7f7f7; |
1344 .plugins .plugin-update-tr .notice, |
1186 background-color: rgba(0,0,0,0.03); |
1345 .plugins .plugin-update-tr div[class="update-message"] { /* back-compat for pre-4.6 */ |
1187 } |
1346 margin: 5px 40px 15px 20px; |
1188 |
1347 } |
1189 .plugin-update-tr .update-message:before, |
1348 |
1190 .plugin-card .update-now:before, |
1349 .plugins .notice p { |
1191 .plugin-card .install-now:before { |
1350 margin: 0.5em 0; |
1192 color: #d54e21; |
1351 } |
|
1352 |
|
1353 .plugin-card .update-now:before { |
|
1354 color: #f56e28; |
|
1355 content: "\f463"; |
1193 display: inline-block; |
1356 display: inline-block; |
1194 font: normal 20px/1 'dashicons'; |
1357 font: normal 20px/1 dashicons; |
|
1358 margin: 3px -2px 0 5px; |
1195 speak: none; |
1359 speak: none; |
1196 -webkit-font-smoothing: antialiased; |
1360 -webkit-font-smoothing: antialiased; |
1197 -moz-osx-font-smoothing: grayscale; |
1361 -moz-osx-font-smoothing: grayscale; |
1198 vertical-align: top; |
1362 vertical-align: top; |
1199 } |
1363 } |
1200 |
1364 |
1201 .plugin-update-tr .update-message:before, |
|
1202 .plugin-card .update-now:before { |
|
1203 content: '\f463'; |
|
1204 } |
|
1205 |
|
1206 .plugin-update-tr .update-message:before { |
|
1207 margin: 0 -2px 0 8px; |
|
1208 } |
|
1209 |
|
1210 .plugin-card .update-now:before, |
|
1211 .plugin-card .install-now:before { |
|
1212 margin: 3px -2px 0 5px; |
|
1213 } |
|
1214 |
|
1215 .plugin-update-tr .updating-message:before, |
|
1216 .plugin-card .updating-message:before { |
1365 .plugin-card .updating-message:before { |
1217 content: '\f463'; |
1366 content: "\f463"; |
1218 -webkit-animation: rotation 2s infinite linear; |
1367 -webkit-animation: rotation 2s infinite linear; |
1219 animation: rotation 2s infinite linear; |
1368 animation: rotation 2s infinite linear; |
1220 } |
1369 } |
1221 |
1370 |
1222 @-webkit-keyframes rotation { |
1371 @-webkit-keyframes rotation { |
1239 -webkit-transform: rotate(-359deg); |
1388 -webkit-transform: rotate(-359deg); |
1240 transform: rotate(-359deg); |
1389 transform: rotate(-359deg); |
1241 } |
1390 } |
1242 } |
1391 } |
1243 |
1392 |
1244 .plugin-update-tr .updated-message:before, |
|
1245 .plugin-card .updated-message:before { |
1393 .plugin-card .updated-message:before { |
1246 color: #79ba49; |
1394 color: #79ba49; |
1247 content: '\f147'; |
1395 content: "\f147"; |
1248 } |
1396 } |
1249 |
1397 |
1250 .plugins .plugin-update-tr .plugin-update { |
1398 .plugin-install-php h2 { |
1251 padding: 0; |
1399 clear: both; |
1252 border: none; |
|
1253 -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); |
|
1254 box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); |
|
1255 } |
|
1256 |
|
1257 /* update notices for active plugins */ |
|
1258 tr.active + tr.plugin-update-tr .plugin-update { |
|
1259 background-color: #f7fcfe; |
|
1260 } |
|
1261 |
|
1262 tr.active + tr.plugin-update-tr:not(.updated) .plugin-update .update-message { |
|
1263 background-color: #fcf3ef; |
|
1264 } |
1400 } |
1265 |
1401 |
1266 .plugin-install-php h3 { |
1402 .plugin-install-php h3 { |
1267 clear: both; |
|
1268 } |
|
1269 |
|
1270 .plugin-install-php h4 { |
|
1271 margin: 2.5em 0 8px; |
1403 margin: 2.5em 0 8px; |
1272 } |
1404 } |
1273 |
1405 |
1274 .plugin-install-php .wp-filter { |
1406 .plugin-install-php .wp-filter { |
1275 margin-bottom: 0; |
1407 margin-bottom: 0; |
1451 width: 128px; |
1584 width: 128px; |
1452 height: 128px; |
1585 height: 128px; |
1453 margin: 0 0 20px 20px; |
1586 margin: 0 0 20px 20px; |
1454 } |
1587 } |
1455 |
1588 |
1456 .plugin-icon img { |
|
1457 width: 128px; |
|
1458 height: 128px; |
|
1459 } |
|
1460 |
|
1461 .no-plugin-results { |
1589 .no-plugin-results { |
1462 color: #999; |
1590 color: #666; /* same as no themes and no media */ |
1463 font-size: 18px; |
1591 font-size: 18px; |
1464 font-style: normal; |
1592 font-style: normal; |
1465 margin: 0; |
1593 margin: 0; |
1466 padding: 100px 0 0; |
1594 padding: 100px 0 0; |
1467 text-align: center; |
1595 text-align: center; |
1468 } |
1596 } |
1469 |
1597 |
1470 /* ms */ |
1598 /* ms */ |
1471 /* Background Color for Site Status */ |
1599 /* Background Color for Site Status */ |
|
1600 .wp-list-table .site-deleted, |
1472 .wp-list-table tr.site-deleted { |
1601 .wp-list-table tr.site-deleted { |
1473 background: #ff8573; |
1602 background: #ff8573; |
1474 } |
1603 } |
|
1604 .wp-list-table .site-spammed, |
1475 .wp-list-table tr.site-spammed { |
1605 .wp-list-table tr.site-spammed { |
1476 background: #faafaa; |
1606 background: #faafaa; |
1477 } |
1607 } |
|
1608 .wp-list-table .site-archived, |
1478 .wp-list-table tr.site-archived { |
1609 .wp-list-table tr.site-archived { |
1479 background: #ffebe8; |
1610 background: #ffebe8; |
1480 } |
1611 } |
|
1612 .wp-list-table .site-mature, |
1481 .wp-list-table tr.site-mature { |
1613 .wp-list-table tr.site-mature { |
1482 background: #fecac2; |
1614 background: #fecac2; |
|
1615 } |
|
1616 |
|
1617 .sites.fixed .column-lastupdated, |
|
1618 .sites.fixed .column-registered { |
|
1619 width: 20%; |
|
1620 } |
|
1621 |
|
1622 .sites.fixed .column-users { |
|
1623 width: 80px; |
1483 } |
1624 } |
1484 |
1625 |
1485 /* =Media Queries |
1626 /* =Media Queries |
1486 -------------------------------------------------------------- */ |
1627 -------------------------------------------------------------- */ |
1487 |
1628 |
1598 |
1755 |
1599 .comment-count { |
1756 .comment-count { |
1600 font-size: 14px; |
1757 font-size: 14px; |
1601 } |
1758 } |
1602 |
1759 |
1603 /* Columns to hide */ |
1760 .wp-list-table th.column-primary ~ th, |
1604 .fixed .column-date, |
1761 .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) { |
1605 .fixed .column-author, |
|
1606 .column-categories, |
|
1607 .column-tags, |
|
1608 .tags .column-description, |
|
1609 .media .column-parent, |
|
1610 .users .column-email, |
|
1611 .users .column-name, |
|
1612 .sites .column-registered, |
|
1613 .sites .column-users { |
|
1614 display: none; |
1762 display: none; |
|
1763 } |
|
1764 |
|
1765 .wp-list-table thead th.column-primary { |
|
1766 width: 100%; |
|
1767 } |
|
1768 |
|
1769 /* Checkboxes need to show */ |
|
1770 .wp-list-table tr th.check-column { |
|
1771 display: table-cell; |
|
1772 width: 35px; |
|
1773 } |
|
1774 |
|
1775 .wp-list-table .column-primary .toggle-row { |
|
1776 display: block; |
|
1777 } |
|
1778 |
|
1779 .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) { |
|
1780 position: relative; |
|
1781 clear: both; |
|
1782 display: block; |
|
1783 width: auto !important; /* needs to override some columns that are more specifically targeted */ |
|
1784 } |
|
1785 |
|
1786 .wp-list-table td.column-primary { |
|
1787 padding-left: 50px; /* space for toggle button */ |
|
1788 } |
|
1789 |
|
1790 .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) { |
|
1791 padding: 3px 35% 3px 8px; |
|
1792 } |
|
1793 |
|
1794 .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before { |
|
1795 position: absolute; |
|
1796 right: 10px; /* match padding of regular table cell */ |
|
1797 display: block; |
|
1798 overflow: hidden; |
|
1799 width: 32%; /* leave a little space for a gutter */ |
|
1800 content: attr(data-colname); |
|
1801 white-space: nowrap; |
|
1802 text-overflow: ellipsis; |
|
1803 } |
|
1804 |
|
1805 .wp-list-table .is-expanded td:not(.hidden) { |
|
1806 display: block !important; |
|
1807 overflow: hidden; /* clearfix */ |
|
1808 } |
|
1809 |
|
1810 /* Special cases */ |
|
1811 .widefat .num, |
|
1812 .column-posts { |
|
1813 text-align: right; |
|
1814 } |
|
1815 |
|
1816 #comments-form .fixed .column-author, |
|
1817 #commentsdiv .fixed .column-author { |
|
1818 display: none !important; |
1615 } |
1819 } |
1616 |
1820 |
1617 .fixed .column-comment .comment-author { |
1821 .fixed .column-comment .comment-author { |
1618 display: block; |
1822 display: block; |
1619 } |
1823 } |
1620 |
1824 |
1621 /* Posts */ |
1825 #the-comment-list .is-expanded td { |
1622 .column-title { |
1826 box-shadow: none; |
1623 width: 85%; |
1827 } |
1624 } |
1828 |
1625 |
1829 #the-comment-list .is-expanded td:last-child { |
1626 .fixed .column-comments, .widefat .check-column { |
1830 box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
1627 width: 35px |
1831 } |
1628 } |
1832 |
1629 |
1833 /* Show comment bubble as text instead */ |
1630 .widefat thead .check-column, .widefat tfoot .check-column { |
1834 .post-com-count .screen-reader-text { |
1631 padding: 10px 0 10px; |
1835 position: static; |
|
1836 -webkit-clip-path: none; |
|
1837 clip-path: none; |
|
1838 width: auto; |
|
1839 height: auto; |
|
1840 margin: 0; |
|
1841 } |
|
1842 |
|
1843 .column-response .post-com-count-no-comments:after, |
|
1844 .column-response .post-com-count-approved:after, |
|
1845 .column-comments .post-com-count-no-comments:after, |
|
1846 .column-comments .post-com-count-approved:after { |
|
1847 content: none; |
|
1848 } |
|
1849 |
|
1850 .column-response .post-com-count [aria-hidden="true"], |
|
1851 .column-comments .post-com-count [aria-hidden="true"] { |
|
1852 display: none; |
|
1853 } |
|
1854 |
|
1855 .column-response .post-com-count-wrapper, |
|
1856 .column-comments .post-com-count-wrapper { |
|
1857 white-space: normal; |
|
1858 } |
|
1859 |
|
1860 .column-response .post-com-count-wrapper > a, |
|
1861 .column-comments .post-com-count-wrapper > a { |
|
1862 display: block; |
|
1863 } |
|
1864 |
|
1865 .column-response .post-com-count-no-comments, |
|
1866 .column-response .post-com-count-approved, |
|
1867 .column-comments .post-com-count-no-comments, |
|
1868 .column-comments .post-com-count-approved { |
|
1869 margin-top: 0; |
|
1870 margin-left: 0.5em; |
|
1871 } |
|
1872 |
|
1873 .column-response .post-com-count-pending, |
|
1874 .column-comments .post-com-count-pending { |
|
1875 position: static; |
|
1876 height: auto; |
|
1877 min-width: 0; |
|
1878 padding: 0; |
|
1879 border: none; |
|
1880 border-radius: 0; |
|
1881 background: none; |
|
1882 color: #bb2a2a; |
|
1883 font-size: inherit; |
|
1884 line-height: inherit; |
|
1885 text-align: right; |
|
1886 } |
|
1887 |
|
1888 .column-response .post-com-count-pending:hover, |
|
1889 .column-comments .post-com-count-pending:hover { |
|
1890 color: #dc3232; |
|
1891 } |
|
1892 |
|
1893 .widefat thead td.check-column, |
|
1894 .widefat tfoot td.check-column { |
|
1895 padding-top: 10px; |
1632 } |
1896 } |
1633 |
1897 |
1634 .widefat * { |
1898 .widefat * { |
1635 word-wrap: normal; |
1899 word-wrap: normal; |
1636 } |
1900 } |
1746 |
2003 |
1747 .link-manager-php .tablenav.bottom { |
2004 .link-manager-php .tablenav.bottom { |
1748 overflow: hidden; |
2005 overflow: hidden; |
1749 } |
2006 } |
1750 |
2007 |
1751 /* Plugin/Theme Management Page */ |
2008 /* List tables that don't toggle rows */ |
1752 .wp-list-table.plugins { |
2009 .comments-box .toggle-row, |
1753 position: relative; |
2010 .wp-list-table.plugins .toggle-row { |
1754 margin-top: 35px; |
|
1755 margin-bottom: 50px; |
|
1756 } |
|
1757 |
|
1758 .wp-list-table.plugins thead .column-description, |
|
1759 #wpbody-content .wp-list-table.plugins tfoot .column-description, |
|
1760 .wp-list-table.plugins th#description { |
|
1761 display: none; |
2011 display: none; |
1762 } |
2012 } |
1763 |
2013 |
1764 #wpbody-content .wp-list-table.plugins, |
2014 /* Plugin/Theme Management */ |
1765 #wpbody-content .wp-list-table.plugins thead, |
2015 #wpbody-content .wp-list-table.plugins td { |
1766 #wpbody-content .wp-list-table.plugins tbody, |
|
1767 #wpbody-content .wp-list-table.plugins tr, |
|
1768 #wpbody-content .wp-list-table.plugins .column-description, |
|
1769 #wpbody-content .wp-list-table.plugins .plugin-title, |
|
1770 #wpbody-content .wp-list-table.plugins .theme-title, |
|
1771 #wpbody-content .wp-list-table.plugins .plugin-update, |
|
1772 #wpbody-content .wp-list-table.plugins .manage-column.column-name { |
|
1773 display: block; |
2016 display: block; |
1774 width: auto; |
2017 width: auto; |
1775 } |
2018 padding: 10px 9px; /* reset from other list tables that have a label at this width */ |
1776 |
2019 } |
1777 .wp-list-table.plugins thead, |
2020 |
1778 .wp-list-table.plugins tfoot { |
2021 #wpbody-content .wp-list-table.plugins .column-description { |
1779 position: absolute; |
2022 padding-top: 2px; |
1780 top: -35px; |
2023 } |
1781 right: 0; |
2024 |
1782 left: 0; |
2025 #wpbody-content .wp-list-table.plugins .plugin-title, |
1783 width: auto; |
2026 #wpbody-content .wp-list-table.plugins .theme-title { |
1784 height: 35px; |
2027 padding-left: 12px; |
1785 } |
2028 white-space: normal; |
1786 |
|
1787 .wp-list-table.plugins tfoot { |
|
1788 bottom: -35px; |
|
1789 top: auto; |
|
1790 } |
|
1791 |
|
1792 .active, .inactive { |
|
1793 padding-top: 0; |
|
1794 } |
2029 } |
1795 |
2030 |
1796 .wp-list-table.plugins .plugin-title, |
2031 .wp-list-table.plugins .plugin-title, |
1797 .wp-list-table.plugins .theme-title { |
2032 .wp-list-table.plugins .theme-title { |
1798 padding-top: 13px; |
2033 padding-top: 13px; |
1799 padding-bottom: 4px; |
2034 padding-bottom: 4px; |
1800 } |
2035 } |
1801 |
2036 |
1802 .plugins tr.active + tr.inactive th.check-column, |
2037 .plugins #the-list tr > td:not(:last-child), |
1803 .plugins tr.active + tr.inactive td, |
2038 .plugins #the-list .update th, |
1804 .wp-list-table.plugins .plugin-title, |
2039 .plugins #the-list .update td, |
1805 .wp-list-table.plugins .theme-title, |
2040 .wp-list-table.plugins #the-list .theme-title { |
1806 .wp-list-table.plugins tbody th { |
|
1807 -webkit-box-shadow: none; |
|
1808 box-shadow: none; |
2041 box-shadow: none; |
|
2042 border-top: none; |
|
2043 } |
|
2044 |
|
2045 .plugins #the-list tr td { |
|
2046 border-top: none; |
1809 } |
2047 } |
1810 |
2048 |
1811 .plugins tbody { |
2049 .plugins tbody { |
1812 padding: 1px 0 0; |
2050 padding: 1px 0 0; |
1813 } |
2051 } |
1814 |
2052 |
1815 .plugins tr.active + tr.inactive td.column-description { |
2053 .plugins tr.active + tr.inactive th.check-column, |
1816 -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
2054 .plugins tr.active + tr.inactive td.column-description, |
|
2055 .plugins .plugin-update-tr:before { |
1817 box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
2056 box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); |
1818 } |
2057 } |
1819 |
2058 |
1820 .plugins tr.active + tr.inactive th.check-column, |
2059 .plugins tr.active + tr.inactive th.check-column, |
1821 .plugins tr.active + tr.inactive td { |
2060 .plugins tr.active + tr.inactive td { |
1822 border-top: none; |
2061 border-top: none; |
1823 } |
2062 } |
1824 |
2063 |
1825 .wp-list-table.plugins .column-description { |
2064 /* mimic the checkbox th */ |
1826 padding-top: 0; |
2065 .plugins .plugin-update-tr:before { |
1827 } |
2066 content: ""; |
1828 |
2067 display: table-cell; |
1829 .wp-list-table.plugins .manage-column.column-name, |
2068 } |
1830 .wp-list-table.plugins .column-description, |
2069 |
1831 .wp-list-table.plugins .plugin-title, |
2070 .plugins .active.update + .plugin-update-tr:before { |
1832 .wp-list-table.plugins .theme-title { |
2071 border-right: 4px solid #d54e21; |
1833 padding-left: 12px; |
2072 background-color: #fef7f1; |
1834 padding-right: 46px; |
2073 } |
1835 } |
2074 |
1836 |
2075 .plugins #the-list .plugin-update-tr .plugin-update { |
1837 .wp-list-table.plugins tr { |
2076 border-right: none; |
1838 position: relative; |
2077 } |
1839 } |
2078 |
1840 |
2079 .plugin-update-tr .update-message { |
1841 .wp-list-table.plugins th.check-column, |
2080 margin-right: 0; |
1842 .wp-list-table.plugins tr.update th.check-column { |
2081 } |
1843 position: absolute; |
2082 |
1844 height: auto; |
2083 .plugins .active.update + .plugin-update-tr:before { |
1845 top: 0; |
2084 background-color: #f7fcfe; |
1846 bottom: 0; |
2085 border-right: 4px solid #00a0d2; |
1847 right: 0; |
2086 } |
1848 padding-right: 2px; |
2087 |
1849 padding-top: 18px; |
2088 .plugins .plugin-update-tr .update-message { |
1850 } |
2089 margin-right: 0; |
1851 |
|
1852 .wp-list-table.plugins thead th.check-column, |
|
1853 .wp-list-table.plugins tfoot th.check-column { |
|
1854 padding-right: 3px; |
|
1855 padding-top: 11px; |
|
1856 background: none; |
|
1857 } |
|
1858 |
|
1859 .widefat tbody th.check-column input[type="checkbox"] { |
|
1860 margin-top: -3px; |
|
1861 margin-right: 8px; |
|
1862 } |
|
1863 |
|
1864 .wp-list-table.plugins .active .check-column input, |
|
1865 .wp-list-table.plugins .update .check-column input { |
|
1866 margin-right: 5px; |
|
1867 } |
|
1868 |
|
1869 .wp-list-table.plugins thead .check-column input, |
|
1870 .wp-list-table.plugins tfoot .check-column input { |
|
1871 margin-top: -6px; |
|
1872 } |
|
1873 |
|
1874 .wp-list-table.plugins .active th.check-column { |
|
1875 background: none; |
|
1876 } |
2090 } |
1877 |
2091 |
1878 .wp-list-table.plugins .plugin-title strong, |
2092 .wp-list-table.plugins .plugin-title strong, |
1879 .wp-list-table.plugins .theme-title strong { |
2093 .wp-list-table.plugins .theme-title strong { |
1880 font-size: 1.4em; |
2094 font-size: 1.4em; |
1881 line-height: 1.6em; |
2095 line-height: 1.5; |
1882 } |
2096 } |
1883 |
2097 |
1884 /* Add New plugins page */ |
2098 /* Add New plugins page */ |
1885 table.plugin-install .column-name, |
2099 table.plugin-install .column-name, |
1886 table.plugin-install .column-version, |
2100 table.plugin-install .column-version, |