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:
parent
4c9f50537c
commit
6a8cccc226
|
@ -374,16 +374,23 @@
|
||||||
.attachment .close {
|
.attachment .close {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 5px;
|
||||||
right: 0;
|
right: 5px;
|
||||||
height: 26px;
|
height: 22px;
|
||||||
width: 26px;
|
width: 22px;
|
||||||
|
padding: 0;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
line-height: 24px;
|
line-height: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #464646;
|
color: #464646;
|
||||||
background: #fff;
|
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 {
|
.attachment:hover .close {
|
||||||
|
|
|
@ -1342,7 +1342,7 @@ function wp_print_media_templates( $attachment ) {
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<% if ( buttons.close ) { %>
|
<% if ( buttons.close ) { %>
|
||||||
<a class="close" href="#">×</a>
|
<a class="close button" href="#">×</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
<% if ( describe ) { %>
|
<% if ( describe ) { %>
|
||||||
|
|
Loading…
Reference in New Issue