Ticket #31654: 31654.6.patch
File 31654.6.patch, 8.0 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/common.css
470 470 padding: 8px 10px; 471 471 } 472 472 473 .widefat thead th { 473 .widefat thead th, 474 .widefat thead .th { 474 475 border-bottom: 1px solid #e1e1e1; 475 476 } 476 477 477 .widefat tfoot th { 478 .widefat tfoot th, 479 .widefat tfoot .th { 478 480 border-top: 1px solid #e1e1e1; 479 481 border-bottom: none; 480 482 } … … 495 497 line-height: 1.5em; 496 498 } 497 499 498 .widefat th { 500 .widefat th, 501 .widefat .th { 499 502 text-align: left; 500 503 line-height: 1.3em; 501 504 font-size: 14px; 502 505 } 503 506 504 .widefat th input { 507 .widefat th input, 508 .widefat .th input { 505 509 margin: 0 0 0 8px; 506 510 padding: 0; 507 511 vertical-align: text-top; … … 513 517 vertical-align: top; 514 518 } 515 519 516 .widefat th input[type=checkbox] { 520 .widefat th input[type=checkbox], 521 .widefat .th input[type=checkbox] { 517 522 margin-top: -1px; 518 523 } 519 524 … … 525 530 padding-top: 8px; 526 531 } 527 532 528 .widefat thead th.check-column,533 .widefat thead .th.check-column, 529 534 .widefat tbody th.check-column, 530 .widefat tfoot th.check-column {535 .widefat tfoot .th.check-column { 531 536 padding: 11px 0 0 3px; 532 537 } 533 538 534 .widefat thead th.check-column {539 .widefat thead .th.check-column { 535 540 padding-top: 10px; 536 541 } 537 542 … … 711 716 .side-info, 712 717 #your-profile #rich_editing, 713 718 .widefat thead th, 714 .widefat tfoot th { 719 .widefat thead .th, 720 .widefat tfoot th, 721 .widefat tfoot .th { 715 722 line-height: 1.4em; 716 723 } 717 724 … … 1706 1713 color: #555; 1707 1714 } 1708 1715 1709 .widefat th { 1716 .widefat th, 1717 .widefat .th { 1710 1718 font-weight: normal; 1711 1719 } 1712 1720 1713 1721 .widefat thead tr th, 1714 .widefat tfoot tr th { 1722 .widefat thead tr .th, 1723 .widefat tfoot tr th, 1724 .widefat tfoot tr .th { 1715 1725 color: #32373c; 1716 1726 } 1717 1727 -
src/wp-admin/css/forms.css
943 943 padding-top: 10px; 944 944 } 945 945 946 input[type="checkbox"], .widefat th input[type="checkbox"] { 946 input[type="checkbox"], 947 .widefat th input[type="checkbox"], 948 .widefat .th input[type="checkbox"] { 947 949 -webkit-appearance: none; 948 950 padding: 10px; 949 951 } 950 952 951 .widefat th input[type="checkbox"] { 953 .widefat th input[type="checkbox"], 954 .widefat .th input[type="checkbox"] { 952 955 margin-bottom: 8px; 953 956 } 954 957 955 input[type="checkbox"]:checked:before, .widefat th input[type="checkbox"]:before { 958 input[type="checkbox"]:checked:before, 959 .widefat th input[type="checkbox"]:before, 960 .widefat .th input[type="checkbox"]:before { 956 961 font: normal 30px/1 'Dashicons'; 957 962 margin: -3px -5px; 958 963 } -
src/wp-admin/css/ie.css
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 -
src/wp-admin/css/list-tables.css
348 348 border: 0 none; 349 349 } 350 350 351 #commentsdiv .comments-box thead th { 351 #commentsdiv .comments-box thead th, 352 #commentsdiv .comments-box thead .th { 352 353 background: transparent; 353 354 padding: 0 7px 4px; 354 355 font-style: italic; … … 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 … … 1180 1181 } 1181 1182 1182 1183 .plugins-php .widefat tfoot th, 1184 .plugins-php .widefat tfoot .th, 1183 1185 .plugins-php .widefat tfoot td { 1184 1186 border-top-style: solid; 1185 1187 border-top-width: 1px; … … 1188 1190 .plugin-update-tr .update-message { 1189 1191 font-size: 13px; 1190 1192 font-weight: normal; 1191 margin: 6px 12px 12px;1192 padding: 6px 12px;1193 1193 margin: 0 10px 8px 31px; 1194 padding: 6px 12px 8px 40px; 1194 1195 background-color: #f7f7f7; 1195 1196 background-color: rgba(0,0,0,0.03); 1196 1197 } … … 1213 1214 } 1214 1215 1215 1216 .plugin-update-tr .update-message:before { 1216 margin: 0 8px 0 -2px;1217 margin: 0 10px 0 -30px; 1217 1218 } 1218 1219 1219 1220 .plugin-card .update-now:before, … … 1259 1260 .plugins .plugin-update-tr .plugin-update { 1260 1261 padding: 0; 1261 1262 border: none; 1263 overflow: hidden; 1262 1264 -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); 1263 1265 box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); 1264 1266 } … … 1766 1768 /* Plugin/Theme Management Page */ 1767 1769 .wp-list-table.plugins { 1768 1770 position: relative; 1769 margin-top: 35px; 1770 margin-bottom: 50px; 1771 margin-bottom: 15px; 1771 1772 } 1772 1773 1773 .wp-list-table.plugins thead .column-description,1774 #wpbody-content .wp-list-table.plugins thead .column-description, 1774 1775 #wpbody-content .wp-list-table.plugins tfoot .column-description, 1775 1776 .wp-list-table.plugins th#description { 1776 1777 display: none; … … 1789 1790 width: auto; 1790 1791 } 1791 1792 1792 .wp-list-table.plugins thead,1793 .wp-list-table.plugins tfoot {1794 position: absolute;1795 top: -35px;1796 left: 0;1797 right: 0;1798 width: auto;1799 height: 35px;1800 }1801 1802 .wp-list-table.plugins tfoot {1803 bottom: -35px;1804 top: auto;1805 }1806 1807 1793 .active, .inactive { 1808 1794 padding-top: 0; 1809 1795 } … … 1849 1835 padding-left: 46px; 1850 1836 } 1851 1837 1838 .wp-list-table.plugins .manage-column.column-name { 1839 padding-top: 11px; 1840 padding-bottom: 12px; 1841 } 1842 1843 .wp-list-table.plugins .manage-column.column-name.sortable { 1844 padding: 4px 12px 4px 36px; 1845 } 1846 1852 1847 .wp-list-table.plugins tr { 1853 1848 position: relative; 1854 1849 } 1855 1850 1856 1851 .wp-list-table.plugins th.check-column, 1852 .wp-list-table.plugins .th.check-column, 1857 1853 .wp-list-table.plugins tr.update th.check-column { 1858 1854 position: absolute; 1859 1855 height: auto; … … 1864 1860 padding-top: 18px; 1865 1861 } 1866 1862 1867 .wp-list-table.plugins thead th.check-column,1868 .wp-list-table.plugins tfoot th.check-column {1863 .wp-list-table.plugins thead .th.check-column, 1864 .wp-list-table.plugins tfoot .th.check-column { 1869 1865 padding-left: 3px; 1870 1866 padding-top: 11px; 1871 1867 background: none; … … 1876 1872 margin-left: 8px; 1877 1873 } 1878 1874 1879 .wp-list-table.plugins .active .check-column input, 1880 .wp-list-table.plugins .update .check-column input { 1875 .plugins tbody th.check-column input[type="checkbox"] { 1876 margin-top: -3px; 1877 margin-left: 9px; 1878 } 1879 1880 .plugins tbody .active th.check-column input[type="checkbox"], 1881 .plugins tbody .active.update th.check-column input[type="checkbox"] { 1881 1882 margin-left: 5px; 1882 1883 } 1883 1884 1884 1885 .wp-list-table.plugins thead .check-column input, 1885 1886 .wp-list-table.plugins tfoot .check-column input { 1886 margin-top: -6px; 1887 margin-top: -2px; 1888 margin-left: 8px; 1887 1889 } 1888 1890 1889 1891 .wp-list-table.plugins .active th.check-column { -
src/wp-admin/includes/class-wp-list-table.php
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 … … 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