WordPress.org

Make WordPress Core

Ticket #41858: 41858-buttons.diff

File 41858-buttons.diff, 2.7 KB (added by benoitchantre, 3 years ago)

More like buttons

  • wp-admin/css/list-tables-rtl.css

    diff --git wp-admin/css/list-tables-rtl.css wp-admin/css/list-tables-rtl.css
    index 4072872..d8fb8d1 100644
    th.asc a:focus span.sorting-indicator { 
    680680        display: inline-block;
    681681        min-width: 17px;
    682682        border: 1px solid #ccc; /* same color as buttons border */
     683        border-radius: 3px; /* same radius as buttons */
     684        box-shadow: 0 1px 0 #cccccc; /* same shadow as buttons */
    683685        padding: 3px 5px 7px;
    684         background: #e5e5e5;
     686        background: #f7f7f7; /* same color as buttons background */
    685687        font-size: 16px;
    686688        line-height: 1;
    687689        font-weight: 400;
    688690        text-align: center;
     691        color: #555; /* same color as buttons border */
    689692}
    690693
    691694.tablenav-pages-navspan {
    692695        height: 16px;
    693696        border-color: #ddd; /* same as disabled buttons */
     697        box-shadow: none; /* same as disabled buttons */
    694698        background: #f7f7f7; /* same as disabled buttons */
    695699        color: #a0a5aa; /* same as disabled buttons */
    696700}
    697701
    698702.tablenav .tablenav-pages a:hover,
    699703.tablenav .tablenav-pages a:focus {
    700         border-color: #5b9dd9;
    701         color: #fff;
    702         background: #00a0d2;
    703         box-shadow: none;
     704        border-color: #999; /* same color as hovered buttons */
     705        color: #23282d; /* same color as hovered buttons */
     706        background: #fafafa; /* same color as hovered buttons */
     707        box-shadow: 0 1px 0 #cccccc; /* same shadow as hovered buttons */
    704708        outline: none; /* IE8 */
    705709}
    706710
  • wp-admin/css/list-tables.css

    diff --git wp-admin/css/list-tables.css wp-admin/css/list-tables.css
    index aad8b58..2525601 100644
    th.asc a:focus span.sorting-indicator { 
    680680        display: inline-block;
    681681        min-width: 17px;
    682682        border: 1px solid #ccc; /* same color as buttons border */
     683        border-radius: 3px; /* same radius as buttons */
     684        box-shadow: 0 1px 0 #cccccc; /* same shadow as buttons */
    683685        padding: 3px 5px 7px;
    684         background: #e5e5e5;
     686        background: #f7f7f7; /* same color as buttons background */
    685687        font-size: 16px;
    686688        line-height: 1;
    687689        font-weight: 400;
    688690        text-align: center;
     691        color: #555; /* same color as buttons border */
    689692}
    690693
    691694.tablenav-pages-navspan {
    692695        height: 16px;
    693696        border-color: #ddd; /* same as disabled buttons */
     697        box-shadow: none; /* same as disabled buttons */
    694698        background: #f7f7f7; /* same as disabled buttons */
    695699        color: #a0a5aa; /* same as disabled buttons */
    696700}
    697701
    698702.tablenav .tablenav-pages a:hover,
    699703.tablenav .tablenav-pages a:focus {
    700         border-color: #5b9dd9;
    701         color: #fff;
    702         background: #00a0d2;
    703         box-shadow: none;
     704        border-color: #999; /* same color as hovered buttons */
     705        color: #23282d; /* same color as hovered buttons */
     706        background: #fafafa; /* same color as hovered buttons */
     707        box-shadow: 0 1px 0 #cccccc; /* same shadow as hovered buttons */
    704708        outline: none; /* IE8 */
    705709}
    706710