Make WordPress Core

Changeset 28830


Ignore:
Timestamp:
06/25/2014 05:38:28 PM (12 years ago)
Author:
wonderboymusic
Message:

The "old iframe media modal" has some pretty busted styles. Although this is a "deprecated" feature, clean up some of the broken styles.

Props erayalakese for the JS patch.
Fixes #28220.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/deprecated-media.css

    r28829 r28830  
    2525}
    2626
    27 #media-upload,
    28 #media-upload .media-item .slidetoggle {
    29         background: #fff;
    30 }
    31 
    3227#media-upload .slidetoggle {
    3328        border-top-color: #dfdfdf;
    … …  
    186181        float: right;
    187182        font-size: 11px;
    188         margin: 3px 10px 0;
     183        margin: 8px 10px 0;
    189184}
    190185
    … …  
    218213
    219214#media-upload .widefat {
    220         width: 626px;
    221215        border-style: solid solid none;
    222216}
    … …  
    274268#gallery-settings .describe {
    275269        padding: 5px;
    276         width: 615px;
     270        width: 100%;
    277271        clear: both;
    278272        cursor: default;
     273        background: #fff;
    279274}
    280275
    … …  
    328323
    329324p.media-types {
    330         margin: 1em;
     325        padding: 1em;
    331326}
    332327
  • trunk/src/wp-admin/css/media.css

    r27842 r28830  
    103103        line-height: 36px;
    104104        float: right;
     105        margin-right: 6px;
    105106}
    106107
    … …  
    119120        position: relative;
    120121        width: 100%;
    121 }
    122 
    123 #media-items {
    124         width: 623px;
     122        background: #fff;
    125123}
    126124
    … …  
    144142.media-item .pinkynail {
    145143        float: left;
    146         margin: 2px 10px 0 0;
     144        margin: 2px 10px 0 3px;
    147145        max-width: 40px;
    148146        max-height: 32px;
  • trunk/src/wp-admin/js/media-upload.js

    r27248 r28830  
    4141                        width = $(window).width(),
    4242                        H = $(window).height(),
    43                         W = ( 720 < width ) ? 720 : width,
     43                        W = ( 833 < width ) ? 833 : width,
    4444                        adminbar_height = 0;
    4545
Note: See TracChangeset for help on using the changeset viewer.