Make WordPress Core

Ticket #28851: 28851.4.diff

File 28851.4.diff, 1.9 KB (added by michalzuber, 11 years ago)

Edit of 28851.3.diff, props ocean90

  • src/wp-includes/css/media-views.css

     
    10211021        outline: none;
    10221022}
    10231023
     1024.attachments-browser .uploader-inline {
     1025        border: 4px dashed #bbb;
     1026}
     1027
    10241028.attachments-browser .uploader-inline:not(.hidden) + .attachments {
    10251029        top: 350px;
    10261030}
     
    10391043        cursor: pointer;
    10401044        height: 48px;
    10411045        position: absolute;
    1042         right: 20px;
     1046        right: 0;
    10431047        text-align: center;
    1044         top: 20px;
     1048        top: 0;
    10451049        width: 50px;
    10461050        z-index: 1;
    10471051}
     
    13381342}
    13391343
    13401344.media-frame .uploader-inline {
    1341         margin: 20px;
    1342         padding: 20px;
     1345        margin-bottom: 20px;
     1346        padding: 0;
    13431347        text-align: center;
    13441348}
    13451349
     
    13511355}
    13521356
    13531357.uploader-inline-content .upload-ui {
    1354         margin: 4em 0;
     1358        margin: 2em 0;
    13551359}
    13561360
    13571361.uploader-inline-content .post-upload-ui {
     
    13661370        font-size: 20px;
    13671371        line-height: 28px;
    13681372        font-weight: 400;
    1369         margin-bottom: 1.6em;
     1373        margin: 0;
    13701374}
    13711375
    13721376.uploader-inline .has-upload-message .upload-instructions {
     
    13851389
    13861390.uploader-inline p {
    13871391        font-size: 12px;
     1392        margin: 0.5em 0;
    13881393}
    13891394
    13901395.uploader-inline .media-progress-bar {
  • src/wp-includes/media-template.php

     
    177177
    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
    184185                        <div class="upload-inline-status"></div>