WordPress.org

Make WordPress Core

Changeset 22184


Ignore:
Timestamp:
10/11/2012 04:11:47 AM (8 years ago)
Author:
koopersmith
Message:

Media Modal: Improve attachment remove button styles. see #21390.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

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

    r22180 r22184  
    375375    display: none;
    376376    position: absolute;
    377     top: 0;
    378     right: 0;
    379     height: 26px;
    380     width: 26px;
     377    top: 5px;
     378    right: 5px;
     379    height: 22px;
     380    width: 22px;
     381    padding: 0;
    381382    font-size: 20px;
    382     line-height: 24px;
     383    line-height: 20px;
    383384    text-align: center;
    384385    text-decoration: none;
    385386    color: #464646;
    386387    background: #fff;
     388    border-width: 0;
     389    box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
     390}
     391
     392.attachment .close:hover {
     393    box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.6 );
    387394}
    388395
  • trunk/wp-includes/media.php

    r22176 r22184  
    13431343
    13441344            <% if ( buttons.close ) { %>
    1345                 <a class="close" href="#">&times;</a>
     1345                <a class="close button" href="#">&times;</a>
    13461346            <% } %>
    13471347        </div>
Note: See TracChangeset for help on using the changeset viewer.