WordPress.org

Make WordPress Core

Changeset 32072


Ignore:
Timestamp:
04/07/2015 09:28:15 PM (4 years ago)
Author:
helen
Message:

Media: Fix focus and selected state for the selected attachments set.

props iseulde.
fixes #31898.

File:
1 edited

Legend:

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

    r32051 r32072  
    897897}
    898898
    899 .wp-core-ui .attachment .thumbnail .centered img.icon {
     899.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon {
    900900    -webkit-transform: translate( -50%, -70% );
    901901    -ms-transform: translate(-50%,-70%);
     
    14411441    padding: 0;
    14421442    margin: 4px;
    1443     -webkit-box-shadow: none;
    1444     box-shadow: none;
    14451443}
    14461444
     
    14621460}
    14631461
    1464 .media-selection .attachment.selection.details .thumbnail {
     1462.wp-core-ui .media-selection .attachment:focus,
     1463.wp-core-ui .media-selection .selected.attachment:focus,
     1464.wp-core-ui .media-selection .attachment.details:focus {
     1465    -webkit-box-shadow:
     1466        0 0 0 1px #fff,
     1467        0 0 2px 3px #5b9dd9;
     1468    box-shadow:
     1469        0 0 0 1px #fff,
     1470        0 0 2px 3px #5b9dd9;
     1471}
     1472
     1473.wp-core-ui .media-selection .selected.attachment {
     1474    -webkit-box-shadow: none;
     1475    box-shadow: none;
     1476}
     1477
     1478.wp-core-ui .media-selection .attachment.details {
    14651479    -webkit-box-shadow:
    14661480        0 0 0 1px #fff,
Note: See TracChangeset for help on using the changeset viewer.