X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/8ab4a4532479e8db471032b51042ec8c4716d091..b925718b4bf2dd47a8429f844d0a255ca6e35bd1:/wp-admin/css/list-tables-rtl.css?ds=sidebyside diff --git a/wp-admin/css/list-tables-rtl.css b/wp-admin/css/list-tables-rtl.css index 7a7ea511..1df80f75 100644 --- a/wp-admin/css/list-tables-rtl.css +++ b/wp-admin/css/list-tables-rtl.css @@ -1,77 +1,125 @@ -/* List table styles */ -.post-com-count-wrapper { - min-width: 22px; -} - -.post-com-count { - background: none; - height: 1.3em; - line-height: 1.1em; +.response-links { display: block; - text-decoration: none; - padding: 0 0 6px; - cursor: pointer; - background-position: center -80px; - background-repeat: no-repeat; - color: #fff; + margin-bottom: 1em; } -.post-com-count:after { /* draw bubble connector using CSS! */ - content: ""; +.response-links a { display: block; - width: 0; - height: 0; - margin-right: 8px; - border-top: 5px solid #b4b9be; - border-left: 5px solid transparent; } -.post-com-count span { - font-size: 11px; +.response-links a.comments-edit-item-link { font-weight: 600; - height: 1.4em; - line-height: 1.4em; - min-width: 0.7em; - padding: 0 6px; +} + +.response-links a.comments-view-item-link { + font-size: 12px; +} + +.post-com-count-wrapper strong { + font-weight: 400; +} + +.comments-view-item-link { display: inline-block; - -webkit-border-radius: 5px; - border-radius: 5px; - background-color: #b4b9be; - color: #fff; + clear: both; } -.post-com-count:hover { - background-position: center -3px; +.column-response .post-com-count-wrapper, +.column-comments .post-com-count-wrapper { + white-space: nowrap; + word-wrap: normal; } -.post-com-count:hover span { - background-color: #00a0d2; +/* comments bubble common */ +.column-response .post-com-count, +.column-comments .post-com-count { + display: inline-block; + vertical-align: top; } -.post-com-count:hover:after { - border-top: 5px solid #00a0d2; +/* comments bubble approved */ +.column-response .post-com-count-no-comments, +.column-response .post-com-count-approved, +.column-comments .post-com-count-no-comments, +.column-comments .post-com-count-approved { + margin-top: 5px; } -strong .post-com-count { - background-position: center -55px; +.column-response .comment-count-no-comments, +.column-response .comment-count-approved, +.column-comments .comment-count-no-comments, +.column-comments .comment-count-approved { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + display: block; + padding: 0 8px; + min-width: 24px; + height: 2em; + -webkit-border-radius: 5px; + border-radius: 5px; + background-color: #72777c; + color: #fff; + font-size: 11px; + line-height: 21px; + text-align: center; } -strong .post-com-count span { - background-color: #0073aa; +.ie8 .column-response .comment-count-no-comments, +.ie8 .column-response .comment-count-approved, +.ie8 .column-comments .comment-count-no-comments, +.ie8 .column-comments .comment-count-approved { + min-width: 0; } -strong .post-com-count:after { - border-top: 5px solid #0073aa; +.column-response .post-com-count-no-comments:after, +.column-response .post-com-count-approved:after, +.column-comments .post-com-count-no-comments:after, +.column-comments .post-com-count-approved:after { + content: ""; + display: block; + margin-right: 8px; + width: 0; + height: 0; + border-top: 5px solid #72777c; + border-left: 5px solid transparent; } -.column-response .post-com-count { - float: right; - margin-left: 5px; +.column-response .post-com-count-approved:hover .comment-count-approved, +.column-response .post-com-count-approved:focus .comment-count-approved, +.column-comments .post-com-count-approved:hover .comment-count-approved, +.column-comments .post-com-count-approved:focus .comment-count-approved { + background: #0073aa; +} + +.column-response .post-com-count-approved:hover:after, +.column-response .post-com-count-approved:focus:after, +.column-comments .post-com-count-approved:hover:after, +.column-comments .post-com-count-approved:focus:after { + border-top-color: #0073aa; +} + +/* comments bubble pending */ +.column-response .post-com-count-pending, +.column-comments .post-com-count-pending { + position: relative; + right: -3px; + padding: 0 5px; + min-width: 7px; + height: 17px; + border: 2px solid #fff; + -webkit-border-radius: 11px; + border-radius: 11px; + background: #ca4a1f; + color: #fff; + font-size: 9px; + line-height: 17px; text-align: center; } -.response-links { - float: right; +.column-response .post-com-count-no-pending, +.column-comments .post-com-count-no-pending { + display: none; } /* comments */ @@ -94,7 +142,7 @@ strong .post-com-count:after { #submitted-on, .submitted-on { - color: #777; + color: #555d66; } /* reply to comments */ @@ -104,7 +152,8 @@ strong .post-com-count:after { #replysubmit { margin: 0; - padding: 0 5px 3px; + padding: 5px 7px 10px; + overflow: hidden; text-align: center; } @@ -118,14 +167,27 @@ strong .post-com-count:after { text-align: center; } -#replyrow h5 { - margin: .2em 0 0; - padding: 0 5px; - line-height: 1.4em; - font-size: 1em; +#replyrow.inline-edit-row fieldset.comment-reply { + font-size: inherit; + line-height: inherit; } -#edithead .inside { +#replyrow legend { + margin: 0; + padding: .2em 5px 0; + font-size: 13px; + line-height: 1.4; + font-weight: 600; +} + +#replyrow.inline-edit-row label { + display: inline; + vertical-align: baseline; + line-height: inherit; +} + +#edithead .inside, +#commentsdiv #edithead .inside { float: right; padding: 3px 5px 2px 0; margin: 0; @@ -160,13 +222,9 @@ strong .post-com-count:after { vertical-align: text-top; } -#the-comment-list .attachment-80x60 { - padding: 4px 8px; -} - #the-comment-list tr.undo, #the-comment-list div.undo { - background-color: #f4f4f4; + background-color: #f5f5f5; } #the-comment-list .unapproved th, @@ -220,8 +278,8 @@ th .comment-grey-bubble { } th .comment-grey-bubble:before { - content: '\f101'; - font: normal 20px/.5 'dashicons'; + content: "\f101"; + font: normal 20px/.5 dashicons; speak: none; display: inline-block; padding: 0; @@ -258,7 +316,7 @@ table.fixed { } .fixed .column-posts { - width: 74px; + width: 74px; } .fixed .column-comment .comment-author { @@ -282,7 +340,7 @@ table.fixed { } .fixed .column-comments { - width: 4em; + width: 5.5em; padding: 8px 0; text-align: right; } @@ -291,12 +349,37 @@ table.fixed { padding-right: 3px; } -.fixed .column-comments a { +td.column-title strong, +td.plugin-title strong { + display: block; + margin-bottom: .2em; + font-size: 14px; +} + +td.column-title p, +td.plugin-title p { + margin: 6px 0; +} + +/* Media file column */ +table.media .column-title .media-icon { float: right; + min-height: 60px; + margin: 0 0 0 9px; } -.fixed .column-icon { - width: 80px; +table.media .column-title .media-icon img { + max-width: 60px; + height: auto; + vertical-align: top; /* Remove descender white-space. */ +} + +table.media .column-title .has-media-icon ~ .row-actions { + margin-right: 70px; /* 60px image + margin */ +} + +table.media .column-title .filename { + margin-bottom: 0.2em; } /* @todo: pick a consistent list table selector */ @@ -316,6 +399,10 @@ table.fixed { width: 20%; } +#comments-form .fixed .column-date { + width: 14%; +} + #commentsdiv.postbox .inside { margin: 0; padding: 0; @@ -347,7 +434,8 @@ table.fixed { border: 0 none; } -#commentsdiv .comments-box thead th { +#commentsdiv .comments-box thead th, +#commentsdiv .comments-box thead td { background: transparent; padding: 0 7px 4px; font-style: italic; @@ -357,8 +445,13 @@ table.fixed { border-bottom: 0 none; } +#commentsdiv #edithead .inside input { + width: 160px; +} + .sorting-indicator { - display: none; + display: block; + visibility: hidden; width: 10px; height: 4px; margin-top: 8px; @@ -366,9 +459,8 @@ table.fixed { } .sorting-indicator:before { - background: none; - content: '\f142'; - font: normal 20px/1 'dashicons'; + content: "\f142"; + font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0; @@ -390,13 +482,71 @@ table.fixed { } th.sorted.asc .sorting-indicator:before, -th.desc:hover span.sorting-indicator:before { - content: '\f142'; +th.desc:hover span.sorting-indicator:before, +th.desc a:focus span.sorting-indicator:before { + content: "\f142"; } th.sorted.desc .sorting-indicator:before, -th.asc:hover span.sorting-indicator:before { - content: '\f140'; +th.asc:hover span.sorting-indicator:before, +th.asc a:focus span.sorting-indicator:before { + content: "\f140"; +} + +.wp-list-table .toggle-row { + position: absolute; + left: 8px; + top: 10px; + display: none; + padding: 0; + width: 40px; + height: 40px; + border: none; + outline: none; + background: transparent; +} + +.wp-list-table .toggle-row:hover { + cursor: pointer; +} + +.wp-list-table .toggle-row:focus:before { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); +} + +.ie8 .wp-list-table .toggle-row:focus:before { + outline: #5b9dd9 solid 1px; +} + +.wp-list-table .toggle-row:active { + -webkit-box-shadow: none; + box-shadow: none; +} + +.wp-list-table .toggle-row:before { + position: absolute; + top: -5px; + right: 10px; + -webkit-border-radius: 50%; + border-radius: 50%; + display: block; + padding: 1px 0 1px 2px; + color: #444; /* same as table headers sort arrows */ + content: "\f140"; + font: normal 20px/1 dashicons; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + speak: none; +} + +.wp-list-table .is-expanded .toggle-row:before { + content: "\f142"; } tr.wp-locked .locked-indicator { @@ -407,10 +557,10 @@ tr.wp-locked .locked-indicator { tr.wp-locked .locked-indicator:before { color: #82878c; - content: '\f160'; + content: "\f160"; display: inline-block; float: right; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; vertical-align: middle; margin-right: 0; @@ -462,7 +612,7 @@ th.sortable a, th.sorted a { display: block; overflow: hidden; - padding: 7px 10px 8px 7px; + padding: 8px; } .fixed .column-comments.sortable a, @@ -476,29 +626,33 @@ th.sorted a span { cursor: pointer; } -th.sorted.asc .sorting-indicator, -th.desc:hover span.sorting-indicator { - display: block; - background-position: 100% 0; -} - -th.sorted.desc .sorting-indicator, -th.asc:hover span.sorting-indicator { - display: block; - background-position: -7px 0; +th.sorted .sorting-indicator, +th.desc:hover span.sorting-indicator, +th.desc a:focus span.sorting-indicator, +th.asc:hover span.sorting-indicator, +th.asc a:focus span.sorting-indicator { + visibility: visible; } /* Bulk Actions */ -.tablenav-pages a { +.tablenav-pages a, +.tablenav-pages-navspan { font-weight: 600; - margin-left: 1px; padding: 0 2px; } + .tablenav-pages .current-page { - padding-top: 0; + margin: 0 0 0 2px; + padding-bottom: 5px; + font-size: 13px; text-align: center; } -.tablenav-pages .next-page { + +.tablenav .total-pages { + margin-left: 2px; +} + +.tablenav #table-paging { margin-right: 2px; } @@ -520,12 +674,10 @@ th.asc:hover span.sorting-indicator { .tablenav .tablenav-pages { float: left; - display: block; + height: 28px; + margin-top: 3px; cursor: default; - height: 30px; color: #555; - line-height: 30px; - font-size: 12px; } .tablenav .no-pages, @@ -539,34 +691,44 @@ th.asc:hover span.sorting-indicator { padding: 3px 6px; } -.tablenav .tablenav-pages a { - padding: 0 10px 3px; - background: #eee; - background: rgba( 0, 0, 0, 0.05 ); +.tablenav .tablenav-pages a, +.tablenav-pages-navspan { + display: inline-block; + min-width: 17px; + border: 1px solid #ccc; /* same color as buttons border */ + padding: 3px 5px 7px; + background: #e5e5e5; font-size: 16px; + line-height: 1; font-weight: normal; + text-align: center; +} + +.tablenav-pages-navspan { + height: 16px; + border-color: #ddd; /* same as disabled buttons */ + background: #f7f7f7; /* same as disabled buttons */ + color: #a0a5aa; /* same as disabled buttons */ } .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { + border-color: #5b9dd9; color: #fff; background: #00a0d2; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; /* IE8 */ } -.tablenav .tablenav-pages a.disabled, -.tablenav .tablenav-pages a.disabled:hover, -.tablenav .tablenav-pages a.disabled:focus, -.tablenav .tablenav-pages a.disabled:active { - color: #a0a5aa; - background: #eee; - background: rgba( 0, 0, 0, 0.05 ); +.tablenav .displaying-num { + margin-left: 7px; } -.tablenav .displaying-num { - margin-left: 2px; - color: #777; - font-size: 12px; - font-style: italic; +.tablenav .one-page .displaying-num { + display: inline-block; + margin-top: 5px; + margin-left: 0; } .tablenav .actions { @@ -603,43 +765,42 @@ classes exist in paginate_links() but not seen in list table output. */ .tablenav .view-switch { float: left; - margin: 5px 8px 0 16px; + margin: 0 5px; + padding-top: 3px; } .wp-filter .view-switch { display: inline-block; vertical-align: middle; - padding: 15px 0; - margin: 0 0 0 20px; + padding: 12px 0; + margin: 0 2px 0 8px; } -.view-switch a { - text-decoration: none; +.media-toolbar.wp-filter .view-switch { + margin: 0 2px 0 12px; } -.view-switch > a { - display: inline-block; - width: 18px; - height: 18px; +.view-switch a { + float: right; + width: 28px; + height: 28px; + text-align: center; + line-height: 24px; + text-decoration: none; } -.view-switch > a:before { +.view-switch a:before { color: #b4b9be; display: inline-block; - float: right; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; vertical-align: middle; - margin-right: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } -.view-switch > .view-list:before { - content: '\f163'; -} - -.view-switch a:hover:before { +.view-switch a:hover:before, +.view-switch a:focus:before { color: #727272; } @@ -647,16 +808,16 @@ classes exist in paginate_links() but not seen in list table output. */ color: #0073aa; } -.view-switch > a + a { - margin-right: 5px; +.view-switch .view-list:before { + content: "\f163"; } -.view-switch > .view-excerpt:before { - content: '\f164'; +.view-switch .view-excerpt:before { + content: "\f164"; } -.view-switch > .view-grid:before { - content: '\f509'; +.view-switch .view-grid:before { + content: "\f509"; } .filter { @@ -716,15 +877,27 @@ p.pagenav { .row-actions { color: #ddd; font-size: 13px; - visibility: hidden; padding: 2px 0 0; + position: relative; + right: -9999em; } +/* ticket #34150 */ +.rtl .row-actions a { + display: inline-block; +} + +.row-actions .network_only, +.row-actions .network_active { + color: #000; +} + +.no-js .row-actions, tr:hover .row-actions, .mobile .row-actions, .row-actions.visible, -div.comment-item:hover .row-actions { - visibility: visible; +.comment-item:hover .row-actions { + position: static; } /* deprecated */ @@ -758,11 +931,6 @@ tr.inline-edit-row td, padding: 0 0.5em; } -#wpbody-content .quick-edit-row-page fieldset.inline-edit-col-right .inline-edit-col { - border-width: 0 1px 0 0; - border-style: none solid none none; -} - #wpbody-content .quick-edit-row-post .inline-edit-col-left { width: 40%; } @@ -806,14 +974,6 @@ tr.inline-edit-row td, line-height: 2.5; } -.inline-edit-row fieldset .inline-edit-group:after { - content: "."; - display: block; - height: 0; - clear: both; - visibility: hidden; -} - .inline-edit-row p.submit { clear: both; padding: 0.5em; @@ -827,11 +987,19 @@ tr.inline-edit-row td, } /* Positioning */ -.inline-edit-row h4 { - margin: .2em 0; - padding: 0; + +/* Needs higher specificity for the padding */ +#the-list .inline-edit-row .inline-edit-legend { + margin: 0; + padding: 0.2em 0.5em 0; line-height: 2.5; + font-weight: 600; +} + +#the-list #bulk-edit.inline-edit-row .inline-edit-legend { + padding: 0.2em 0.5em; } + .inline-edit-row fieldset span.title, .inline-edit-row fieldset span.checkbox-title { margin: 0; @@ -845,6 +1013,13 @@ tr.inline-edit-row td, line-height: 2.5; } +.inline-edit-row fieldset.inline-edit-date label { + display: inline-block; + margin: 0; + line-height: 1.5; + vertical-align: baseline; +} + .inline-edit-row fieldset label.inline-edit-tags { margin-top: 0; } @@ -854,16 +1029,27 @@ tr.inline-edit-row td, width: auto; } -.inline-edit-row fieldset label span.title { +.inline-edit-row fieldset label span.title, +.inline-edit-row fieldset.inline-edit-date legend { display: block; float: right; - width: 5em; + width: 6em; line-height: 2.5; } -.inline-edit-row fieldset label span.input-text-wrap { +#posts-filter fieldset.inline-edit-date legend { + padding: 0; +} + +.inline-edit-row fieldset.inline-edit-date select { + margin: 1px; + line-height: 28px; +} + +.inline-edit-row fieldset label span.input-text-wrap, +.inline-edit-row fieldset .timestamp-wrap { display: block; - margin-right: 5em; + margin-right: 6em; } .quick-edit-row-post fieldset.inline-edit-col-right label span.title { @@ -903,7 +1089,7 @@ tr.inline-edit-row td, } /* Styling */ -.inline-edit-row h4 { +.inline-edit-row .inline-edit-legend { text-transform: uppercase; } @@ -1021,25 +1207,16 @@ ul.cat-checklist { margin-top: 4px; } -#update-plugins-table tbody td p { +.updates-table .plugin-title p { margin-top: 0; } -#update-plugins-table tbody td p strong { - font-size: 14px; -} - -.plugins thead th.check-column, -.plugins tfoot th.check-column, +.plugins thead td.check-column, +.plugins tfoot td.check-column, .plugins .inactive th.check-column { padding-right: 6px; } -#update-plugins-table thead th.check-column, -#update-plugins-table tfoot th.check-column { - padding-top: 11px; -} - .plugins, .plugins th, .plugins td { @@ -1154,6 +1331,11 @@ tr.active.update + tr.plugin-update-tr .plugin-update { white-space:nowrap; } +.updates-table-screenshot { + float:right; + padding: 0 0 5px 10px; +} + .plugins .inactive .plugin-title strong { font-weight: 400; } @@ -1179,9 +1361,8 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-update-tr .update-message { font-size: 13px; font-weight: normal; - margin: 6px 12px 12px; - padding: 6px 12px; margin: 0 31px 8px 10px; + padding: 6px 40px 8px 12px; background-color: #f7f7f7; background-color: rgba(0,0,0,0.03); } @@ -1191,7 +1372,7 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-card .install-now:before { color: #d54e21; display: inline-block; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -1200,11 +1381,11 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-update-tr .update-message:before, .plugin-card .update-now:before { - content: '\f463'; + content: "\f463"; } .plugin-update-tr .update-message:before { - margin: 0 -2px 0 8px; + margin: 0 -30px 0 10px; } .plugin-card .update-now:before, @@ -1214,7 +1395,7 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-update-tr .updating-message:before, .plugin-card .updating-message:before { - content: '\f463'; + content: "\f463"; -webkit-animation: rotation 2s infinite linear; animation: rotation 2s infinite linear; } @@ -1244,12 +1425,12 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-update-tr .updated-message:before, .plugin-card .updated-message:before { color: #79ba49; - content: '\f147'; + content: "\f147"; } -.plugins .plugin-update-tr .plugin-update { +.wp-list-table.plugins tbody tr.plugin-update-tr td.plugin-update { + overflow: hidden; /* clearfix */ padding: 0; - border: none; -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); } @@ -1263,11 +1444,11 @@ tr.active + tr.plugin-update-tr:not(.updated) .plugin-update .update-message { background-color: #fcf3ef; } -.plugin-install-php h3 { +.plugin-install-php h2 { clear: both; } -.plugin-install-php h4 { +.plugin-install-php h3 { margin: 2.5em 0 8px; } @@ -1292,7 +1473,7 @@ tr.active + tr.plugin-update-tr:not(.updated) .plugin-update .update-message { width: -webkit-calc( 50% - 8px ); width: calc( 50% - 8px ); background-color: #fff; - border: 1px solid #dedede; + border: 1px solid #ddd; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; @@ -1333,14 +1514,6 @@ tr.active + tr.plugin-update-tr:not(.updated) .plugin-update .update-message { } } -@media screen and ( max-width: 782px ) { - .plugin-card { - margin-right: 0; - margin-left: 0; - width: 100%; - } -} - .plugin-card-top { position: relative; padding: 20px 20px 10px; @@ -1352,7 +1525,7 @@ div.action-links, margin: 0; /* Override existing margins */ } -.plugin-card h4 { +.plugin-card h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; @@ -1387,7 +1560,7 @@ div.action-links, clear: both; padding: 12px 20px; background-color: #fafafa; - border-top: 1px solid #dedede; + border-top: 1px solid #ddd; overflow: hidden; } @@ -1395,6 +1568,21 @@ div.action-links, display: inline; } +.plugin-card-update-failed .update-now { + font-weight: 600; +} + +.plugin-card-update-failed .notice-error { + margin: 0; + padding-right: 16px; + -webkit-box-shadow: 0 -1px 0 #ddd; + box-shadow: 0 -1px 0 #ddd; +} + +.plugin-card-update-failed .plugin-card-bottom { + display: none; +} + .plugin-card .column-rating { line-height: 23px; } @@ -1422,7 +1610,7 @@ div.action-links, } .plugin-card .column-compatibility span:before { - font: normal 20px/.5 'dashicons'; + font: normal 20px/.5 dashicons; speak: none; display: inline-block; padding: 0; @@ -1437,11 +1625,11 @@ div.action-links, } .plugin-card .compatibility-incompatible:before { - content: '\f158'; + content: "\f158"; } .plugin-card .compatibility-compatible:before { - content: '\f147'; + content: "\f147"; } .plugin-icon { @@ -1453,13 +1641,8 @@ div.action-links, margin: 0 0 20px 20px; } -.plugin-icon img { - width: 128px; - height: 128px; -} - .no-plugin-results { - color: #999; + color: #666; /* same as no themes and no media */ font-size: 18px; font-style: normal; margin: 0; @@ -1469,19 +1652,32 @@ div.action-links, /* ms */ /* Background Color for Site Status */ +.wp-list-table .site-deleted, .wp-list-table tr.site-deleted { background: #ff8573; } +.wp-list-table .site-spammed, .wp-list-table tr.site-spammed { background: #faafaa; } +.wp-list-table .site-archived, .wp-list-table tr.site-archived { background: #ffebe8; } +.wp-list-table .site-mature, .wp-list-table tr.site-mature { background: #fecac2; } +.sites.fixed .column-lastupdated, +.sites.fixed .column-registered { + width: 20%; +} + +.sites.fixed .column-users { + width: 80px; +} + /* =Media Queries -------------------------------------------------------------- */ @@ -1515,6 +1711,10 @@ div.action-links, .plugin-card .desc p:first-of-type { margin-top: 0; } + + .fixed .column-date { + width: 14%; + } } @media screen and ( max-width: 782px ) { @@ -1545,6 +1745,12 @@ div.action-links, display: none; } + .view-switch a { + width: 36px; + height: 36px; + line-height: 33px; + } + /* Pagination */ .tablenav.top .displaying-num { display: none; @@ -1553,12 +1759,14 @@ div.action-links, .tablenav.bottom .displaying-num { position: absolute; left: 0; - top: 10px; + top: 11px; + margin: 0; font-size: 14px; } - .tablenav-pages { + .tablenav .tablenav-pages { width: 100%; + height: auto; text-align: center; margin: 0 0 25px; } @@ -1576,19 +1784,23 @@ div.action-links, height: 0; } - .tablenav-pages .pagination-links .paging-input { - font-size: 18px; + .tablenav-pages .pagination-links { + font-size: 16px; } - .tablenav-pages .pagination-links a { - padding: 8px 20px 11px; + .tablenav-pages .pagination-links a, + .tablenav-pages-navspan { + padding: 9px 11px 12px; font-size: 18px; - background: rgba(0, 0, 0, 0.05); + } + + .tablenav-pages-navspan { + height: 18px; } .tablenav-pages .pagination-links .current-page { - padding: 10px; - font-size: 14px; + padding: 8px 9px 9px; + font-size: 16px; } /* WP List Table Adjustments: General */ @@ -1600,35 +1812,143 @@ div.action-links, font-size: 14px; } - /* Columns to hide */ - .fixed .column-date, - .fixed .column-author, - .column-categories, - .column-tags, - .tags .column-description, - .media .column-parent, - .users .column-email, - .users .column-name, - .sites .column-registered, - .sites .column-users { + .wp-list-table th.column-primary ~ th, + .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) { display: none; } + .wp-list-table thead th.column-primary { + width: 100%; + } + + /* Checkboxes need to show */ + .wp-list-table tr th.check-column { + display: table-cell; + width: 35px; + } + + .wp-list-table .column-primary .toggle-row { + display: block; + } + + .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) { + position: relative; + clear: both; + display: block; + width: auto !important; /* needs to override some columns that are more specifically targeted */ + } + + .wp-list-table td.column-primary { + padding-left: 50px; /* space for toggle button */ + } + + .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) { + padding: 3px 35% 3px 8px; + } + + .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before { + position: absolute; + right: 10px; /* match padding of regular table cell */ + display: block; + overflow: hidden; + width: 32%; /* leave a little space for a gutter */ + content: attr(data-colname); + white-space: nowrap; + text-overflow: ellipsis; + } + + .wp-list-table .is-expanded td:not(.hidden) { + display: block !important; + overflow: hidden; /* clearfix */ + } + + /* Special cases */ + .widefat .num, + .column-posts { + text-align: right; + } + + #comments-form .fixed .column-author, + #commentsdiv .fixed .column-author { + display: none !important; + } + .fixed .column-comment .comment-author { display: block; } - /* Posts */ - .column-title { - width: 85%; + #the-comment-list .is-expanded td { + -webkit-box-shadow: none; + box-shadow: none; } - .fixed .column-comments, .widefat .check-column { - width: 35px + #the-comment-list .is-expanded td:last-child { + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); + } + + /* Show comment bubble as text instead */ + .post-com-count .screen-reader-text { + position: static; + width: auto; + height: auto; + margin: 0; } - .widefat thead .check-column, .widefat tfoot .check-column { - padding: 10px 0 10px; + .column-response .post-com-count-no-comments:after, + .column-response .post-com-count-approved:after, + .column-comments .post-com-count-no-comments:after, + .column-comments .post-com-count-approved:after { + content: none; + } + + .column-response .post-com-count [aria-hidden="true"], + .column-comments .post-com-count [aria-hidden="true"] { + display: none; + } + + .column-response .post-com-count-wrapper, + .column-comments .post-com-count-wrapper { + white-space: normal; + } + + .column-response .post-com-count-wrapper > a, + .column-comments .post-com-count-wrapper > a { + display: block; + } + + .column-response .post-com-count-no-comments, + .column-response .post-com-count-approved, + .column-comments .post-com-count-no-comments, + .column-comments .post-com-count-approved { + margin-top: 0; + margin-left: 0.5em; + } + + .column-response .post-com-count-pending, + .column-comments .post-com-count-pending { + position: static; + height: auto; + min-width: 0; + padding: 0; + border: none; + -webkit-border-radius: 0; + border-radius: 0; + background: none; + color: #bb2a2a; + font-size: inherit; + line-height: inherit; + text-align: right; + } + + .column-response .post-com-count-pending:hover, + .column-comments .post-com-count-pending:hover { + color: #dc3232; + } + + .widefat thead td.check-column, + .widefat tfoot td.check-column { + padding-top: 10px; } .widefat * { @@ -1672,7 +1992,8 @@ div.action-links, font-size: 16px; } - .inline-edit-row fieldset label span.title { + .inline-edit-row fieldset label span.title, + .inline-edit-row fieldset.inline-edit-date legend { float: none; } @@ -1684,7 +2005,8 @@ div.action-links, padding: 0; } - .inline-edit-row fieldset label span.input-text-wrap { + .inline-edit-row fieldset label span.input-text-wrap, + .inline-edit-row fieldset .timestamp-wrap { margin-right: 0; } @@ -1702,41 +2024,34 @@ div.action-links, margin: 0 0 0 6px; } - #bulk-titles div { - margin: 0.8em 0.3em; - } - - #bulk-titles div a { - height: 22px; - } - - /* Taxonomies */ - .tags .column-posts { - width: 74px; + #edithead .inside, + #commentsdiv #edithead .inside { + float: none; + text-align: right; + padding: 3px 5px; } - .tags .column-slug { - width: 30%; + #commentsdiv #edithead .inside input, + #edithead .inside input { + width: 100%; } - /* Comments */ - .comments .column-response { - width: 35%; + #edithead label { + display: block; } - /* Users */ - .users .column-role { - width: 35%; + #bulk-titles div { + margin: 0.8em 0.3em; } - /* Network admin sites */ - .sites .column-blogname { - width: 55%; + #bulk-titles div a { + height: 22px; } /* Updates */ - #wpbody-content #update-themes-table .plugin-title { + #wpbody-content .updates-table .plugin-title { width: auto; + white-space: normal; } /* Links */ @@ -1748,49 +2063,27 @@ div.action-links, overflow: hidden; } - /* Plugin/Theme Management Page */ - .wp-list-table.plugins { - position: relative; - margin-top: 35px; - margin-bottom: 50px; - } - - .wp-list-table.plugins thead .column-description, - #wpbody-content .wp-list-table.plugins tfoot .column-description, - .wp-list-table.plugins th#description { + /* List tables that don't toggle rows */ + .comments-box .toggle-row, + .wp-list-table.plugins .toggle-row { display: none; } - #wpbody-content .wp-list-table.plugins, - #wpbody-content .wp-list-table.plugins thead, - #wpbody-content .wp-list-table.plugins tbody, - #wpbody-content .wp-list-table.plugins tr, - #wpbody-content .wp-list-table.plugins .column-description, - #wpbody-content .wp-list-table.plugins .plugin-title, - #wpbody-content .wp-list-table.plugins .theme-title, - #wpbody-content .wp-list-table.plugins .plugin-update, - #wpbody-content .wp-list-table.plugins .manage-column.column-name { + /* Plugin/Theme Management */ + #wpbody-content .wp-list-table.plugins td { display: block; width: auto; + padding: 10px 9px; /* reset from other list tables that have a label at this width */ } - .wp-list-table.plugins thead, - .wp-list-table.plugins tfoot { - position: absolute; - top: -35px; - right: 0; - left: 0; - width: auto; - height: 35px; - } - - .wp-list-table.plugins tfoot { - bottom: -35px; - top: auto; + #wpbody-content .wp-list-table.plugins .column-description { + padding-top: 2px; } - .active, .inactive { - padding-top: 0; + #wpbody-content .wp-list-table.plugins .plugin-title, + #wpbody-content .wp-list-table.plugins .theme-title { + padding-left: 12px; + white-space: normal; } .wp-list-table.plugins .plugin-title, @@ -1799,20 +2092,26 @@ div.action-links, padding-bottom: 4px; } - .plugins tr.active + tr.inactive th.check-column, - .plugins tr.active + tr.inactive td, - .wp-list-table.plugins .plugin-title, - .wp-list-table.plugins .theme-title, - .wp-list-table.plugins tbody th { + .plugins #the-list tr > td:not(:last-child), + .plugins #the-list .update th, + .plugins #the-list .update td, + .wp-list-table.plugins #the-list .theme-title { -webkit-box-shadow: none; box-shadow: none; + border-top: none; + } + + .plugins #the-list tr td { + border-top: none; } .plugins tbody { padding: 1px 0 0; } - .plugins tr.active + tr.inactive td.column-description { + .plugins tr.active + tr.inactive th.check-column, + .plugins tr.active + tr.inactive td.column-description, + .plugins .plugin-update-tr:before { -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); } @@ -1822,63 +2121,29 @@ div.action-links, border-top: none; } - .wp-list-table.plugins .column-description { - padding-top: 0; + /* mimic the checkbox th */ + .plugins .plugin-update-tr:before { + content: ""; + display: table-cell; } - .wp-list-table.plugins .manage-column.column-name, - .wp-list-table.plugins .column-description, - .wp-list-table.plugins .plugin-title, - .wp-list-table.plugins .theme-title { - padding-left: 12px; - padding-right: 46px; + .plugins .active.update + .plugin-update-tr:before { + border-right: 4px solid #d54e21; + background-color: #fef7f1; } - .wp-list-table.plugins tr { - position: relative; + .plugins #the-list .plugin-update-tr .plugin-update { + border-right: none; } - .wp-list-table.plugins th.check-column, - .wp-list-table.plugins tr.update th.check-column { - position: absolute; - height: auto; - top: 0; - bottom: 0; - right: 0; - padding-right: 2px; - padding-top: 18px; - } - - .wp-list-table.plugins thead th.check-column, - .wp-list-table.plugins tfoot th.check-column { - padding-right: 3px; - padding-top: 11px; - background: none; - } - - .widefat tbody th.check-column input[type="checkbox"] { - margin-top: -3px; - margin-right: 8px; - } - - .wp-list-table.plugins .active .check-column input, - .wp-list-table.plugins .update .check-column input { - margin-right: 5px; - } - - .wp-list-table.plugins thead .check-column input, - .wp-list-table.plugins tfoot .check-column input { - margin-top: -6px; - } - - .wp-list-table.plugins .active th.check-column { - background: none; + .plugin-update-tr .update-message { + margin-right: 0; } .wp-list-table.plugins .plugin-title strong, .wp-list-table.plugins .theme-title strong { font-size: 1.4em; - line-height: 1.6em; + line-height: 1.5; } /* Add New plugins page */ @@ -1912,14 +2177,10 @@ div.action-links, -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); } -} -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Remove slug column from taxonomy list page - and role column from users list page */ - .tags .column-slug, - .users .column-role { - display: none; + .plugin-card { + margin-right: 0; + margin-left: 0; + width: 100%; } }