WordPress.org

Make WordPress Core

Changeset 29393


Ignore:
Timestamp:
08/06/2014 06:28:54 AM (6 years ago)
Author:
azaozz
Message:

Media modal/grid: fix the position of attachment icons, restore the background, fix in ie8. See #27423.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/media-views.css

    r29379 r29393  
    748748.attachment-preview {
    749749    position: relative;
     750    -webkit-box-shadow:
     751        inset 0 0 15px rgba( 0, 0, 0, 0.1 ),
     752        inset 0 0 0 1px rgba( 0, 0, 0, 0.05 );
     753    box-shadow:
     754        inset 0 0 15px rgba( 0, 0, 0, 0.1 ),
     755        inset 0 0 0 1px rgba( 0, 0, 0, 0.05 );
     756    background: #eee;
     757    cursor: pointer;
    750758}
    751759
     
    813821    -ms-transform: translate(-50%,-50%);
    814822    transform: translate( -50%, -50% );
     823}
     824
     825.attachment .thumbnail .centered img.icon {
     826    -webkit-transform: translate( -50%, -70% );
     827    -ms-transform: translate(-50%,-70%);
     828    transform: translate( -50%, -70% );
     829}
     830
     831.ie8 .attachment img.icon {
     832    top: 20%;
     833    position: relative;
    815834}
    816835
     
    22052224    .media-frame .search {
    22062225        padding: 3px 6px;
    2207     }
    2208 
    2209     .media-frame-content .attachment .icon {
    2210         top: 40%;
    22112226    }
    22122227
Note: See TracChangeset for help on using the changeset viewer.