In the `Attachment Details` section of the media modal, only add `box-shadow` to images. Other mime-type icons look strange with an arbitrary border.

Props avryl.
Fixes #27949.


Built from https://develop.svn.wordpress.org/trunk@28369


git-svn-id: http://core.svn.wordpress.org/trunk@28197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-11 06:19:14 +00:00
parent 2bea9fcc0b
commit 558cf6f86d
5 changed files with 5 additions and 5 deletions

View File

@ -1390,7 +1390,7 @@
margin-top: 35px; margin-top: 35px;
} }
.attachment-info .thumbnail:after { .attachment-info .thumbnail-image:after {
content: ''; content: '';
display: block; display: block;
position: absolute; position: absolute;

File diff suppressed because one or more lines are too long

View File

@ -1390,7 +1390,7 @@
margin-top: 35px; margin-top: 35px;
} }
.attachment-info .thumbnail:after { .attachment-info .thumbnail-image:after {
content: ''; content: '';
display: block; display: block;
position: absolute; position: absolute;

File diff suppressed because one or more lines are too long

View File

@ -285,7 +285,7 @@ function wp_print_media_templates() {
</span> </span>
</h3> </h3>
<div class="attachment-info"> <div class="attachment-info">
<div class="thumbnail"> <div class="thumbnail thumbnail-{{ data.type }}">
<# if ( data.uploading ) { #> <# if ( data.uploading ) { #>
<div class="media-progress-bar"><div></div></div> <div class="media-progress-bar"><div></div></div>
<# } else if ( 'image' === data.type ) { #> <# } else if ( 'image' === data.type ) { #>