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.

Built from https://develop.svn.wordpress.org/trunk@29533


git-svn-id: http://core.svn.wordpress.org/trunk@29309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-08-18 18:23:16 +00:00
parent a28bc71819
commit c0fef55a47
7 changed files with 10 additions and 13 deletions

View File

@ -198,9 +198,6 @@
s.$dfwTitle = null; s.$dfwTitle = null;
} }
$( '#fullscreen-overlay' ).css( 'background-color', s.editor.dom.getStyle( s.editor.getBody(), 'background-color', true ) );
s.$dfwTitle.add( s.$editorContainer ).css( 'color', s.editor.dom.getStyle( s.editor.getBody(), 'color', true ) );
api.ui.fade( 'show', 'showing', 'shown' ); api.ui.fade( 'show', 'showing', 'shown' );
}; };
@ -416,8 +413,6 @@
}); });
ps.subscribe( 'hiding', function() { // This event occurs while the overlay blocks the DFW UI. ps.subscribe( 'hiding', function() { // This event occurs while the overlay blocks the DFW UI.
s.$dfwTitle.add( s.$editorContainer ).css( 'color', '' );
$body.removeClass( 'wp-fullscreen-active' ); $body.removeClass( 'wp-fullscreen-active' );
if ( s.$dfwTitle ) { if ( s.$dfwTitle ) {

File diff suppressed because one or more lines are too long

View File

@ -1806,7 +1806,7 @@ i.mce-i-hr:before {
.wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container { .wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container {
-webkit-transition-duration: 0.4s; -webkit-transition-duration: 0.4s;
transition-duration: 0.4s; transition-duration: 0.4s;
border-color: currentColor; border-color: #ccc;
} }
.fade-1000, .fade-1000,
@ -1855,7 +1855,7 @@ i.mce-i-hr:before {
.wp-fullscreen-active.wp-dfw-touch .wp-fullscreen-title, .wp-fullscreen-active.wp-dfw-touch .wp-fullscreen-title,
.wp-fullscreen-active.wp-dfw-touch .wp-editor-container { .wp-fullscreen-active.wp-dfw-touch .wp-editor-container {
border-color: currentColor; border-color: #ccc;
} }
.wp-dfw-touch #wp-fullscreen-statusbar { .wp-dfw-touch #wp-fullscreen-statusbar {

File diff suppressed because one or more lines are too long

View File

@ -1806,7 +1806,7 @@ i.mce-i-hr:before {
.wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container { .wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container {
-webkit-transition-duration: 0.4s; -webkit-transition-duration: 0.4s;
transition-duration: 0.4s; transition-duration: 0.4s;
border-color: currentColor; border-color: #ccc;
} }
.fade-1000, .fade-1000,
@ -1855,7 +1855,7 @@ i.mce-i-hr:before {
.wp-fullscreen-active.wp-dfw-touch .wp-fullscreen-title, .wp-fullscreen-active.wp-dfw-touch .wp-fullscreen-title,
.wp-fullscreen-active.wp-dfw-touch .wp-editor-container { .wp-fullscreen-active.wp-dfw-touch .wp-editor-container {
border-color: currentColor; border-color: #ccc;
} }
.wp-dfw-touch #wp-fullscreen-statusbar { .wp-dfw-touch #wp-fullscreen-statusbar {

File diff suppressed because one or more lines are too long

View File

@ -36,11 +36,13 @@ body.webkit b {
/* DFW mode */ /* DFW mode */
html.wp-fullscreen, html.wp-fullscreen,
html.wp-fullscreen body { html.wp-fullscreen body#tinymce {
width: auto; width: auto;
max-width: none; max-width: none;
min-height: 0; min-height: 0;
overflow: hidden; overflow: hidden;
color: #333;
background: transparent;
} }
.aligncenter, .aligncenter,