Make WordPress Core

Changeset 28116


Ignore:
Timestamp:
04/14/2014 08:14:01 AM (10 years ago)
Author:
azaozz
Message:

DFW:

  • Add background color and remove the top border from the status bar (at the bottom).
  • Fix spinner to always be next to the Save button.
  • Remove width: auto; from .mce-fixed-width.

Fixes #27709

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/wp-fullscreen.js

    r28043 r28116  
    270270        $spinner.show();
    271271        $errorMessage.hide();
     272        $saveMessage.hide();
    272273        $hidden.val('wp-fullscreen-save-post');
    273274
  • trunk/src/wp-includes/class-wp-editor.php

    r28112 r28116  
    12651265        <div id="wp-fullscreen-save">
    12661266            <input type="button" class="button button-primary right" value="<?php echo $save; ?>" onclick="wp.editor.fullscreen.save();" />
    1267             <span class="spinner"></span>
    12681267            <span class="wp-fullscreen-saved-message"><?php if ( $post->post_status == 'publish' ) _e('Updated.'); else _e('Saved.'); ?></span>
    12691268            <span class="wp-fullscreen-error-message"><?php _e('Save failed.'); ?></span>
     1269            <span class="spinner"></span>
    12701270        </div>
    12711271
  • trunk/src/wp-includes/css/editor.css

    r28094 r28116  
    472472
    473473.mce-menubtn.mce-fixed-width button span {
    474     width: auto;
    475474    max-width: 80px;
    476475    padding-right: 16px;
     
    14691468}
    14701469
    1471 .wp-fullscreen-active .fullscreen-fader {
     1470.wp-fullscreen-active .fullscreen-fader,
     1471.wp-core-ui.wp-fullscreen-active .postbox-container {
    14721472    display: none;
    14731473}
     
    15271527    margin: 0 auto;
    15281528    padding: 0;
    1529     border-top: 1px dashed #ccc;
    15301529}
    15311530
     
    15441543
    15451544.wp-fullscreen-active .wp-editor-container {
    1546     margin: 0 auto 30px;
    1547     border-bottom: 0;
     1545    margin: 0 auto 40px;
    15481546}
    15491547
     
    16161614    margin: auto;
    16171615    padding: 0;
    1618     min-width: 550px;
     1616    min-width: 620px;
    16191617}
    16201618
     
    17081706
    17091707.wp-fullscreen-active.wp-dfw-show-ui #wp-fullscreen-statusbar {
    1710     height: 30px;
     1708    height: 29px;
     1709    background: #f8f8f8;
     1710    border-top: 1px solid #eee;
    17111711}
    17121712
     
    18371837        width: 480px;
    18381838    }
    1839    
     1839
     1840    #fullscreen-topbar {
     1841        position: absolute;
     1842    }
     1843
    18401844    #wp-fullscreen-status {
    18411845        width: auto !important;
Note: See TracChangeset for help on using the changeset viewer.