Make WordPress Core

Changeset 32861


Ignore:
Timestamp:
06/19/2015 06:48:06 PM (11 years ago)
Author:
wonderboymusic
Message:

Improve focus when previewing an oEmbed from Add Media Panel

Props afercia.
Fixes #28820.

File:
1 edited

Legend:

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

    r32677 r32861  
    12191219.upload-errors .upload-error {
    12201220        padding: 12px;
    1221         margin-bottom: 12px; 
    1222         background: #fff; 
    1223         border-left: 4px solid #dd3d36;
    1224         -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    1225         box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
     1221        margin-bottom: 12px;
     1222        background: #fff;
     1223        border-left: 4px solid #dd3d36;
     1224        -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
     1225        box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    12261226}
    12271227
     
    18101810}
    18111811
     1812.media-embed .embed-link-settings {
     1813        /* avoid Firefox to give focus to the embed preview container parent */
     1814        overflow: visible;
     1815}
     1816
    18121817.embed-preview img,
    18131818.embed-preview iframe,
    1814 .embed-preview embed {
     1819.embed-preview embed,
     1820.mejs-container video {
    18151821        max-width: 100%;
     1822        vertical-align: middle;
    18161823}
    18171824
     
    18231830        display: block;
    18241831        height: auto;
     1832}
     1833
     1834.mejs-container:focus {
     1835        outline: 1px solid #5b9dd9;
     1836        box-shadow: 0 0 2px 1px rgba(30, 140, 190, .8);
    18251837}
    18261838
Note: See TracChangeset for help on using the changeset viewer.