mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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 {
|
||||
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 {
|
||||
|
@ -1342,7 +1342,7 @@ function wp_print_media_templates( $attachment ) {
|
||||
<% } %>
|
||||
|
||||
<% if ( buttons.close ) { %>
|
||||
<a class="close" href="#">×</a>
|
||||
<a class="close button" href="#">×</a>
|
||||
<% } %>
|
||||
</div>
|
||||
<% if ( describe ) { %>
|
||||
|
Loading…
Reference in New Issue
Block a user