Make WordPress Core

Changeset 36959


Ignore:
Timestamp:
03/10/2016 09:44:00 PM (11 years ago)
Author:
afercia
Message:

Accessibility: Improve the color contrast ratio of the expandable panel "handles".

Fixes #35923.

Location:
trunk/src/wp-admin/css
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r36904 r36959  
    15621562        -moz-osx-font-smoothing: grayscale;
    15631563        text-decoration: none !important;
    1564         color: #b4b9be;
     1564        color: #72777c;
    15651565}
    15661566
     
    30563056}
    30573057
    3058 .widget-action,
    30593058.handlediv,
    30603059.item-edit,
    30613060.sidebar-name-arrow,
    30623061.accordion-section-title:after {
    3063         color: #a0a5aa;
    3064 }
    3065 
    3066 .widget-action:hover,
     3062        color: #72777c;
     3063}
     3064
     3065.widget-action {
     3066        color: #555d66; /* #fafafa background in the Widgets screen */
     3067}
     3068
     3069.widget-top:hover .widget-action,
     3070.widget-action:focus,
    30673071.handlediv:hover,
    30683072.handlediv:focus,
    30693073.item-edit:hover,
     3074.item-edit:focus,
    30703075.sidebar-name:hover .sidebar-name-arrow,
    30713076.accordion-section-title:hover:after {
    3072         color: #555d66;
     3077        color: #23282d;
    30733078}
    30743079
  • trunk/src/wp-admin/css/customize-controls.css

    r36907 r36959  
    160160#customize-theme-controls .accordion-section-title:after {
    161161        content: "\f345";
     162        color: #a0a5aa;
    162163}
    163164
     
    647648}
    648649
     650/* @todo maybe no more used? */
    649651.customize-control .dropdown-arrow {
    650652        position: absolute;
  • trunk/src/wp-admin/css/customize-nav-menus.css

    r36396 r36959  
    264264        -webkit-border-radius: 50%;
    265265        border-radius: 50%;
    266         color: #a0a5aa;
     266        color: #72777c;
    267267        font: normal 20px/1 dashicons;
    268268        -webkit-font-smoothing: antialiased;
     
    469469}
    470470
    471 #available-menu-items .accordion-section-title:hover .toggle-indicator:after {
    472         color: #555d66;
     471#available-menu-items .accordion-section-title:hover .toggle-indicator:after,
     472#available-menu-items .button-link:hover .toggle-indicator:after,
     473#available-menu-items .button-link:focus .toggle-indicator:after {
     474        color: #23282d;
    473475}
    474476
    475477#available-menu-items .open .accordion-section-title .toggle-indicator:after {
    476478        content: "\f142";
     479        color: #23282d;
    477480}
    478481
  • trunk/src/wp-admin/css/customize-widgets.css

    r36904 r36959  
    2020
    2121.customize-control-widget_form .widget-top {
     22        background: #fff;
    2223        -webkit-transition: opacity 0.5s;
    2324        transition: opacity 0.5s;
     25}
     26
     27.customize-control .widget-action {
     28        color: #72777c;
     29}
     30
     31.customize-control .widget-top:hover .widget-action,
     32.customize-control .widget-action:focus {
     33        color: #23282d;
    2434}
    2535
  • trunk/src/wp-admin/css/list-tables.css

    r36904 r36959  
    537537        display: block;
    538538        padding: 1px 2px 1px 0;
    539         color: #666;
     539        color: #444; /* same as table headers sort arrows */
    540540        content: "\f140";
    541541        font: normal 20px/1 dashicons;
Note: See TracChangeset for help on using the changeset viewer.