WordPress.org

Make WordPress Core

Changeset 38435


Ignore:
Timestamp:
08/29/2016 09:07:31 PM (4 years ago)
Author:
afercia
Message:

Accessibility: Improve the file upload inputs styling.

Though browsers implement cursor: pointer on this kind of controls a bit
inconsistently, the pointer cursor styling makes more clear the button and
label are actionable controls.

Props Ankit K Gupta.
Fixes #35552.

File:
1 edited

Legend:

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

    r38033 r38435  
    205205.wp-admin input[type="file"] {
    206206    padding: 3px 0;
     207    cursor: pointer;
    207208}
    208209
     
    298299    -webkit-box-shadow: none;
    299300    box-shadow: none;
     301    cursor: default;
    300302}
    301303
Note: See TracChangeset for help on using the changeset viewer.