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

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

fixes #34876, #34864.

Built from https://develop.svn.wordpress.org/trunk@35791


git-svn-id: http://core.svn.wordpress.org/trunk@35755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Michael Arestad 2015-12-06 21:07:25 +00:00
parent 714be37ea5
commit 5eae357697
5 changed files with 21 additions and 5 deletions

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-left: 0;
}

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;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-35790';
$wp_version = '4.5-alpha-35791';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.