WordPress.org

Make WordPress Core

Changeset 29296


Ignore:
Timestamp:
07/25/2014 12:30:28 AM (5 years ago)
Author:
wonderboymusic
Message:

Media Grid: improve uploader styles.

Props michalzuber, ericlewis.
See #28851.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

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

    r29289 r29296  
    10071007}
    10081008
     1009.attachments-browser .uploader-inline {
     1010    border: 4px dashed #bbb;
     1011}
     1012
    10091013.attachments-browser .uploader-inline:not(.hidden) + .attachments {
    10101014    top: 350px;
     
    10251029    height: 48px;
    10261030    position: absolute;
    1027     right: 20px;
     1031    right: 0;
    10281032    text-align: center;
    1029     top: 20px;
     1033    top: 0;
    10301034    width: 50px;
    10311035    z-index: 1;
     
    12381242
    12391243.media-frame .uploader-inline {
    1240     margin: 20px;
    1241     padding: 20px;
     1244    margin-bottom: 20px;
     1245    padding: 0;
    12421246    text-align: center;
    12431247}
     
    12511255
    12521256.uploader-inline-content .upload-ui {
    1253     margin: 4em 0;
     1257    margin: 2em 0;
    12541258}
    12551259
     
    12661270    line-height: 28px;
    12671271    font-weight: 400;
    1268     margin-bottom: 1.6em;
     1272    margin: 0;
    12691273}
    12701274
     
    12851289.uploader-inline p {
    12861290    font-size: 12px;
     1291    margin: 0.5em 0;
    12871292}
    12881293
  • trunk/src/wp-includes/media-template.php

    r29295 r29296  
    178178        <?php else : ?>
    179179            <div class="upload-ui">
    180                 <h3 class="upload-instructions drop-instructions"><?php _e( 'Drop files anywhere to upload' ); ?></h3>
    181                 <a href="#" class="browser button button-hero"><?php _e( 'Select Files' ); ?></a>
     180                <h3 class="upload-instructions drop-instructions"><?php _e( 'Drop files here' ); ?></h3>
     181                <p><?php _e( 'or' ); ?></p>
     182                <a href="#" class="browser button"><?php _e( 'Select Files' ); ?></a>
    182183            </div>
    183184
Note: See TracChangeset for help on using the changeset viewer.