Customize: Improve styles for hover, focus, and active states on edit shortcuts.

Props michaelarestad.
Fixes #38758.

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


git-svn-id: http://core.svn.wordpress.org/trunk@39168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2016-11-14 18:49:30 +00:00
parent dfbcdae985
commit 05a9259cc5
5 changed files with 13 additions and 21 deletions

View File

@ -29,12 +29,6 @@
z-index: 5;
}
.widget .customize-partial-edit-shortcut button:active,
.customize-partial-edit-shortcut button:active {
padding: 3px;
border: 1px solid #0085ba;
}
/**
* Styles for the actual shortcut
*
@ -87,10 +81,12 @@
margin: auto;
}
.customize-partial-edit-shortcut button:hover,
.customize-partial-edit-shortcut button:hover {
background: #008ec2; /* matches primary buttons */
}
.customize-partial-edit-shortcut button:focus {
background: #008ec2; /* matches primary buttons */
border-color: #191e23; /* provides visual focus style with 4.5 contrast against background color */
box-shadow: 0 0 0 2px #008ec2;
}
body.customize-partial-edit-shortcuts-shown .customize-partial-edit-shortcut button {

File diff suppressed because one or more lines are too long

View File

@ -29,12 +29,6 @@
z-index: 5;
}
.widget .customize-partial-edit-shortcut button:active,
.customize-partial-edit-shortcut button:active {
padding: 3px;
border: 1px solid #0085ba;
}
/**
* Styles for the actual shortcut
*
@ -87,10 +81,12 @@
margin: auto;
}
.customize-partial-edit-shortcut button:hover,
.customize-partial-edit-shortcut button:hover {
background: #008ec2; /* matches primary buttons */
}
.customize-partial-edit-shortcut button:focus {
background: #008ec2; /* matches primary buttons */
border-color: #191e23; /* provides visual focus style with 4.5 contrast against background color */
box-shadow: 0 0 0 2px #008ec2;
}
body.customize-partial-edit-shortcuts-shown .customize-partial-edit-shortcut button {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-beta3-39227';
$wp_version = '4.7-beta3-39228';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.