DFW: fix buttons and the title width, make the fade out/in when opening and closing a bit faster. See #24067.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-01-02 04:18:10 +00:00
parent da7a2421a3
commit 87c75ab93a
7 changed files with 9 additions and 9 deletions

View File

@ -402,7 +402,7 @@
$( '#wp-fullscreen-body' ).append( $('#wp-fullscreen-status') );
if ( s.$dfwTitle ) {
$( '#wp-fullscreen-title-placeholder' ).before( s.$dfwTitle.removeClass('wp-fullscreen-title') ).remove();
$( '#wp-fullscreen-title-placeholder' ).before( s.$dfwTitle.removeClass('wp-fullscreen-title').css( 'width', '' ) ).remove();
}
s.$dfwWrap.removeClass( 'wp-fullscreen-wrap' )
@ -517,8 +517,8 @@
});
// Bind buttons
$('#wp-fullscreen-buttons').on( 'click.wp-fullscreen', function( event ) {
var command = event.target.id && event.target.id.substr(6);
$('#wp-fullscreen-buttons').on( 'click.wp-fullscreen', 'button', function( event ) {
var command = event.currentTarget.id ? event.currentTarget.id.substr(6) : null;
if ( s.editor && 'tinymce' === s.mode ) {
switch( command ) {

File diff suppressed because one or more lines are too long

View File

@ -915,7 +915,7 @@ final class _WP_Editors {
</div>
<div class="fullscreen-overlay" id="fullscreen-overlay"></div>
<div class="fullscreen-overlay fullscreen-fader fade-600" id="fullscreen-fader"></div>
<div class="fullscreen-overlay fullscreen-fader fade-300" id="fullscreen-fader"></div>
<?php
}

View File

@ -17,7 +17,7 @@ div.mce-toolbar-grp {
padding: 1px 3px;
}
.mce-statusbar {
div.mce-statusbar {
border-top: 1px solid #eee;
}

File diff suppressed because one or more lines are too long

View File

@ -17,7 +17,7 @@ div.mce-toolbar-grp {
padding: 1px 3px;
}
.mce-statusbar {
div.mce-statusbar {
border-top: 1px solid #eee;
}

File diff suppressed because one or more lines are too long