Accessibility: Reduce the WordPress shades of grey, first part.

See #35783.
Built from https://develop.svn.wordpress.org/trunk@36537


git-svn-id: http://core.svn.wordpress.org/trunk@36504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2016-02-16 16:09:29 +00:00
parent 3e65236aa7
commit 008cba0333
29 changed files with 63 additions and 57 deletions

View File

@ -661,11 +661,6 @@ ul.striped > :nth-child(odd),
border-left-color: #99d; border-left-color: #99d;
} }
.media-upload-form label.form-help,
td.help {
color: #9a9a9a;
}
/* Helper classes for plugins to leverage the active WordPress color scheme */ /* Helper classes for plugins to leverage the active WordPress color scheme */
.highlight { .highlight {
@ -2189,7 +2184,7 @@ body.iframe {
} }
.media-icon img { .media-icon img {
border: 1px solid #e7e7e7; border: 1px solid #e5e5e5;
border: 1px solid rgba(0, 0, 0, 0.07); border: 1px solid rgba(0, 0, 0, 0.07);
} }
@ -2563,7 +2558,7 @@ div.action-links {
#plugin-information .counter-back { #plugin-information .counter-back {
height: 17px; height: 17px;
width: 92px; width: 92px;
background-color: #ececec; background-color: #e5e5e5;
float: right; float: right;
} }

File diff suppressed because one or more lines are too long

View File

@ -661,11 +661,6 @@ ul.striped > :nth-child(odd),
border-right-color: #99d; border-right-color: #99d;
} }
.media-upload-form label.form-help,
td.help {
color: #9a9a9a;
}
/* Helper classes for plugins to leverage the active WordPress color scheme */ /* Helper classes for plugins to leverage the active WordPress color scheme */
.highlight { .highlight {
@ -2189,7 +2184,7 @@ body.iframe {
} }
.media-icon img { .media-icon img {
border: 1px solid #e7e7e7; border: 1px solid #e5e5e5;
border: 1px solid rgba(0, 0, 0, 0.07); border: 1px solid rgba(0, 0, 0, 0.07);
} }
@ -2563,7 +2558,7 @@ div.action-links {
#plugin-information .counter-back { #plugin-information .counter-back {
height: 17px; height: 17px;
width: 92px; width: 92px;
background-color: #ececec; background-color: #e5e5e5;
float: left; float: left;
} }

File diff suppressed because one or more lines are too long

View File

@ -69,6 +69,11 @@ div#media-upload-header {
padding: 0; padding: 0;
} }
.media-upload-form label.form-help,
td.help {
color: #72777c;
}
form { form {
margin: 1em; margin: 1em;
} }

File diff suppressed because one or more lines are too long

View File

@ -69,6 +69,11 @@ div#media-upload-header {
padding: 0; padding: 0;
} }
.media-upload-form label.form-help,
td.help {
color: #72777c;
}
form { form {
margin: 1em; margin: 1em;
} }

File diff suppressed because one or more lines are too long

View File

@ -1105,13 +1105,13 @@ p.popular-tags a {
} }
.ac_results { .ac_results {
display: none;
margin: -1px 0 0;
padding: 0; padding: 0;
margin: 0;
list-style: none; list-style: none;
position: absolute; position: absolute;
z-index: 10000; z-index: 10000;
display: none; border: 1px solid #5b9dd9;
border: 1px solid #808080;
background-color: #fff; background-color: #fff;
} }
@ -1120,14 +1120,16 @@ p.popular-tags a {
} }
.ac_results li { .ac_results li {
padding: 2px 5px; margin: 0;
padding: 5px 10px;
white-space: nowrap; white-space: nowrap;
color: #101010;
text-align: right; text-align: right;
} }
.ac_over { .ac_results .ac_over,
background-color: #f0f0b8; .ac_over .ac_match {
background-color: #0073aa;
color: #fff;
cursor: pointer; cursor: pointer;
} }

File diff suppressed because one or more lines are too long

View File

@ -1105,13 +1105,13 @@ p.popular-tags a {
} }
.ac_results { .ac_results {
display: none;
margin: -1px 0 0;
padding: 0; padding: 0;
margin: 0;
list-style: none; list-style: none;
position: absolute; position: absolute;
z-index: 10000; z-index: 10000;
display: none; border: 1px solid #5b9dd9;
border: 1px solid #808080;
background-color: #fff; background-color: #fff;
} }
@ -1120,14 +1120,16 @@ p.popular-tags a {
} }
.ac_results li { .ac_results li {
padding: 2px 5px; margin: 0;
padding: 5px 10px;
white-space: nowrap; white-space: nowrap;
color: #101010;
text-align: left; text-align: left;
} }
.ac_over { .ac_results .ac_over,
background-color: #f0f0b8; .ac_over .ac_match {
background-color: #0073aa;
color: #fff;
cursor: pointer; cursor: pointer;
} }

File diff suppressed because one or more lines are too long

View File

