Changeset 43019
- Timestamp:
- 04/29/2018 04:24:41 PM (7 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/colors/_admin.scss
r40576 r43019 85 85 86 86 .wrap .add-new-h2:hover, /* deprecated */ 87 .wrap .page-title-action:hover, 88 .tablenav .tablenav-pages a:hover, 89 .tablenav .tablenav-pages a:focus { 87 .wrap .page-title-action:hover { 90 88 color: $menu-text; 91 89 background-color: $menu-background; -
trunk/src/wp-admin/css/list-tables.css
r42810 r43019 611 611 } 612 612 613 /* Bulk Actions */614 .tablenav-pages a,615 .tablenav-pages-navspan {616 font-weight: 600;617 padding: 0 2px;618 }619 620 613 .tablenav-pages .current-page { 621 614 margin: 0 2px 0 0; 615 padding-top: 5px; 622 616 padding-bottom: 5px; 623 617 font-size: 13px; … … 631 625 .tablenav #table-paging { 632 626 margin-left: 2px; 633 }634 635 .tablenav a.button,636 .tablenav a.button-secondary {637 display: block;638 margin: 3px 8px 0 0;639 627 } 640 628 … … 652 640 .tablenav .tablenav-pages { 653 641 float: right; 654 height: 28px; 655 margin-top: 3px; 656 cursor: default; 657 color: #555; 642 margin: 3px 0 9px; 658 643 } 659 644 … … 663 648 } 664 649 665 .tablenav .tablenav-pages a, 666 .tablenav-pages span.current { 667 text-decoration: none; 668 padding: 3px 6px; 669 } 670 671 .tablenav .tablenav-pages a, 672 .tablenav-pages-navspan { 650 .tablenav .tablenav-pages .button, 651 .tablenav .tablenav-pages .tablenav-pages-navspan { 673 652 display: inline-block; 674 min-width: 17px; 675 border: 1px solid #ccc; /* same color as buttons border */ 676 padding: 3px 5px 7px; 677 background: #e5e5e5; 653 vertical-align: baseline; 654 min-width: 28px; 655 min-height: 28px; 656 margin: 0; 657 padding: 0 4px; 678 658 font-size: 16px; 679 line-height: 1; 680 font-weight: 400; 659 line-height: 1.5; 681 660 text-align: center; 682 }683 684 .tablenav-pages-navspan {685 height: 16px;686 border-color: #ddd; /* same as disabled buttons */687 background: #f7f7f7; /* same as disabled buttons */688 color: #a0a5aa; /* same as disabled buttons */689 }690 691 .tablenav .tablenav-pages a:hover,692 .tablenav .tablenav-pages a:focus {693 border-color: #5b9dd9;694 color: #fff;695 background: #00a0d2;696 box-shadow: none;697 outline: none; /* IE8 */698 661 } 699 662 … … 704 667 .tablenav .one-page .displaying-num { 705 668 display: inline-block; 706 margin-top: 5px; 707 margin-right: 0; 669 margin: 5px 0; 708 670 } 709 671 … … 722 684 } 723 685 724 /* @todo: unclear if the following tablenav rules are actually used. 725 classes exist in paginate_links() but not seen in list table output. */ 726 .tablenav .dots { 727 border-color: transparent; 728 } 729 730 .tablenav .next, 731 .tablenav .prev { 732 border-color: transparent; 733 color: #0073aa; 734 } 735 736 .tablenav .next:hover, 737 .tablenav .prev:hover { 738 border-color: transparent; 739 color: #00a0d2; 740 } 741 686 /* This view-switcher is still used on multisite. */ 742 687 .tablenav .view-switch { 743 688 float: right; … … 1718 1663 .tablenav .tablenav-pages { 1719 1664 width: 100%; 1720 height: auto;1721 1665 text-align: center; 1722 1666 margin: 0 0 25px; … … 1740 1684 } 1741 1685 1742 .tablenav-pages .pagination-links a, 1743 .tablenav-pages-navspan { 1744 padding: 9px 11px 12px; 1686 .tablenav .tablenav-pages .button, 1687 .tablenav .tablenav-pages .tablenav-pages-navspan { 1688 min-width: 44px; 1689 padding: 12px 8px; 1745 1690 font-size: 18px; 1746 } 1747 1748 .tablenav-pages-navspan { 1749 height: 18px; 1691 line-height: 1; 1750 1692 } 1751 1693 1752 1694 .tablenav-pages .pagination-links .current-page { 1753 padding: 8px 9px 9px; 1695 min-width: 44px; 1696 padding: 12px 6px; 1754 1697 font-size: 16px; 1698 line-height: 18px; 1755 1699 } 1756 1700 -
trunk/src/wp-admin/includes/class-wp-list-table.php
r42871 r43019 818 818 819 819 if ( $disable_first ) { 820 $page_links[] = '<span class="tablenav-pages-navspan " aria-hidden="true">«</span>';820 $page_links[] = '<span class="tablenav-pages-navspan button disabled" aria-hidden="true">«</span>'; 821 821 } else { 822 822 $page_links[] = sprintf( 823 "<a class='first-page ' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>",823 "<a class='first-page button' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>", 824 824 esc_url( remove_query_arg( 'paged', $current_url ) ), 825 825 __( 'First page' ), … … 829 829 830 830 if ( $disable_prev ) { 831 $page_links[] = '<span class="tablenav-pages-navspan " aria-hidden="true">‹</span>';831 $page_links[] = '<span class="tablenav-pages-navspan button disabled" aria-hidden="true">‹</span>'; 832 832 } else { 833 833 $page_links[] = sprintf( 834 "<a class='prev-page ' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>",834 "<a class='prev-page button' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>", 835 835 esc_url( add_query_arg( 'paged', max( 1, $current - 1 ), $current_url ) ), 836 836 __( 'Previous page' ), … … 854 854 855 855 if ( $disable_next ) { 856 $page_links[] = '<span class="tablenav-pages-navspan " aria-hidden="true">›</span>';856 $page_links[] = '<span class="tablenav-pages-navspan button disabled" aria-hidden="true">›</span>'; 857 857 } else { 858 858 $page_links[] = sprintf( 859 "<a class='next-page ' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>",859 "<a class='next-page button' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>", 860 860 esc_url( add_query_arg( 'paged', min( $total_pages, $current + 1 ), $current_url ) ), 861 861 __( 'Next page' ), … … 865 865 866 866 if ( $disable_last ) { 867 $page_links[] = '<span class="tablenav-pages-navspan " aria-hidden="true">»</span>';867 $page_links[] = '<span class="tablenav-pages-navspan button disabled" aria-hidden="true">»</span>'; 868 868 } else { 869 869 $page_links[] = sprintf( 870 "<a class='last-page ' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>",870 "<a class='last-page button' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>", 871 871 esc_url( add_query_arg( 'paged', $total_pages, $current_url ) ), 872 872 __( 'Last page' ), -
trunk/src/wp-admin/network/sites.php
r42349 r43019 358 358 <?php echo $msg; ?> 359 359 360 <form method="get" id="ms-search" >360 <form method="get" id="ms-search" class="wp-clearfix"> 361 361 <?php $wp_list_table->search_box( __( 'Search Sites' ), 'site' ); ?> 362 362 <input type="hidden" name="action" value="blogs" />
Note: See TracChangeset
for help on using the changeset viewer.