Ticket #31654: 31654.patch
File 31654.patch, 4.0 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/common.css
464 464 } 465 465 466 466 .widefat td, 467 .widefat th { 467 .widefat th, 468 .widefat .th { 468 469 padding: 8px 10px; 469 470 } 470 471 471 .widefat thead th { 472 .widefat thead th, 473 .widefat thead .th { 472 474 border-bottom: 1px solid #e1e1e1; 473 475 } 474 476 475 .widefat tfoot th { 477 .widefat tfoot th, 478 .widefat tfoot .th { 476 479 border-top: 1px solid #e1e1e1; 477 480 border-bottom: none; 478 481 } … … 493 496 line-height: 1.5em; 494 497 } 495 498 496 .widefat th { 499 .widefat th, 500 .widefat .th { 497 501 text-align: left; 498 502 line-height: 1.3em; 499 503 font-size: 14px; 500 504 } 501 505 502 .widefat th input { 506 .widefat th input, 507 .widefat .th input { 503 508 margin: 0 0 0 8px; 504 509 padding: 0; 505 510 vertical-align: text-top; … … 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 tfoot th, 718 .widefat tfoot .th { 713 719 line-height: 1.4em; 714 720 } 715 721 … … 1660 1666 color: #555; 1661 1667 } 1662 1668 1663 .widefat th { 1669 .widefat th, 1670 .widefat .th { 1664 1671 font-weight: normal; 1665 1672 } 1666 1673 -
src/wp-admin/css/list-tables.css
472 472 th.sorted a { 473 473 display: block; 474 474 overflow: hidden; 475 padding: 7px 7px 8px 10px;475 padding: 8px 7px 8px 10px; 476 476 } 477 477 478 478 .fixed .column-comments.sortable a, … … 1038 1038 font-size: 14px; 1039 1039 } 1040 1040 1041 .plugins thead th.check-column,1042 .plugins tfoot th.check-column,1041 .plugins thead .th.check-column, 1042 .plugins tfoot .th.check-column, 1043 1043 .plugins .inactive th.check-column { 1044 1044 padding-left: 6px; 1045 1045 } 1046 1046 1047 #update-plugins-table thead th.check-column,1048 #update-plugins-table tfoot th.check-column {1047 #update-plugins-table thead .th.check-column, 1048 #update-plugins-table tfoot .th.check-column { 1049 1049 padding-top: 11px; 1050 1050 } 1051 1051 1052 1052 .plugins, 1053 1053 .plugins th, 1054 .plugins .th, 1054 1055 .plugins td { 1055 1056 color: #000; 1056 1057 } … … 1842 1843 } 1843 1844 1844 1845 .wp-list-table.plugins th.check-column, 1846 .wp-list-table.plugins .th.check-column, 1845 1847 .wp-list-table.plugins tr.update th.check-column { 1846 1848 position: absolute; 1847 1849 height: auto; … … 1852 1854 padding-top: 18px; 1853 1855 } 1854 1856 1855 .wp-list-table.plugins thead th.check-column,1856 .wp-list-table.plugins tfoot th.check-column {1857 .wp-list-table.plugins thead .th.check-column, 1858 .wp-list-table.plugins tfoot .th.check-column { 1857 1859 padding-left: 3px; 1858 1860 padding-top: 11px; 1859 1861 background: none; … … 1861 1863 1862 1864 .widefat tbody th.check-column input[type="checkbox"] { 1863 1865 margin-top: -3px; 1864 margin-left: 8px;1866 margin-left: 9px; 1865 1867 } 1866 1868 1867 1869 .wp-list-table.plugins .active .check-column input, 1868 .wp-list-table.plugins . update .check-column input {1870 .wp-list-table.plugins .active.update .check-column input { 1869 1871 margin-left: 5px; 1870 1872 } 1871 1873 -
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[] = 'check-column th'; 895 895 elseif ( in_array( $column_key, array( 'posts', 'comments', 'links' ) ) ) 896 896 $class[] = 'num'; 897 897 … … 916 916 if ( !empty( $class ) ) 917 917 $class = "class='" . join( ' ', $class ) . "'"; 918 918 919 echo "<th scope='col' $id $class $style>$column_display_name</th>"; 919 $th_or_td = 'cb' === $column_key ? 'td' : 'th scope="col"'; 920 921 echo "<$th_or_td $id $class $style>$column_display_name</th>"; 920 922 } 921 923 } 922 924