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:
parent
a28bc71819
commit
c0fef55a47
|
@ -198,9 +198,6 @@
|
|||
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' );
|
||||
};
|
||||
|
||||
|
@ -416,8 +413,6 @@
|
|||
});
|
||||
|
||||
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' );
|
||||
|
||||
if ( s.$dfwTitle ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1806,7 +1806,7 @@ i.mce-i-hr:before {
|
|||
.wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container {
|
||||
-webkit-transition-duration: 0.4s;
|
||||
transition-duration: 0.4s;
|
||||
border-color: currentColor;
|
||||
border-color: #ccc;
|
||||
}
|
||||
|
||||
.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-editor-container {
|
||||
border-color: currentColor;
|
||||
border-color: #ccc;
|
||||
}
|
||||
|
||||
.wp-dfw-touch #wp-fullscreen-statusbar {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1806,7 +1806,7 @@ i.mce-i-hr:before {
|
|||
.wp-fullscreen-active.wp-dfw-show-ui .wp-editor-container {
|
||||
-webkit-transition-duration: 0.4s;
|
||||
transition-duration: 0.4s;
|
||||
border-color: currentColor;
|
||||
border-color: #ccc;
|
||||
}
|
||||
|
||||
.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-editor-container {
|
||||
border-color: currentColor;
|
||||
border-color: #ccc;
|
||||
}
|
||||
|
||||
.wp-dfw-touch #wp-fullscreen-statusbar {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -36,11 +36,13 @@ body.webkit b {
|
|||
|
||||
/* DFW mode */
|
||||
html.wp-fullscreen,
|
||||
html.wp-fullscreen body {
|
||||
html.wp-fullscreen body#tinymce {
|
||||
width: auto;
|
||||
max-width: none;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
color: #333;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.aligncenter,
|
||||
|
|
Loading…
Reference in New Issue