Make WordPress Core

Changeset 46244


Ignore:
Timestamp:
09/23/2019 03:48:32 PM (5 years ago)
Author:
afercia
Message:

Accessibility: Improve and modernize user interface controls for better contrast. Fourth part: Media Views form controls.

Props anevins, audrasjb, nrqsnchzm, kjellr, karmatosed.
Fixes #47150.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/media-views.css

    r46243 r46244  
    8686.media-frame textarea,
    8787.media-frame select {
     88    padding: 6px 8px;
     89    box-shadow: 0 0 0 transparent;
     90    transition: box-shadow 0.1s linear;
     91    border: 1px solid #7e8993;
     92    border-radius: 4px;
    8893    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    8994    font-size: 12px;
    90     border-width: 1px;
    91     border-style: solid;
    92     border-color: #ddd;
    9395}
    9496
     
    101103.media-frame textarea:focus,
    102104.media-frame select:focus {
    103     border-color: #5b9dd9;
     105    border-color: #007cba;
     106    box-shadow: 0 0 0 1px #007cba;
     107    outline: 2px solid transparent;
    104108}
    105109
     
    210214    /* Only visible in Windows High Contrast mode */
    211215    outline: 2px solid transparent;
    212     outline-offset: -2px;
    213216}
    214217
Note: See TracChangeset for help on using the changeset viewer.