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. Built from https://develop.svn.wordpress.org/trunk@38435 git-svn-id: http://core.svn.wordpress.org/trunk@38376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
27770f200c
commit
42c4653c9a
|
@ -204,6 +204,7 @@ textarea {
|
||||||
|
|
||||||
.wp-admin input[type="file"] {
|
.wp-admin input[type="file"] {
|
||||||
padding: 3px 0;
|
padding: 3px 0;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
|
@ -297,6 +298,7 @@ input[type="range"].disabled {
|
||||||
background: none;
|
background: none;
|
||||||
-webkit-box-shadow: none;
|
-webkit-box-shadow: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="checkbox"]:disabled,
|
input[type="checkbox"]:disabled,
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -204,6 +204,7 @@ textarea {
|
||||||
|
|
||||||
.wp-admin input[type="file"] {
|
.wp-admin input[type="file"] {
|
||||||
padding: 3px 0;
|
padding: 3px 0;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
|
@ -297,6 +298,7 @@ input[type="range"].disabled {
|
||||||
background: none;
|
background: none;
|
||||||
-webkit-box-shadow: none;
|
-webkit-box-shadow: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="checkbox"]:disabled,
|
input[type="checkbox"]:disabled,
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-alpha-38434';
|
$wp_version = '4.7-alpha-38435';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue