Administration: Improve color contrast of 'Add New' buttons.

This also includes improved focus styles for 'Add New'.

fixes #34876, #34864.


git-svn-id: https://develop.svn.wordpress.org/trunk@35791 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Michael Arestad 2015-12-06 21:06:33 +00:00
parent ded2547b57
commit 53430a7343

View File

@ -593,9 +593,10 @@ code {
top: -3px;
text-decoration: none;
border: none;
border: 1px solid #ccc;
-webkit-border-radius: 2px;
border-radius: 2px;
background: #e0e0e0;
background: #f7f7f7;
text-shadow: none;
font-weight: 600;
font-size: 13px;
@ -603,10 +604,17 @@ code {
.wrap .add-new-h2:hover, /* deprecated */
.wrap .page-title-action:hover {
border-color: #008EC2;
background: #00a0d2;
color: #fff;
}
.wrap .page-title-action:focus {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
}
.wrap h1.long-header {
padding-right: 0;
}