Ticket #31654: 31654.8.patch
File 31654.8.patch, 7.7 KB (added by , 9 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 td { 474 475 border-bottom: 1px solid #e1e1e1; 475 476 } 476 477 477 .widefat tfoot th { 478 .widefat tfoot th, 479 .widefat tfoot td { 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 thead td, 502 .widefat tfoot td { 499 503 text-align: left; 500 504 line-height: 1.3em; 501 505 font-size: 14px; 502 506 } 503 507 504 .widefat th input { 508 .widefat th input, 509 .widefat thead td input, 510 .widefat tfoot td input { 505 511 margin: 0 0 0 8px; 506 512 padding: 0; 507 513 vertical-align: text-top; … … 513 519 vertical-align: top; 514 520 } 515 521 516 .widefat th input[type=checkbox] { 522 .widefat th input[type=checkbox], 523 .widefat thead td input[type=checkbox], 524 .widefat tfoot td input[type=checkbox] { 517 525 margin-top: -1px; 518 526 } 519 527 … … 525 533 padding-top: 8px; 526 534 } 527 535 528 .widefat thead t h.check-column,536 .widefat thead td.check-column, 529 537 .widefat tbody th.check-column, 530 .widefat tfoot t h.check-column {538 .widefat tfoot td.check-column { 531 539 padding: 11px 0 0 3px; 532 540 } 533 541 534 .widefat thead th.check-column { 542 .widefat thead td.check-column, 543 .widefat tfoot td.check-column { 535 544 padding-top: 10px; 536 545 } 537 546 … … 711 720 .side-info, 712 721 #your-profile #rich_editing, 713 722 .widefat thead th, 714 .widefat tfoot th { 723 .widefat thead td, 724 .widefat tfoot th, 725 .widefat tfoot td { 715 726 line-height: 1.4em; 716 727 } 717 728 … … 1706 1717 color: #555; 1707 1718 } 1708 1719 1709 .widefat th { 1720 .widefat th, 1721 .widefat thead td, 1722 .widefat tfoot td { 1710 1723 font-weight: normal; 1711 1724 } 1712 1725 1713 1726 .widefat thead tr th, 1714 .widefat tfoot tr th { 1727 .widefat thead tr td, 1728 .widefat tfoot tr th, 1729 .widefat tfoot tr td { 1715 1730 color: #32373c; 1716 1731 } 1717 1732 -
src/wp-admin/css/forms.css
944 944 padding-top: 10px; 945 945 } 946 946 947 input[type="checkbox"], .widefat th input[type="checkbox"] { 947 input[type="checkbox"], 948 .widefat th input[type="checkbox"], 949 .widefat thead td input[type="checkbox"], 950 .widefat tfoot td input[type="checkbox"] { 948 951 -webkit-appearance: none; 949 952 padding: 10px; 950 953 } 951 954 952 .widefat th input[type="checkbox"] { 955 .widefat th input[type="checkbox"], 956 .widefat thead td input[type="checkbox"], 957 .widefat tfoot td input[type="checkbox"] { 953 958 margin-bottom: 8px; 954 959 } 955 960 956 input[type="checkbox"]:checked:before, .widefat th input[type="checkbox"]:before { 961 input[type="checkbox"]:checked:before, 962 .widefat th input[type="checkbox"]:before, 963 .widefat thead td input[type="checkbox"]:before, 964 .widefat tfoot td input[type="checkbox"]:before { 957 965 font: normal 30px/1 'Dashicons'; 958 966 margin: -3px -5px; 959 967 } -
src/wp-admin/css/ie.css
484 484 } 485 485 486 486 .widefat tr, 487 .widefat th { 487 .widefat th, 488 .widefat thead td, 489 .widefat tfoot td { 488 490 margin-bottom: 0; 489 491 border-spacing: 0; 490 492 } 491 493 492 .widefat th input { 494 .widefat th input, 495 .widefat thead td input, 496 .widefat tfoot td input { 493 497 margin: 0 0 0 5px; 494 498 } 495 499 -
src/wp-admin/css/list-tables.css
365 365 border: 0 none; 366 366 } 367 367 368 #commentsdiv .comments-box thead th { 368 #commentsdiv .comments-box thead th, 369 #commentsdiv .comments-box thead td { 369 370 background: transparent; 370 371 padding: 0 7px 4px; 371 372 font-style: italic; … … 1057 1058 font-size: 14px; 1058 1059 } 1059 1060 1060 .plugins thead t h.check-column,1061 .plugins tfoot t h.check-column,1061 .plugins thead td.check-column, 1062 .plugins tfoot td.check-column, 1062 1063 .plugins .inactive th.check-column { 1063 1064 padding-left: 6px; 1064 1065 } 1065 1066 1066 #update-plugins-table thead t h.check-column,1067 #update-plugins-table tfoot t h.check-column {1067 #update-plugins-table thead td.check-column, 1068 #update-plugins-table tfoot td.check-column { 1068 1069 padding-top: 11px; 1069 1070 } 1070 1071 … … 1207 1208 .plugin-update-tr .update-message { 1208 1209 font-size: 13px; 1209 1210 font-weight: normal; 1210 margin: 6px 12px 12px;1211 padding: 6px 12px;1212 1211 margin: 0 10px 8px 31px; 1212 padding: 6px 12px 8px 40px; 1213 1213 background-color: #f7f7f7; 1214 1214 background-color: rgba(0,0,0,0.03); 1215 1215 } … … 1232 1232 } 1233 1233 1234 1234 .plugin-update-tr .update-message:before { 1235 margin: 0 8px 0 -2px;1235 margin: 0 10px 0 -30px; 1236 1236 } 1237 1237 1238 1238 .plugin-card .update-now:before, … … 1800 1800 /* Plugin/Theme Management Page */ 1801 1801 .wp-list-table.plugins { 1802 1802 position: relative; 1803 margin-top: 35px; 1804 margin-bottom: 50px; 1803 margin-bottom: 15px; 1805 1804 } 1806 1805 1807 .wp-list-table.plugins thead .column-description,1806 #wpbody-content .wp-list-table.plugins thead .column-description, 1808 1807 #wpbody-content .wp-list-table.plugins tfoot .column-description, 1809 1808 .wp-list-table.plugins th#description { 1810 1809 display: none; … … 1823 1822 width: auto; 1824 1823 } 1825 1824 1826 .wp-list-table.plugins thead,1827 .wp-list-table.plugins tfoot {1828 position: absolute;1829 top: -35px;1830 left: 0;1831 right: 0;1832 width: auto;1833 height: 35px;1834 }1835 1836 .wp-list-table.plugins tfoot {1837 bottom: -35px;1838 top: auto;1839 }1840 1841 1825 .active, .inactive { 1842 1826 padding-top: 0; 1843 1827 } … … 1883 1867 padding-left: 46px; 1884 1868 } 1885 1869 1870 .wp-list-table.plugins .manage-column.column-name { 1871 padding-top: 11px; 1872 padding-bottom: 12px; 1873 } 1874 1875 .wp-list-table.plugins .manage-column.column-name.sortable { 1876 padding: 4px 12px 4px 36px; 1877 } 1878 1886 1879 .wp-list-table.plugins tr { 1887 1880 position: relative; 1888 1881 } 1889 1882 1890 1883 .wp-list-table.plugins th.check-column, 1884 .wp-list-table.plugins thead td.check-column, 1885 .wp-list-table.plugins tfoot td.check-column, 1891 1886 .wp-list-table.plugins tr.update th.check-column { 1892 1887 position: absolute; 1893 1888 height: auto; … … 1898 1893 padding-top: 18px; 1899 1894 } 1900 1895 1901 .wp-list-table.plugins thead t h.check-column,1902 .wp-list-table.plugins tfoot t h.check-column {1896 .wp-list-table.plugins thead td.check-column, 1897 .wp-list-table.plugins tfoot td.check-column { 1903 1898 padding-left: 3px; 1904 1899 padding-top: 11px; 1905 1900 background: none; 1906 1901 } 1907 1902 1908 . widefattbody th.check-column input[type="checkbox"] {1903 .plugins tbody th.check-column input[type="checkbox"] { 1909 1904 margin-top: -3px; 1910 margin-left: 8px;1905 margin-left: 9px; 1911 1906 } 1912 1907 1913 . wp-list-table.plugins .active .check-column input,1914 . wp-list-table.plugins .update .check-column input{1908 .plugins tbody .active th.check-column input[type="checkbox"], 1909 .plugins tbody .active.update th.check-column input[type="checkbox"] { 1915 1910 margin-left: 5px; 1916 1911 } 1917 1912 1918 1913 .wp-list-table.plugins thead .check-column input, 1919 1914 .wp-list-table.plugins tfoot .check-column input { 1920 margin-top: -6px; 1915 margin-top: -2px; 1916 margin-left: 8px; 1921 1917 } 1922 1918 1923 1919 .wp-list-table.plugins .active th.check-column { -
src/wp-admin/includes/class-wp-list-table.php
971 971 $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>'; 972 972 } 973 973 974 $tag = 'cb' == $column_key ? 'td' : 'th'; 975 $scope = $tag === 'th' ? 'scope="col"' : ''; 974 976 $id = $with_id ? "id='$column_key'" : ''; 975 977 976 978 if ( !empty( $class ) ) 977 979 $class = "class='" . join( ' ', $class ) . "'"; 978 980 979 echo "< th scope='col' $id $class>$column_display_name</th>";981 echo "<$tag $scope $id $class>$column_display_name</$tag>"; 980 982 } 981 983 } 982 984