mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Administration: Update color contrast on UI elements.
The color palette changes in #49999 introduced some contrast issues on buttons, input elements, and links. This change ensures that all interactive elements have an appropriate contrast ratio. Follow-up to [50025]. Props audrasjb, joedolson. Fixes #52402. git-svn-id: https://develop.svn.wordpress.org/trunk@50278 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -238,8 +238,8 @@ TABLE OF CONTENTS:
|
||||
---------------------------------------------------------------------------- */
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #3582c4;
|
||||
border-color: #3582c4;
|
||||
background: #2271b1;
|
||||
border-color: #2271b1;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
text-shadow: none;
|
||||
@@ -249,8 +249,8 @@ TABLE OF CONTENTS:
|
||||
.wp-core-ui .button-primary:hover,
|
||||
.wp-core-ui .button-primary.focus,
|
||||
.wp-core-ui .button-primary:focus {
|
||||
background: #2271b1;
|
||||
border-color: #2271b1;
|
||||
background: #135e96;
|
||||
border-color: #135e96;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -258,7 +258,7 @@ TABLE OF CONTENTS:
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px #fff,
|
||||
0 0 0 3px #3582c4;
|
||||
0 0 0 3px #2271b1;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active,
|
||||
|
||||
Reference in New Issue
Block a user