Media Modal: Improve attachment remove button styles. see #21390.

git-svn-id: http://core.svn.wordpress.org/trunk@22184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Daryl Koopersmith 2012-10-11 04:11:47 +00:00
parent 4c9f50537c
commit 6a8cccc226
2 changed files with 13 additions and 6 deletions

View File

@ -374,16 +374,23 @@
.attachment .close {
display: none;
position: absolute;
top: 0;
right: 0;
height: 26px;
width: 26px;
top: 5px;
right: 5px;
height: 22px;
width: 22px;
padding: 0;
font-size: 20px;
line-height: 24px;
line-height: 20px;
text-align: center;
text-decoration: none;
color: #464646;
background: #fff;
border-width: 0;
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
}
.attachment .close:hover {
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 );
}
.attachment:hover .close {

View File

@ -1342,7 +1342,7 @@ function wp_print_media_templates( $attachment ) {
<% } %>
<% if ( buttons.close ) { %>
<a class="close" href="#">&times;</a>
<a class="close button" href="#">&times;</a>
<% } %>
</div>
<% if ( describe ) { %>