Circular focus styling for expand/collapse arrows.

Affects postboxes, widgets, and nav menus, all in the admin.

props grvrulz for the initial patch.
see #33808.

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


git-svn-id: http://core.svn.wordpress.org/trunk@35166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí
2015-10-15 16:47:25 +00:00
parent 3eb4a57c27
commit 50288dea5a
7 changed files with 117 additions and 51 deletions

View File

@@ -579,7 +579,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Menu item controls */
.item-type {
display: inline-block;
padding: 12px 10px;
padding: 12px 16px;
color: #666;
font-size: 12px;
line-height: 18px;
@@ -618,6 +618,28 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
white-space: nowrap;
}
.nav-menus-php .item-edit:before {
margin-top: 10px;
margin-right: 4px;
width: 20px;
border-radius: 50%;
text-indent: -1px; /* account for the dashicon alignment */
}
.nav-menus-php .item-edit:focus {
-webkit-box-shadow: none;
box-shadow: none;
}
.nav-menus-php .item-edit:focus:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
/* Menu editing */
.menu-instructions-inactive {
display: none;