Make WordPress Core

Changeset 29340


Ignore:
Timestamp:
08/01/2014 06:09:47 PM (10 years ago)
Author:
markjaquith
Message:

Match background color in DFW and adapt the dashed outline color.

fixes #28330. props avryl, ipstenu.

Location:
trunk/src
Files:
3 edited

Legend:

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

    r28455 r29340  
    199199        }
    200200
     201        $( '#fullscreen-overlay' ).css( 'background-color', s.editor.dom.getStyle( s.editor.getBody(), 'background-color', true ) );
     202        s.$dfwTitle.add( s.$editorContainer ).css( 'color', s.editor.dom.getStyle( s.editor.getBody(), 'color', true ) );
     203
    201204        api.ui.fade( 'show', 'showing', 'shown' );
    202205    };
     
    414417
    415418    ps.subscribe( 'hiding', function() { // This event occurs while the overlay blocks the DFW UI.
     419        s.$dfwTitle.add( s.$editorContainer ).css( 'color', '' );
     420
    416421        $body.removeClass( 'wp-fullscreen-active' );
    417422
  • trunk/src/wp-includes/css/editor.css

    r29321 r29340  
    17981798    -webkit-transition-duration: 0.4s;
    17991799    transition-duration: 0.4s;
    1800     border-color: #ccc;
     1800    border-color: currentColor;
    18011801}
    18021802
     
    18471847.wp-fullscreen-active.wp-dfw-touch  .wp-fullscreen-title,
    18481848.wp-fullscreen-active.wp-dfw-touch .wp-editor-container {
    1849     border-color: #ccc;
     1849    border-color: currentColor;
    18501850}
    18511851
  • trunk/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

    r29317 r29340  
    3838html.wp-fullscreen,
    3939html.wp-fullscreen body {
    40     background: transparent;
    4140    width: auto;
    4241    max-width: none;
Note: See TracChangeset for help on using the changeset viewer.