mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-03 11:59:23 +00:00
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') );
|
||||
|
||||
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 ) {
|
||||
|
2
wp-admin/js/wp-fullscreen.min.js
vendored
2
wp-admin/js/wp-fullscreen.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ div.mce-toolbar-grp {
|
||||
padding: 1px 3px;
|
||||
}
|
||||
|
||||
.mce-statusbar {
|
||||
div.mce-statusbar {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
|
2
wp-includes/css/editor-rtl.min.css
vendored
2
wp-includes/css/editor-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -17,7 +17,7 @@ div.mce-toolbar-grp {
|
||||
padding: 1px 3px;
|
||||
}
|
||||
|
||||
.mce-statusbar {
|
||||
div.mce-statusbar {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
|
2
wp-includes/css/editor.min.css
vendored
2
wp-includes/css/editor.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user