mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 23:27:39 +02:00
More IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5175149c03
commit
af3ce311a0
File diff suppressed because one or more lines are too long
@ -2121,6 +2121,7 @@ div.widgets-sortables,
|
||||
|
||||
#fullscreen-topbar {
|
||||
border-bottom-color: #D1E5EE;
|
||||
background-color: #f5fafd;
|
||||
background-image: -ms-linear-gradient(top, #f7fcfe, #eff8ff); /* IE10 */
|
||||
background-image: -moz-linear-gradient(top, #f7fcfe, #eff8ff); /* Firefox */
|
||||
background-image: -o-linear-gradient(top, #f7fcfe, #eff8ff); /* Opera */
|
||||
|
File diff suppressed because one or more lines are too long
@ -2121,6 +2121,7 @@ div.widgets-sortables,
|
||||
|
||||
#fullscreen-topbar {
|
||||
border-bottom-color: #DFDFDF;
|
||||
background-color: #eee;
|
||||
background-image: -ms-linear-gradient(top, #f4f4f4, #e9e9e9); /* IE10 */
|
||||
background-image: -moz-linear-gradient(top, #f4f4f4, #e9e9e9); /* Firefox */
|
||||
background-image: -o-linear-gradient(top, #f4f4f4, #e9e9e9); /* Opera */
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,5 +1,13 @@
|
||||
/* Fixes for IE bugs */
|
||||
|
||||
#wp-fullscreen-title {
|
||||
width: 97%;
|
||||
}
|
||||
|
||||
#wp_mce_fullscreen_ifr {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
#wp-fullscreen-tagline {
|
||||
color: #888;
|
||||
font-size: 14px;
|
||||
|
File diff suppressed because one or more lines are too long
@ -605,8 +605,9 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#wp-fullscreen-wrap {
|
||||
margin: 60px auto 50px;
|
||||
margin: 0 auto 50px;
|
||||
position: relative;
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
#wp-fullscreen-title {
|
||||
@ -672,7 +673,6 @@ form.upgrade .hint {
|
||||
min-width: 800px;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#wp-fullscreen-toolbar {
|
||||
|
@ -1742,6 +1742,7 @@ function wp_fullscreen_html() {
|
||||
$dfw_width = get_user_setting( 'dfw_width', $width );
|
||||
$save = $post->post_status == 'publish' ? __('Update') : __('Save');
|
||||
?>
|
||||
<div id="wp-fullscreen-body">
|
||||
<div id="fullscreen-topbar">
|
||||
<div id="wp-fullscreen-toolbar">
|
||||
<div id="wp-fullscreen-close"><a href="#" onclick="fullscreen.off();return false;"><?php _e('Exit fullscreen'); ?></a></div>
|
||||
@ -1800,7 +1801,6 @@ function wp_fullscreen_html() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="wp-fullscreen-body">
|
||||
<div id="wp-fullscreen-wrap" style="width:<?php echo $dfw_width; ?>px;">
|
||||
<label id="wp-fullscreen-title-prompt-text" for="wp-fullscreen-title"><?php echo apply_filters( 'enter_title_here', __( 'Enter title here' ), $post ); ?></label>
|
||||
<input type="text" id="wp-fullscreen-title" value="" autocomplete="off" />
|
||||
|
@ -277,7 +277,6 @@ PubSub.prototype.publish = function( topic, args ) {
|
||||
});
|
||||
|
||||
ps.subscribe( 'showing', function() { // This event occurs while the DFW overlay blocks the UI.
|
||||
|
||||
$( document.body ).addClass( 'fullscreen-active' );
|
||||
api.refresh_buttons();
|
||||
|
||||
@ -287,8 +286,6 @@ PubSub.prototype.publish = function( topic, args ) {
|
||||
api.bind_resize();
|
||||
setTimeout( api.resize_textarea, 200 );
|
||||
|
||||
s.toolbars.show();
|
||||
|
||||
// scroll to top so the user is not disoriented
|
||||
scrollTo(0, 0);
|
||||
});
|
||||
@ -528,7 +525,9 @@ PubSub.prototype.publish = function( topic, args ) {
|
||||
s.timer = 0;
|
||||
}).mouseleave(function(e){
|
||||
s.toolbars.removeClass('fullscreen-make-sticky');
|
||||
$( document ).bind( 'mousemove.fullscreen', function(e) { bounder( 'showToolbar', 'hideToolbar', 2000 ); } );
|
||||
|
||||
if ( s.visible )
|
||||
$( document ).bind( 'mousemove.fullscreen', function(e) { bounder( 'showToolbar', 'hideToolbar', 2000 ); } );
|
||||
});
|
||||
},
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user