Accessibility: Change all the #f00 and red to the official WordPress accent red.

WordPress should exclusively use colors from the official colors palette, see
https://make.wordpress.org/design/handbook/design-guide/foundations/colors/
Partially addresses accessibility color contrast ratio issues.

See #35622.


git-svn-id: https://develop.svn.wordpress.org/trunk@41711 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2017-10-03 16:01:57 +00:00
parent 23b1296432
commit d3f5e2b5dc
6 changed files with 8 additions and 8 deletions

View File

@ -2259,7 +2259,7 @@ table .column-rating {
.attention,
.error-message {
color: red;
color: #dc3232;
font-weight: 600;
}

View File

@ -439,7 +439,7 @@
.menu-item-bar .item-delete:focus {
box-shadow: none;
outline: none;
color: #f00;
color: #dc3232;
}
.adding-menu-items .menu-item-bar .item-edit {
@ -564,7 +564,7 @@
.menu-name-field.invalid:focus,
#available-menu-items .new-content-item .create-item-input.invalid,
#available-menu-items .new-content-item .create-item-input.invalid:focus {
border: 1px solid #f00;
border: 1px solid #dc3232;
}
#available-menu-items .menu-item-handle .item-type {

View File

@ -1094,7 +1094,7 @@ border color while dragging a file over the uploader drop area */
}
span.imgedit-scale-warn {
color: red;
color: #dc3232;
font-size: 20px;
font-style: normal;
visibility: hidden;

View File

@ -155,7 +155,7 @@
}
.media-frame #embed-url-field.invalid {
border: 1px solid #f00;
border: 1px solid #dc3232;
}
.media-widget-image-link {

View File

@ -1444,7 +1444,7 @@
.selection-info .clear-selection:hover,
.selection-info .clear-selection:focus {
color: red;
color: #dc3232;
}
.media-selection .selection-view {
@ -1664,7 +1664,7 @@
.media-modal .trash-attachment:focus,
.media-modal .untrash-attachment:hover,
.media-modal .untrash-attachment:focus {
color: red;
color: #dc3232;
}
/**

View File

@ -92,7 +92,7 @@
}
.media-embed-details .setting a:hover {
color: #f00;
color: #dc3232;
}
.media-embed-details .embed-media-settings .checkbox-setting {