Accessibility: Improve and modernize user interface controls: Make the secondary buttons border blue.

Props drw158, youknowriad, kjellr, melchoyce, talldanwp, audrasjb.
See #34904.


git-svn-id: https://develop.svn.wordpress.org/trunk@46344 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2019-09-29 21:52:38 +00:00
parent 47643f7621
commit ef206a787f
5 changed files with 44 additions and 22 deletions

View File

@@ -123,9 +123,9 @@ TABLE OF CONTENTS:
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #555;
border-color: #7e8993;
background: #f1f1f1;
color: #0071a1;
border-color: #0071a1;
background: #f3f5f6;
vertical-align: top;
}
@@ -139,9 +139,9 @@ TABLE OF CONTENTS:
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
background: #f3f5f6;
border-color: #7e8993;
color: #007cba;
background: #f1f1f1;
border-color: #016087;
color: #016087;
}
.wp-core-ui .button.focus,
@@ -157,15 +157,15 @@ TABLE OF CONTENTS:
.wp-core-ui .button.active:hover,
.wp-core-ui .button:active,
.wp-core-ui .button-secondary:active {
background: #eee;
border-color: #999;
background: #f3f5f6;
border-color: #7e8993;
transform: translateY(1px);
box-shadow: none;
}
.wp-core-ui .button.active:focus {
border-color: #999;
box-shadow: 0 0 0 1px #999;
border-color: #7e8993;
box-shadow: 0 0 0 1px #7e8993;
}
.wp-core-ui .button[disabled],
@@ -319,6 +319,7 @@ TABLE OF CONTENTS:
.wp-core-ui .button-group > .button.active {
background-color: #e2e4e7;
box-shadow: inset 0 1px 0 0 #999;
border-color: #016087;
}
.wp-core-ui .button-group > .button:active,