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

git-svn-id: https://develop.svn.wordpress.org/trunk@22184 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith 2012-10-11 04:11:47 +00:00
parent 37fe9438dd
commit a5fc058f89
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 ) { %>