Ticket #31654: 31654.5.patch
File 31654.5.patch, 7.9 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/common.css
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 } … … 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; … … 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 … … 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 … … 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 … … 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 -
src/wp-admin/css/forms.css
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 } -
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
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; … … 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 … … 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; … … 1186 1188 .plugin-update-tr .update-message { 1187 1189 font-size: 13px; 1188 1190 font-weight: normal; 1189 margin: 6px 12px 12px;1190 padding: 6px 12px;1191 1191 margin: 0 10px 8px 31px; 1192 padding: 6px 12px 8px 40px; 1192 1193 background-color: #f7f7f7; 1193 1194 background-color: rgba(0,0,0,0.03); 1194 1195 } … … 1211 1212 } 1212 1213 1213 1214 .plugin-update-tr .update-message:before { 1214 margin: 0 8px 0 -2px;1215 margin: 0 10px 0 -30px; 1215 1216 } 1216 1217 1217 1218 .plugin-card .update-now:before, … … 1257 1258 .plugins .plugin-update { 1258 1259 padding: 0; 1259 1260 border: none; 1261 overflow: hidden; 1260 1262 -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); 1261 1263 box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1); 1262 1264 } … … 1754 1756 /* Plugin/Theme Management Page */ 1755 1757 .wp-list-table.plugins { 1756 1758 position: relative; 1757 margin-top: 35px; 1758 margin-bottom: 50px; 1759 margin-bottom: 15px; 1759 1760 } 1760 1761 1761 .wp-list-table.plugins thead .column-description,1762 #wpbody-content .wp-list-table.plugins thead .column-description, 1762 1763 #wpbody-content .wp-list-table.plugins tfoot .column-description, 1763 1764 .wp-list-table.plugins th#description { 1764 1765 display: none; … … 1777 1778 width: auto; 1778 1779 } 1779 1780 1780 .wp-list-table.plugins thead,1781 .wp-list-table.plugins tfoot {1782 position: absolute;1783 top: -35px;1784 left: 0;1785 right: 0;1786 width: auto;1787 height: 35px;1788 }1789 1790 .wp-list-table.plugins tfoot {1791 bottom: -35px;1792 top: auto;1793 }1794 1795 1781 .active, .inactive { 1796 1782 padding-top: 0; 1797 1783 } … … 1837 1823 padding-left: 46px; 1838 1824 } 1839 1825 1826 .wp-list-table.plugins .manage-column.column-name { 1827 padding-top: 11px; 1828 padding-bottom: 12px; 1829 } 1830 1840 1831 .wp-list-table.plugins tr { 1841 1832 position: relative; 1842 1833 } 1843 1834 1844 1835 .wp-list-table.plugins th.check-column, 1836 .wp-list-table.plugins .th.check-column, 1845 1837 .wp-list-table.plugins tr.update th.check-column { 1846 1838 position: absolute; 1847 1839 height: auto; … … 1852 1844 padding-top: 18px; 1853 1845 } 1854 1846 1855 .wp-list-table.plugins thead th.check-column,1856 .wp-list-table.plugins tfoot th.check-column {1847 .wp-list-table.plugins thead .th.check-column, 1848 .wp-list-table.plugins tfoot .th.check-column { 1857 1849 padding-left: 3px; 1858 1850 padding-top: 11px; 1859 1851 background: none; … … 1864 1856 margin-left: 8px; 1865 1857 } 1866 1858 1867 .wp-list-table.plugins .active .check-column input, 1868 .wp-list-table.plugins .update .check-column input { 1859 .plugins tbody th.check-column input[type="checkbox"] { 1860 margin-top: -3px; 1861 margin-left: 9px; 1862 } 1863 1864 .plugins tbody .active th.check-column input[type="checkbox"], 1865 .plugins tbody .active.update th.check-column input[type="checkbox"] { 1869 1866 margin-left: 5px; 1870 1867 } 1871 1868 1872 1869 .wp-list-table.plugins thead .check-column input, 1873 1870 .wp-list-table.plugins tfoot .check-column input { 1874 margin-top: -6px; 1871 margin-top: -2px; 1872 margin-left: 8px; 1875 1873 } 1876 1874 1877 1875 .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