WordPress.org

Make WordPress Core

Changeset 40570


Ignore:
Timestamp:
05/04/2017 10:31:17 PM (13 months ago)
Author:
afercia
Message:

Accessibility: Improve the color contrast ratio of the dismiss notice buttons.

Props chris_dev.
Fixes #39970.

Location:
trunk/src
Files:
4 edited

Legend:

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

    r40480 r40570  
    780780.notice-dismiss:before {
    781781    background: none;
    782     color: #b4b9be;
     782    color: #72777c;
    783783    content: "\f153";
    784784    display: block;
     
    14181418    padding: 9px;
    14191419    background: none;
    1420     color: #b4b9be;
     1420    color: #72777c;
    14211421    cursor: pointer;
    14221422}
  • trunk/src/wp-admin/css/media.css

    r40359 r40570  
    507507    display: block;
    508508    font: normal 16px/1 dashicons;
    509     color: #b4b9be;
     509    color: #72777c;
    510510}
    511511
  • trunk/src/wp-includes/css/media-views.css

    r40428 r40570  
    12731273.media-sidebar .media-uploader-status .upload-dismiss-errors {
    12741274    position: absolute;
    1275     top: 0;
    1276     right: 0;
     1275    top: -10px;
     1276    right: -10px;
     1277    padding: 10px;
    12771278    -webkit-transition: none;
    12781279    transition: none;
     1280}
     1281
     1282.media-sidebar .media-uploader-status .upload-dismiss-errors:before {
     1283    content: "\f153";
     1284    display: block;
     1285    font: normal 16px/1 dashicons;
     1286    color: #72777c;
     1287}
     1288
     1289.media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before,
     1290.media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before {
     1291    color: #c00;
    12791292}
    12801293
  • trunk/src/wp-includes/css/wp-pointer.css

    r36904 r40570  
    6262.wp-pointer-buttons a.close:before {
    6363    background: none;
    64     color: #b4b9be;
     64    color: #72777c;
    6565    content: "\f153";
    6666    display: block !important;
Note: See TracChangeset for help on using the changeset viewer.