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.


git-svn-id: https://develop.svn.wordpress.org/trunk@38435 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2016-08-29 21:07:31 +00:00
parent 88de856e57
commit 2936068f96
1 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,7 @@ textarea {
.wp-admin input[type="file"] {
padding: 3px 0;
cursor: pointer;
}
label {
@ -297,6 +298,7 @@ input[type="range"].disabled {
background: none;
-webkit-box-shadow: none;
box-shadow: none;
cursor: default;
}
input[type="checkbox"]:disabled,