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:
parent
da7a2421a3
commit
87c75ab93a
|
@ -402,7 +402,7 @@
|
||||||
$( '#wp-fullscreen-body' ).append( $('#wp-fullscreen-status') );
|
$( '#wp-fullscreen-body' ).append( $('#wp-fullscreen-status') );
|
||||||
|
|
||||||
if ( s.$dfwTitle ) {
|
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' )
|
s.$dfwWrap.removeClass( 'wp-fullscreen-wrap' )
|
||||||
|
@ -517,8 +517,8 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
// Bind buttons
|
// Bind buttons
|
||||||
$('#wp-fullscreen-buttons').on( 'click.wp-fullscreen', function( event ) {
|
$('#wp-fullscreen-buttons').on( 'click.wp-fullscreen', 'button', function( event ) {
|
||||||
var command = event.target.id && event.target.id.substr(6);
|
var command = event.currentTarget.id ? event.currentTarget.id.substr(6) : null;
|
||||||
|
|
||||||
if ( s.editor && 'tinymce' === s.mode ) {
|
if ( s.editor && 'tinymce' === s.mode ) {
|
||||||
switch( command ) {
|
switch( command ) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -915,7 +915,7 @@ final class _WP_Editors {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="fullscreen-overlay" id="fullscreen-overlay"></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
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ div.mce-toolbar-grp {
|
||||||
padding: 1px 3px;
|
padding: 1px 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mce-statusbar {
|
div.mce-statusbar {
|
||||||
border-top: 1px solid #eee;
|
border-top: 1px solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -17,7 +17,7 @@ div.mce-toolbar-grp {
|
||||||
padding: 1px 3px;
|
padding: 1px 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mce-statusbar {
|
div.mce-statusbar {
|
||||||
border-top: 1px solid #eee;
|
border-top: 1px solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue