Accessibility: Improve and modernize user interface controls for better contrast. Fourth part: Media Views form controls.
Props anevins, audrasjb, nrqsnchzm, kjellr, karmatosed. Fixes #47150. Built from https://develop.svn.wordpress.org/trunk@46244 git-svn-id: http://core.svn.wordpress.org/trunk@46056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
38be855367
commit
f9dbf1dd84
|
@ -85,11 +85,13 @@
|
|||
.media-frame input[type="url"],
|
||||
.media-frame textarea,
|
||||
.media-frame select {
|
||||
padding: 6px 8px;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
transition: box-shadow 0.1s linear;
|
||||
border: 1px solid #7e8993;
|
||||
border-radius: 4px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 12px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.media-frame input[type="text"]:focus,
|
||||
|
@ -100,7 +102,9 @@
|
|||
.media-frame input[type="url"]:focus,
|
||||
.media-frame textarea:focus,
|
||||
.media-frame select:focus {
|
||||
border-color: #5b9dd9;
|
||||
border-color: #007cba;
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
|
||||
.media-frame input:disabled,
|
||||
|
@ -209,7 +213,6 @@
|
|||
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.media-modal-close span.media-modal-icon {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-46243';
|
||||
$wp_version = '5.3-alpha-46244';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue