Ticket #31654: 31654.7.patch
File 31654.7.patch, 8.2 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
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 thead td input[type="checkbox"], 949 .widefat tfoot td input[type="checkbox"] { 947 950 -webkit-appearance: none; 948 951 padding: 10px; 949 952 } 950 953 951 .widefat th input[type="checkbox"] { 954 .widefat th input[type="checkbox"], 955 .widefat thead td input[type="checkbox"], 956 .widefat tfoot td input[type="checkbox"] { 952 957 margin-bottom: 8px; 953 958 } 954 959 955 input[type="checkbox"]:checked:before, .widefat th input[type="checkbox"]:before { 960 input[type="checkbox"]:checked:before, 961 .widefat th input[type="checkbox"]:before, 962 .widefat thead td input[type="checkbox"]:before, 963 .widefat tfoot td input[type="checkbox"]:before { 956 964 font: normal 30px/1 'Dashicons'; 957 965 margin: -3px -5px; 958 966 } -
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, … … 1278 1278 .plugins .plugin-update-tr .plugin-update { 1279 1279 padding: 0; 1280 1280 border: none; 1281 overflow: hidden; 1281 1282 -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); 1282 1283 box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); 1283 1284 } … … 1801 1802 /* Plugin/Theme Management Page */ 1802 1803 .wp-list-table.plugins { 1803 1804 position: relative; 1804 margin-top: 35px; 1805 margin-bottom: 50px; 1805 margin-bottom: 15px; 1806 1806 } 1807 1807 1808 .wp-list-table.plugins thead .column-description,1808 #wpbody-content .wp-list-table.plugins thead .column-description, 1809 1809 #wpbody-content .wp-list-table.plugins tfoot .column-description, 1810 1810 .wp-list-table.plugins th#description { 1811 1811 display: none; … … 1824 1824 width: auto; 1825 1825 } 1826 1826 1827 .wp-list-table.plugins thead,1828 .wp-list-table.plugins tfoot {1829 position: absolute;1830 top: -35px;1831 left: 0;1832 right: 0;1833 width: auto;1834 height: 35px;1835 }1836 1837 .wp-list-table.plugins tfoot {1838 bottom: -35px;1839 top: auto;1840 }1841 1842 1827 .active, .inactive { 1843 1828 padding-top: 0; 1844 1829 } … … 1884 1869 padding-left: 46px; 1885 1870 } 1886 1871 1872 .wp-list-table.plugins .manage-column.column-name { 1873 padding-top: 11px; 1874 padding-bottom: 12px; 1875 } 1876 1877 .wp-list-table.plugins .manage-column.column-name.sortable { 1878 padding: 4px 12px 4px 36px; 1879 } 1880 1887 1881 .wp-list-table.plugins tr { 1888 1882 position: relative; 1889 1883 } 1890 1884 1891 1885 .wp-list-table.plugins th.check-column, 1886 .wp-list-table.plugins thead td.check-column, 1887 .wp-list-table.plugins tfoot td.check-column, 1892 1888 .wp-list-table.plugins tr.update th.check-column { 1893 1889 position: absolute; 1894 1890 height: auto; … … 1899 1895 padding-top: 18px; 1900 1896 } 1901 1897 1902 .wp-list-table.plugins thead t h.check-column,1903 .wp-list-table.plugins tfoot t h.check-column {1898 .wp-list-table.plugins thead td.check-column, 1899 .wp-list-table.plugins tfoot td.check-column { 1904 1900 padding-left: 3px; 1905 1901 padding-top: 11px; 1906 1902 background: none; 1907 1903 } 1908 1904 1909 . widefattbody th.check-column input[type="checkbox"] {1905 .plugins tbody th.check-column input[type="checkbox"] { 1910 1906 margin-top: -3px; 1911 margin-left: 8px;1907 margin-left: 9px; 1912 1908 } 1913 1909 1914 . wp-list-table.plugins .active .check-column input,1915 . wp-list-table.plugins .update .check-column input{1910 .plugins tbody .active th.check-column input[type="checkbox"], 1911 .plugins tbody .active.update th.check-column input[type="checkbox"] { 1916 1912 margin-left: 5px; 1917 1913 } 1918 1914 1919 1915 .wp-list-table.plugins thead .check-column input, 1920 1916 .wp-list-table.plugins tfoot .check-column input { 1921 margin-top: -6px; 1917 margin-top: -2px; 1918 margin-left: 8px; 1922 1919 } 1923 1920 1924 1921 .wp-list-table.plugins .active th.check-column { -
src/wp-admin/includes/class-wp-list-table.php
951 951 } 952 952 953 953 if ( 'cb' == $column_key ) 954 $class[] = ' check-column';954 $class[] = 'th check-column'; 955 955 elseif ( in_array( $column_key, array( 'posts', 'comments', 'links' ) ) ) 956 956 $class[] = 'num'; 957 957 … … 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