Make WordPress Core

Changeset 29533


Ignore:
Timestamp:
08/18/2014 06:22:54 PM (11 years ago)
Author:
azaozz
Message:

DFW: revert applying the Visual editor body color and background-color for now. Set the color to #333 and the background to transparent. Fixes #28330.

Location:
trunk/src
Files:
3 edited

Legend:

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

    r29340 r29533  
    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 
    204201        api.ui.fade( 'show', 'showing', 'shown' );
    205202    };
     
    417414
    418415    ps.subscribe( 'hiding', function() { // This event occurs while the overlay blocks the DFW UI.
    419         s.$dfwTitle.add( s.$editorContainer ).css( 'color', '' );
    420 
    421416        $body.removeClass( 'wp-fullscreen-active' );
    422417
  • trunk/src/wp-includes/css/editor.css

    r29446 r29533  
    18071807    -webkit-transition-duration: 0.4s;
    18081808    transition-duration: 0.4s;
    1809     border-color: currentColor;
     1809    border-color: #ccc;
    18101810}
    18111811
     
    18561856.wp-fullscreen-active.wp-dfw-touch  .wp-fullscreen-title,
    18571857.wp-fullscreen-active.wp-dfw-touch .wp-editor-container {
    1858     border-color: currentColor;
     1858    border-color: #ccc;
    18591859}
    18601860
  • trunk/src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

    r29471 r29533  
    3737/* DFW mode */
    3838html.wp-fullscreen,
    39 html.wp-fullscreen body {
     39html.wp-fullscreen body#tinymce {
    4040    width: auto;
    4141    max-width: none;
    4242    min-height: 0;
    4343    overflow: hidden;
     44    color: #333;
     45    background: transparent;
    4446}
    4547
Note: See TracChangeset for help on using the changeset viewer.