mirror of
https://github.com/WordPress/WordPress.git
synced 2025-04-07 04:26:02 +02:00
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"] {
|
||||
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,
|
||||
|
2
wp-admin/css/forms-rtl.min.css
vendored
2
wp-admin/css/forms-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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,
|
||||
|
2
wp-admin/css/forms.min.css
vendored
2
wp-admin/css/forms.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/login-rtl.min.css
vendored
2
wp-admin/css/login-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/login.min.css
vendored
2
wp-admin/css/login.min.css
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user