List tables: Better focus styling for the row toggle.

This circular focus styling could probably be expanded to other areas of the admin.

props hugobaeta.
see #32395.

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


git-svn-id: http://core.svn.wordpress.org/trunk@33118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-07-09 19:12:25 +00:00
parent e023d86c74
commit 70a8c3e83d
5 changed files with 15 additions and 13 deletions

View File

@ -457,7 +457,7 @@ th.asc a:focus span.sorting-indicator:before {
cursor: pointer;
}
.wp-list-table .toggle-row:focus {
.wp-list-table .toggle-row:focus:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
@ -466,7 +466,7 @@ th.asc a:focus span.sorting-indicator:before {
0 0 2px 1px rgba(30, 140, 190, .8);
}
.ie8 .wp-list-table .toggle-row:focus {
.ie8 .wp-list-table .toggle-row:focus:before {
outline: #5b9dd9 solid 1px;
}
@ -477,14 +477,15 @@ th.asc a:focus span.sorting-indicator:before {
.wp-list-table .toggle-row:before {
position: absolute;
top: 0;
top: -5px;
right: 10px;
border-radius: 50%;
display: block;
padding: 0;
padding: 1px 0 1px 2px;
color: #666;
content: '\f140';
font: normal 20px/1 'dashicons';
line-height: 10px;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
speak: none;

View File

@ -457,7 +457,7 @@ th.asc a:focus span.sorting-indicator:before {
cursor: pointer;
}
.wp-list-table .toggle-row:focus {
.wp-list-table .toggle-row:focus:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
@ -466,7 +466,7 @@ th.asc a:focus span.sorting-indicator:before {
0 0 2px 1px rgba(30, 140, 190, .8);
}
.ie8 .wp-list-table .toggle-row:focus {
.ie8 .wp-list-table .toggle-row:focus:before {
outline: #5b9dd9 solid 1px;
}
@ -477,14 +477,15 @@ th.asc a:focus span.sorting-indicator:before {
.wp-list-table .toggle-row:before {
position: absolute;
top: 0;
top: -5px;
left: 10px;
border-radius: 50%;
display: block;
padding: 0;
padding: 1px 2px 1px 0;
color: #666;
content: '\f140';
font: normal 20px/1 'dashicons';
line-height: 10px;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
speak: none;

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.3-beta2-33145';
$wp_version = '4.3-beta2-33146';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.