diff --git src/wp-admin/css/common.css src/wp-admin/css/common.css
index 6a1e9d7..7f3b871 100644
|
|
|
code { |
| 468 | 468 | padding: 8px 10px; |
| 469 | 469 | } |
| 470 | 470 | |
| 471 | | .widefat thead th { |
| | 471 | .widefat thead th, |
| | 472 | .widefat thead .th { |
| 472 | 473 | border-bottom: 1px solid #e1e1e1; |
| 473 | 474 | } |
| 474 | 475 | |
| 475 | | .widefat tfoot th { |
| | 476 | .widefat tfoot th, |
| | 477 | .widefat tfoot .th { |
| 476 | 478 | border-top: 1px solid #e1e1e1; |
| 477 | 479 | border-bottom: none; |
| 478 | 480 | } |
| … |
… |
code { |
| 493 | 495 | line-height: 1.5em; |
| 494 | 496 | } |
| 495 | 497 | |
| 496 | | .widefat th { |
| | 498 | .widefat th, |
| | 499 | .widefat .th { |
| 497 | 500 | text-align: left; |
| 498 | 501 | line-height: 1.3em; |
| 499 | 502 | font-size: 14px; |
| 500 | 503 | } |
| 501 | 504 | |
| 502 | | .widefat th input { |
| | 505 | .widefat th input, |
| | 506 | .widefat .th input { |
| 503 | 507 | margin: 0 0 0 8px; |
| 504 | 508 | padding: 0; |
| 505 | 509 | vertical-align: text-top; |
| … |
… |
code { |
| 511 | 515 | vertical-align: top; |
| 512 | 516 | } |
| 513 | 517 | |
| 514 | | .widefat th input[type=checkbox] { |
| | 518 | .widefat th input[type=checkbox], |
| | 519 | .widefat .th input[type=checkbox] { |
| 515 | 520 | margin-top: -1px; |
| 516 | 521 | } |
| 517 | 522 | |
| … |
… |
code { |
| 523 | 528 | padding-top: 8px; |
| 524 | 529 | } |
| 525 | 530 | |
| 526 | | .widefat thead th.check-column, |
| | 531 | .widefat thead .th.check-column, |
| 527 | 532 | .widefat tbody th.check-column, |
| 528 | | .widefat tfoot th.check-column { |
| | 533 | .widefat tfoot .th.check-column { |
| 529 | 534 | padding: 11px 0 0 3px; |
| 530 | 535 | } |
| 531 | 536 | |
| 532 | | .widefat thead th.check-column { |
| | 537 | .widefat thead .th.check-column { |
| 533 | 538 | padding-top: 10px; |
| 534 | 539 | } |
| 535 | 540 | |
| … |
… |
img.emoji { |
| 709 | 714 | .side-info, |
| 710 | 715 | #your-profile #rich_editing, |
| 711 | 716 | .widefat thead th, |
| 712 | | .widefat tfoot th { |
| | 717 | .widefat thead .th, |
| | 718 | .widefat tfoot th, |
| | 719 | .widefat tfoot .th { |
| 713 | 720 | line-height: 1.4em; |
| 714 | 721 | } |
| 715 | 722 | |
| … |
… |
html.wp-toolbar { |
| 1660 | 1667 | color: #555; |
| 1661 | 1668 | } |
| 1662 | 1669 | |
| 1663 | | .widefat th { |
| | 1670 | .widefat th, |
| | 1671 | .widefat .th { |
| 1664 | 1672 | font-weight: normal; |
| 1665 | 1673 | } |
| 1666 | 1674 | |
| 1667 | 1675 | .widefat thead tr th, |
| 1668 | | .widefat tfoot tr th { |
| | 1676 | .widefat thead tr .th, |
| | 1677 | .widefat tfoot tr th, |
| | 1678 | .widefat tfoot tr .th { |
| 1669 | 1679 | color: #32373c; |
| 1670 | 1680 | } |
| 1671 | 1681 | |
diff --git src/wp-admin/css/forms.css src/wp-admin/css/forms.css
index 19ff006..59ec37f 100644
|
|
|
table.form-table td .updated p { |
| 892 | 892 | padding-top: 10px; |
| 893 | 893 | } |
| 894 | 894 | |
| 895 | | input[type="checkbox"], .widefat th input[type="checkbox"] { |
| | 895 | input[type="checkbox"], |
| | 896 | .widefat th input[type="checkbox"], |
| | 897 | .widefat .th input[type="checkbox"] { |
| 896 | 898 | -webkit-appearance: none; |
| 897 | 899 | padding: 10px; |
| 898 | 900 | } |
| 899 | 901 | |
| 900 | | .widefat th input[type="checkbox"] { |
| | 902 | .widefat th input[type="checkbox"], |
| | 903 | .widefat .th input[type="checkbox"] { |
| 901 | 904 | margin-bottom: 8px; |
| 902 | 905 | } |
| 903 | 906 | |
| 904 | | input[type="checkbox"]:checked:before, .widefat th input[type="checkbox"]:before { |
| | 907 | input[type="checkbox"]:checked:before, |
| | 908 | .widefat th input[type="checkbox"]:before, |
| | 909 | .widefat .th input[type="checkbox"]:before { |
| 905 | 910 | font: normal 30px/1 'Dashicons'; |
| 906 | 911 | margin: -3px -5px; |
| 907 | 912 | } |
diff --git src/wp-admin/css/ie.css src/wp-admin/css/ie.css
index c49f576..481c86f 100644
|
|
|
table.ie-fixed { |
| 497 | 497 | } |
| 498 | 498 | |
| 499 | 499 | .widefat tr, |
| 500 | | .widefat th { |
| | 500 | .widefat th, |
| | 501 | .widefat .th { |
| 501 | 502 | margin-bottom: 0; |
| 502 | 503 | border-spacing: 0; |
| 503 | 504 | } |
| 504 | 505 | |
| 505 | | .widefat th input { |
| | 506 | .widefat th input, |
| | 507 | .widefat .th input { |
| 506 | 508 | margin: 0 0 0 5px; |
| 507 | 509 | } |
| 508 | 510 | |
diff --git src/wp-admin/css/list-tables.css src/wp-admin/css/list-tables.css
index 09514f3..6c64bf9 100644
|
|
|
table.fixed { |
| 353 | 353 | border: 0 none; |
| 354 | 354 | } |
| 355 | 355 | |
| 356 | | #commentsdiv .comments-box thead th { |
| | 356 | #commentsdiv .comments-box thead th, |
| | 357 | #commentsdiv .comments-box thead .th { |
| 357 | 358 | background: transparent; |
| 358 | 359 | padding: 0 7px 4px; |
| 359 | 360 | font-style: italic; |
| … |
… |
ul.cat-checklist { |
| 1038 | 1039 | font-size: 14px; |
| 1039 | 1040 | } |
| 1040 | 1041 | |
| 1041 | | .plugins thead th.check-column, |
| 1042 | | .plugins tfoot th.check-column, |
| | 1042 | .plugins thead .th.check-column, |
| | 1043 | .plugins tfoot .th.check-column, |
| 1043 | 1044 | .plugins .inactive th.check-column { |
| 1044 | 1045 | padding-left: 6px; |
| 1045 | 1046 | } |
| 1046 | 1047 | |
| 1047 | | #update-plugins-table thead th.check-column, |
| 1048 | | #update-plugins-table tfoot th.check-column { |
| | 1048 | #update-plugins-table thead .th.check-column, |
| | 1049 | #update-plugins-table tfoot .th.check-column { |
| 1049 | 1050 | padding-top: 11px; |
| 1050 | 1051 | } |
| 1051 | 1052 | |
| … |
… |
tr.active.update + tr.plugin-update-tr .plugin-update { |
| 1178 | 1179 | } |
| 1179 | 1180 | |
| 1180 | 1181 | .plugins-php .widefat tfoot th, |
| | 1182 | .plugins-php .widefat tfoot .th, |
| 1181 | 1183 | .plugins-php .widefat tfoot td { |
| 1182 | 1184 | border-top-style: solid; |
| 1183 | 1185 | border-top-width: 1px; |
| … |
… |
div.action-links, |
| 1842 | 1844 | } |
| 1843 | 1845 | |
| 1844 | 1846 | .wp-list-table.plugins th.check-column, |
| | 1847 | .wp-list-table.plugins .th.check-column, |
| 1845 | 1848 | .wp-list-table.plugins tr.update th.check-column { |
| 1846 | 1849 | position: absolute; |
| 1847 | 1850 | height: auto; |
| … |
… |
div.action-links, |
| 1852 | 1855 | padding-top: 18px; |
| 1853 | 1856 | } |
| 1854 | 1857 | |
| 1855 | | .wp-list-table.plugins thead th.check-column, |
| 1856 | | .wp-list-table.plugins tfoot th.check-column { |
| | 1858 | .wp-list-table.plugins thead .th.check-column, |
| | 1859 | .wp-list-table.plugins tfoot .th.check-column { |
| 1857 | 1860 | padding-left: 3px; |
| 1858 | 1861 | padding-top: 11px; |
| 1859 | 1862 | background: none; |
| … |
… |
div.action-links, |
| 1872 | 1875 | .wp-list-table.plugins thead .check-column input, |
| 1873 | 1876 | .wp-list-table.plugins tfoot .check-column input { |
| 1874 | 1877 | margin-top: -6px; |
| | 1878 | margin-left: 7px; |
| 1875 | 1879 | } |
| 1876 | 1880 | |
| 1877 | 1881 | .wp-list-table.plugins .active th.check-column { |
diff --git src/wp-admin/includes/class-wp-list-table.php src/wp-admin/includes/class-wp-list-table.php
index aae3d69..562b09f 100644
|
|
|
class WP_List_Table { |
| 891 | 891 | $style = ' style="' . $style . '"'; |
| 892 | 892 | |
| 893 | 893 | if ( 'cb' == $column_key ) |
| 894 | | $class[] = 'check-column'; |
| | 894 | $class[] = 'th check-column'; |
| 895 | 895 | elseif ( in_array( $column_key, array( 'posts', 'comments', 'links' ) ) ) |
| 896 | 896 | $class[] = 'num'; |
| 897 | 897 | |
| … |
… |
class WP_List_Table { |
| 911 | 911 | $column_display_name = '<a href="' . esc_url( add_query_arg( compact( 'orderby', 'order' ), $current_url ) ) . '"><span>' . $column_display_name . '</span><span class="sorting-indicator"></span></a>'; |
| 912 | 912 | } |
| 913 | 913 | |
| | 914 | $tag = 'cb' === $column_key ? 'td' : 'th'; |
| | 915 | $scope = $tag === 'th' ? 'scope="col"' : ''; |
| 914 | 916 | $id = $with_id ? "id='$column_key'" : ''; |
| 915 | 917 | |
| 916 | 918 | if ( !empty( $class ) ) |
| 917 | 919 | $class = "class='" . join( ' ', $class ) . "'"; |
| 918 | 920 | |
| 919 | | echo "<th scope='col' $id $class $style>$column_display_name</th>"; |
| | 921 | echo "<$tag $scope $id $class $style>$column_display_name</$tag>"; |
| 920 | 922 | } |
| 921 | 923 | } |
| 922 | 924 | |