Index: src/wp-admin/css/common.css =================================================================== --- src/wp-admin/css/common.css (revision 31812) +++ src/wp-admin/css/common.css (working copy) @@ -468,11 +468,13 @@ padding: 8px 10px; } -.widefat thead th { +.widefat thead th, +.widefat thead .th { border-bottom: 1px solid #e1e1e1; } -.widefat tfoot th { +.widefat tfoot th, +.widefat tfoot .th { border-top: 1px solid #e1e1e1; border-bottom: none; } @@ -493,13 +495,15 @@ line-height: 1.5em; } -.widefat th { +.widefat th, +.widefat .th { text-align: left; line-height: 1.3em; font-size: 14px; } -.widefat th input { +.widefat th input, +.widefat .th input { margin: 0 0 0 8px; padding: 0; vertical-align: text-top; @@ -511,7 +515,8 @@ vertical-align: top; } -.widefat th input[type=checkbox] { +.widefat th input[type=checkbox], +.widefat .th input[type=checkbox] { margin-top: -1px; } @@ -523,13 +528,13 @@ padding-top: 8px; } -.widefat thead th.check-column, +.widefat thead .th.check-column, .widefat tbody th.check-column, -.widefat tfoot th.check-column { +.widefat tfoot .th.check-column { padding: 11px 0 0 3px; } -.widefat thead th.check-column { +.widefat thead .th.check-column { padding-top: 10px; } @@ -709,7 +714,9 @@ .side-info, #your-profile #rich_editing, .widefat thead th, -.widefat tfoot th { +.widefat thead .th, +.widefat tfoot th, +.widefat tfoot .th { line-height: 1.4em; } @@ -1660,12 +1667,15 @@ color: #555; } -.widefat th { +.widefat th, +.widefat .th { font-weight: normal; } .widefat thead tr th, -.widefat tfoot tr th { +.widefat thead tr .th, +.widefat tfoot tr th, +.widefat tfoot tr .th { color: #32373c; } Index: src/wp-admin/css/forms.css =================================================================== --- src/wp-admin/css/forms.css (revision 31812) +++ src/wp-admin/css/forms.css (working copy) @@ -892,16 +892,21 @@ padding-top: 10px; } - input[type="checkbox"], .widefat th input[type="checkbox"] { + input[type="checkbox"], + .widefat th input[type="checkbox"], + .widefat .th input[type="checkbox"] { -webkit-appearance: none; padding: 10px; } - .widefat th input[type="checkbox"] { + .widefat th input[type="checkbox"], + .widefat .th input[type="checkbox"] { margin-bottom: 8px; } - input[type="checkbox"]:checked:before, .widefat th input[type="checkbox"]:before { + input[type="checkbox"]:checked:before, + .widefat th input[type="checkbox"]:before, + .widefat .th input[type="checkbox"]:before { font: normal 30px/1 'Dashicons'; margin: -3px -5px; } Index: src/wp-admin/css/ie.css =================================================================== --- src/wp-admin/css/ie.css (revision 31812) +++ src/wp-admin/css/ie.css (working copy) @@ -497,12 +497,14 @@ } .widefat tr, -.widefat th { +.widefat th, +.widefat .th { margin-bottom: 0; border-spacing: 0; } -.widefat th input { +.widefat th input, +.widefat .th input { margin: 0 0 0 5px; } Index: src/wp-admin/css/list-tables.css =================================================================== --- src/wp-admin/css/list-tables.css (revision 31812) +++ src/wp-admin/css/list-tables.css (working copy) @@ -353,7 +353,8 @@ border: 0 none; } -#commentsdiv .comments-box thead th { +#commentsdiv .comments-box thead th, +#commentsdiv .comments-box thead .th { background: transparent; padding: 0 7px 4px; font-style: italic; @@ -1038,14 +1039,14 @@ font-size: 14px; } -.plugins thead th.check-column, -.plugins tfoot th.check-column, +.plugins thead .th.check-column, +.plugins tfoot .th.check-column, .plugins .inactive th.check-column { padding-left: 6px; } -#update-plugins-table thead th.check-column, -#update-plugins-table tfoot th.check-column { +#update-plugins-table thead .th.check-column, +#update-plugins-table tfoot .th.check-column { padding-top: 11px; } @@ -1178,6 +1179,7 @@ } .plugins-php .widefat tfoot th, +.plugins-php .widefat tfoot .th, .plugins-php .widefat tfoot td { border-top-style: solid; border-top-width: 1px; @@ -1186,9 +1188,8 @@ .plugin-update-tr .update-message { font-size: 13px; font-weight: normal; - margin: 6px 12px 12px; - padding: 6px 12px; margin: 0 10px 8px 31px; + padding: 6px 12px 8px 40px; background-color: #f7f7f7; background-color: rgba(0,0,0,0.03); } @@ -1211,7 +1212,7 @@ } .plugin-update-tr .update-message:before { - margin: 0 8px 0 -2px; + margin: 0 10px 0 -30px; } .plugin-card .update-now:before, @@ -1257,6 +1258,7 @@ .plugins .plugin-update { padding: 0; border: none; + overflow: hidden; -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); } @@ -1754,11 +1756,10 @@ /* Plugin/Theme Management Page */ .wp-list-table.plugins { position: relative; - margin-top: 35px; - margin-bottom: 50px; + margin-bottom: 15px; } - .wp-list-table.plugins thead .column-description, + #wpbody-content .wp-list-table.plugins thead .column-description, #wpbody-content .wp-list-table.plugins tfoot .column-description, .wp-list-table.plugins th#description { display: none; @@ -1777,21 +1778,6 @@ width: auto; } - .wp-list-table.plugins thead, - .wp-list-table.plugins tfoot { - position: absolute; - top: -35px; - left: 0; - right: 0; - width: auto; - height: 35px; - } - - .wp-list-table.plugins tfoot { - bottom: -35px; - top: auto; - } - .active, .inactive { padding-top: 0; } @@ -1837,11 +1823,17 @@ padding-left: 46px; } + .wp-list-table.plugins .manage-column.column-name { + padding-top: 11px; + padding-bottom: 12px; + } + .wp-list-table.plugins tr { position: relative; } .wp-list-table.plugins th.check-column, + .wp-list-table.plugins .th.check-column, .wp-list-table.plugins tr.update th.check-column { position: absolute; height: auto; @@ -1852,8 +1844,8 @@ padding-top: 18px; } - .wp-list-table.plugins thead th.check-column, - .wp-list-table.plugins tfoot th.check-column { + .wp-list-table.plugins thead .th.check-column, + .wp-list-table.plugins tfoot .th.check-column { padding-left: 3px; padding-top: 11px; background: none; @@ -1864,14 +1856,20 @@ margin-left: 8px; } - .wp-list-table.plugins .active .check-column input, - .wp-list-table.plugins .update .check-column input { + .plugins tbody th.check-column input[type="checkbox"] { + margin-top: -3px; + margin-left: 9px; + } + + .plugins tbody .active th.check-column input[type="checkbox"], + .plugins tbody .active.update th.check-column input[type="checkbox"] { margin-left: 5px; } .wp-list-table.plugins thead .check-column input, .wp-list-table.plugins tfoot .check-column input { - margin-top: -6px; + margin-top: -2px; + margin-left: 8px; } .wp-list-table.plugins .active th.check-column { Index: src/wp-admin/includes/class-wp-list-table.php =================================================================== --- src/wp-admin/includes/class-wp-list-table.php (revision 31812) +++ src/wp-admin/includes/class-wp-list-table.php (working copy) @@ -891,7 +891,7 @@ $style = ' style="' . $style . '"'; if ( 'cb' == $column_key ) - $class[] = 'check-column'; + $class[] = 'th check-column'; elseif ( in_array( $column_key, array( 'posts', 'comments', 'links' ) ) ) $class[] = 'num'; @@ -911,12 +911,14 @@ $column_display_name = '' . $column_display_name . ''; } + $tag = 'cb' == $column_key ? 'td' : 'th'; + $scope = $tag === 'th' ? 'scope="col"' : ''; $id = $with_id ? "id='$column_key'" : ''; if ( !empty( $class ) ) $class = "class='" . join( ' ', $class ) . "'"; - echo "