mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Accessibility: Administration: Update various background colors for increased contrast.
This ensures that contrast between text color and background meets the WCAG 2.0 AA recommended value. The following locations were changed: - Network List Tables: Use lighter background colors for site status indicator. - Nav Menus: Use a lighter background color for invalid menu items. - Pointers: Use a darker background for pointer header. - Themes: Use darker background on filter button hover. - Customizer: Use darker background for selected widget. Follow-up to [50025], [50571]. Props kebbet, melchoyce, peterwilsoncc. Fixes #52760. git-svn-id: https://develop.svn.wordpress.org/trunk@50687 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1179,7 +1179,7 @@ th.action-links {
|
||||
|
||||
.show-filters .wp-filter .drawer-toggle:hover,
|
||||
.show-filters .wp-filter .drawer-toggle:focus {
|
||||
background: #72aee6;
|
||||
background: #2271b1;
|
||||
}
|
||||
|
||||
.show-filters .wp-filter .drawer-toggle:before {
|
||||
|
||||
@@ -137,7 +137,7 @@
|
||||
#customize-theme-controls .move-widget-area {
|
||||
display: none;
|
||||
background: #fff;
|
||||
border: 1px solid #dcdcde;
|
||||
border: 1px solid #c3c4c7;
|
||||
border-top: none;
|
||||
cursor: auto;
|
||||
}
|
||||
@@ -163,7 +163,7 @@
|
||||
margin: 0;
|
||||
padding: 13px 15px 15px 42px;
|
||||
color: #50575e;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
border-top: 1px solid #c3c4c7;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
@@ -182,13 +182,12 @@
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select li:last-child {
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
border-bottom: 1px solid #c3c4c7;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
|
||||
background: #72aee6;
|
||||
background: #2271b1;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected:before {
|
||||
|
||||
@@ -1577,20 +1577,16 @@ div.action-links,
|
||||
/* ms */
|
||||
/* Background Color for Site Status */
|
||||
.wp-list-table .site-deleted,
|
||||
.wp-list-table tr.site-deleted {
|
||||
background: #ff8085;
|
||||
}
|
||||
.wp-list-table .site-spammed,
|
||||
.wp-list-table tr.site-spammed {
|
||||
background: #ffabaf;
|
||||
}
|
||||
.wp-list-table tr.site-deleted,
|
||||
.wp-list-table .site-archived,
|
||||
.wp-list-table tr.site-archived {
|
||||
background: #fcf0f1;
|
||||
}
|
||||
.wp-list-table .site-spammed,
|
||||
.wp-list-table tr.site-spammed,
|
||||
.wp-list-table .site-mature,
|
||||
.wp-list-table tr.site-mature {
|
||||
background: #facfd2;
|
||||
background: #fcf9e8;
|
||||
}
|
||||
|
||||
.sites.fixed .column-lastupdated,
|
||||
|
||||
@@ -455,8 +455,8 @@ ul.add-menu-item-tabs li {
|
||||
}
|
||||
|
||||
#menu-to-edit .menu-item-invalid .menu-item-handle {
|
||||
background: #facfd2;
|
||||
border-color: #ffabaf;
|
||||
background: #fcf0f1;
|
||||
border-color: #d63638;
|
||||
}
|
||||
|
||||
.no-js .menu-item-edit-active .item-edit {
|
||||
|
||||
Reference in New Issue
Block a user