Improve keyboard control of Edit Selection mode in the media manager.

See #29326
Props adamsilverstein


git-svn-id: https://develop.svn.wordpress.org/trunk@30374 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2014-11-18 03:33:11 +00:00
parent 9dc0f03b9a
commit 92ae13f0ee
2 changed files with 21 additions and 6 deletions
+6 -5
View File
@@ -925,7 +925,7 @@
}
.attachment .close {
display: none;
display: block;
position: absolute;
top: 5px;
right: 5px;
@@ -944,15 +944,16 @@
border-radius: 3px;
-webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
transition-duration: none;
transition-property: none;
}
.attachment .close:hover {
.attachment a.close:hover,
.attachment a.close:focus {
-webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 );
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 );
}
background-position: -36px 4px;
.attachment:hover .close {
display: block;
}
.attachment .check {