Make WordPress Core


Ignore:
Timestamp:
09/29/2019 09:52:38 PM (6 years ago)
Author:
afercia
Message:

Accessibility: Improve and modernize user interface controls: Make the secondary buttons border blue.

Props drw158, youknowriad, kjellr, melchoyce, talldanwp, audrasjb.
See #34904.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors/_admin.scss

    r46248 r46344  
    2424}
    2525
    26 #media-upload a.del-link:hover,
    27 div.dashboard-widget-submit input:hover,
    28 .subsubsub a:hover,
    29 .subsubsub a.current:hover {
     26#post-body .misc-pub-post-status:before,
     27#post-body #visibility:before,
     28.curtime #timestamp:before,
     29#post-body .misc-pub-revisions:before,
     30span.wp-media-buttons-icon:before {
    3031    color: $link-focus;
    3132}
     
    7475
    7576.wp-core-ui {
     77
     78    .button,
     79    .button-secondary {
     80        color: $button-color;
     81        border-color: $button-color;
     82    }
     83
     84    .button.hover,
     85    .button:hover,
     86    .button-secondary:hover,
     87    .button.focus,
     88    .button:focus,
     89    .button-secondary:focus {
     90        border-color: darken( $button-color, 5% );
     91        color: darken( $button-color, 5% );
     92    }
     93
    7694    .button.focus,
    7795    .button:focus,
     
    84102    .button-primary {
    85103        @include button( $button-color );
     104    }
     105
     106    .button-group > .button.active {
     107        border-color: $button-color;
    86108    }
    87109
Note: See TracChangeset for help on using the changeset viewer.