diff --git a/src/wp-includes/css/media-views.css b/src/wp-includes/css/media-views.css index ec6ba6fb80..723d9d033b 100644 --- a/src/wp-includes/css/media-views.css +++ b/src/wp-includes/css/media-views.css @@ -747,6 +747,14 @@ .attachment-preview { position: relative; + -webkit-box-shadow: + inset 0 0 15px rgba( 0, 0, 0, 0.1 ), + inset 0 0 0 1px rgba( 0, 0, 0, 0.05 ); + box-shadow: + inset 0 0 15px rgba( 0, 0, 0, 0.1 ), + inset 0 0 0 1px rgba( 0, 0, 0, 0.05 ); + background: #eee; + cursor: pointer; } .attachment-preview:before { @@ -814,6 +822,17 @@ transform: translate( -50%, -50% ); } +.attachment .thumbnail .centered img.icon { + -webkit-transform: translate( -50%, -70% ); + -ms-transform: translate(-50%,-70%); + transform: translate( -50%, -70% ); +} + +.ie8 .attachment img.icon { + top: 20%; + position: relative; +} + .attachment .filename { position: absolute; left: 0; @@ -2206,10 +2225,6 @@ padding: 3px 6px; } - .media-frame-content .attachment .icon { - top: 40%; - } - .image-details .media-modal { left: 30px; right: 30px;