@ -224,7 +224,7 @@
#the-comment-list tr.undo, #the-comment-list tr.undo,
#the-comment-list div.undo { #the-comment-list div.undo {
background-color: #f4f4f4; background-color: #f5f5f5;
} }
#the-comment-list .unapproved th, #the-comment-list .unapproved th,
@ -695,7 +695,7 @@ th.asc a:focus span.sorting-indicator {
.tablenav-pages-navspan { .tablenav-pages-navspan {
display: inline-block; display: inline-block;
min-width: 17px; min-width: 17px;
border: 1px solid #d2d2d2; border: 1px solid #ccc; /* same color as buttons border */
padding: 3px 5px 7px; padding: 3px 5px 7px;
background: #e4e4e4; background: #e4e4e4;
font-size: 16px; font-size: 16px;

File diff suppressed because one or more lines are too long

View File

@ -224,7 +224,7 @@
#the-comment-list tr.undo, #the-comment-list tr.undo,
#the-comment-list div.undo { #the-comment-list div.undo {
background-color: #f4f4f4; background-color: #f5f5f5;
} }
#the-comment-list .unapproved th, #the-comment-list .unapproved th,
@ -695,7 +695,7 @@ th.asc a:focus span.sorting-indicator {
.tablenav-pages-navspan { .tablenav-pages-navspan {
display: inline-block; display: inline-block;
min-width: 17px; min-width: 17px;
border: 1px solid #d2d2d2; border: 1px solid #ccc; /* same color as buttons border */
padding: 3px 5px 7px; padding: 3px 5px 7px;
background: #e4e4e4; background: #e4e4e4;
font-size: 16px; font-size: 16px;

File diff suppressed because one or more lines are too long

View File

@ -492,7 +492,7 @@ border color while dragging a file over the uploader drop area */
content: "\f153"; content: "\f153";
display: block; display: block;
font: normal 16px/1 dashicons; font: normal 16px/1 dashicons;
color: #bbb; color: #b4b9be;
} }
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before, .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,
@ -909,7 +909,9 @@ border color while dragging a file over the uploader drop area */
.media-disabled, .media-disabled,
.imgedit-settings .disabled { .imgedit-settings .disabled {
color: grey; /* WCAG 1.4.3 Text or images of text that are part of an inactive user
interface component ... have no contrast requirement. */
color: #a0a5aa;
} }
.A1B1 { .A1B1 {

File diff suppressed because one or more lines are too long

View File

@ -492,7 +492,7 @@ border color while dragging a file over the uploader drop area */
content: "\f153"; content: "\f153";
display: block; display: block;
font: normal 16px/1 dashicons; font: normal 16px/1 dashicons;
color: #bbb; color: #b4b9be;
} }
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before, .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,
@ -909,7 +909,9 @@ border color while dragging a file over the uploader drop area */
.media-disabled, .media-disabled,
.imgedit-settings .disabled { .imgedit-settings .disabled {
color: grey; /* WCAG 1.4.3 Text or images of text that are part of an inactive user
interface component ... have no contrast requirement. */
color: #a0a5aa;
} }
.A1B1 { .A1B1 {

File diff suppressed because one or more lines are too long

View File

@ -775,7 +775,6 @@ dd {
.ac_results li { .ac_results li {
padding: 6px 16px; padding: 6px 16px;
white-space: nowrap; white-space: nowrap;
color: #101010;
text-align: right; text-align: right;
} }

File diff suppressed because one or more lines are too long

View File

@ -775,7 +775,6 @@ dd {
.ac_results li { .ac_results li {
padding: 6px 16px; padding: 6px 16px;
white-space: nowrap; white-space: nowrap;
color: #101010;
text-align: left; text-align: left;
} }

File diff suppressed because one or more lines are too long

View File

@ -246,7 +246,7 @@
* The currently active theme * The currently active theme
*/ */
.theme-browser .theme.active .theme-name { .theme-browser .theme.active .theme-name {
background: #2f2f2f; background: #23282d;
color: #fff; color: #fff;
padding-left: 110px; padding-left: 110px;
font-weight: 300; font-weight: 300;
@ -734,7 +734,7 @@ body.folded .theme-overlay .theme-wrap {
.theme-overlay .theme-author { .theme-overlay .theme-author {
margin: 15px 0 25px; margin: 15px 0 25px;
color: #686868; color: #72777c;
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
line-height: inherit; line-height: inherit;

File diff suppressed because one or more lines are too long

View File

@ -246,7 +246,7 @@
* The currently active theme * The currently active theme
*/ */
.theme-browser .theme.active .theme-name { .theme-browser .theme.active .theme-name {
background: #2f2f2f; background: #23282d;
color: #fff; color: #fff;
padding-right: 110px; padding-right: 110px;
font-weight: 300; font-weight: 300;
@ -734,7 +734,7 @@ body.folded .theme-overlay .theme-wrap {
.theme-overlay .theme-author { .theme-overlay .theme-author {
margin: 15px 0 25px; margin: 15px 0 25px;
color: #686868; color: #72777c;
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
line-height: inherit; line-height: inherit;

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-alpha-36536'; $wp_version = '4.5-alpha-36537';
/** /**
* 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.