Make WordPress Core

Changeset 46339


Ignore:
Timestamp:
09/28/2019 04:34:43 PM (5 years ago)
Author:
afercia
Message:

Accessibility: Improve and modernize user interface controls. Style the select elements disabled state.

Props adhitya03, MarcosAlexandre, kjellr.
See #47477.
Fixes #48129.

File:
1 edited

Legend:

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

    r46337 r46339  
    341341}
    342342
     343.wp-admin select.disabled,
     344.wp-admin select:disabled {
     345    color: #a0a5aa;
     346    border-color: #ddd;
     347    background-color: #f7f7f7;
     348    /* The SVG is arrow-down-alt2 from Dashicons. */
     349    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23a0a5aa%22%2F%3E%3C%2Fsvg%3E');
     350    box-shadow: none;
     351    text-shadow: 0 1px 0 #fff;
     352    cursor: default;
     353    transform: none;
     354}
     355
    343356.wp-admin .button-cancel {
    344357    padding: 0 5px;
Note: See TracChangeset for help on using the changeset viewer.