mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-26 10:11:29 +01:00
Only apply a subtle semi-transparent border to attachments that are images in the media list table.
See [28842], #15860. Built from https://develop.svn.wordpress.org/trunk@28843 git-svn-id: http://core.svn.wordpress.org/trunk@28647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ec4934d66e
commit
9739b9b74d
@ -1653,11 +1653,14 @@ td.media-icon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
td.media-icon img {
|
td.media-icon img {
|
||||||
border: 1px solid rgba(0, 0, 0, 0.07);
|
|
||||||
max-width: 80px;
|
max-width: 80px;
|
||||||
max-height: 60px;
|
max-height: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td.image-icon img {
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.07);
|
||||||
|
}
|
||||||
|
|
||||||
#howto {
|
#howto {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
|
@ -1653,11 +1653,14 @@ td.media-icon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
td.media-icon img {
|
td.media-icon img {
|
||||||
border: 1px solid rgba(0, 0, 0, 0.07);
|
|
||||||
max-width: 80px;
|
max-width: 80px;
|
||||||
max-height: 60px;
|
max-height: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td.image-icon img {
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.07);
|
||||||
|
}
|
||||||
|
|
||||||
#howto {
|
#howto {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -279,7 +279,8 @@ foreach ( $columns as $column_name => $column_display_name ) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'icon':
|
case 'icon':
|
||||||
$attributes = 'class="column-icon media-icon"' . $style;
|
list( $mime ) = explode( '/', $post->post_mime_type );
|
||||||
|
$attributes = 'class="column-icon media-icon ' . $mime . '-icon"' . $style;
|
||||||
?>
|
?>
|
||||||
<td <?php echo $attributes ?>><?php
|
<td <?php echo $attributes ?>><?php
|
||||||
if ( $thumb = wp_get_attachment_image( $post->ID, array( 80, 60 ), true ) ) {
|
if ( $thumb = wp_get_attachment_image( $post->ID, array( 80, 60 ), true ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user