Make WordPress Core

Ticket #28330: 28330.3.patch

File 28330.3.patch, 1.9 KB (added by iseulde, 11 years ago)
  • src/wp-admin/js/wp-fullscreen.js

     
    198198                        s.$dfwTitle = null;
    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        };
    203206
     
    413416        });
    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
    418423                if ( s.$dfwTitle ) {
  • src/wp-includes/css/editor.css

     
    17481748.wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container {
    17491749        -webkit-transition-duration: 0.4s;
    17501750        transition-duration: 0.4s;
    1751         border-color: #ccc;
     1751        border-color: currentColor;
    17521752}
    17531753
    17541754.fade-1000,
     
    17971797
    17981798.wp-fullscreen-active.wp-dfw-touch  .wp-fullscreen-title,
    17991799.wp-fullscreen-active.wp-dfw-touch .wp-editor-container {
    1800         border-color: #ccc;
     1800        border-color: currentColor;
    18011801}
    18021802
    18031803.wp-dfw-touch #wp-fullscreen-statusbar {
  • src/wp-includes/js/tinymce/skins/wordpress/wp-content.css

     
    3737/* DFW mode */
    3838html.wp-fullscreen,
    3939html.wp-fullscreen body {
    40         background: transparent;
    4140        width: auto;
    4241        max-width: none;
    4342        min-height: 0;