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:
azaozz 2011-05-19 05:35:08 +00:00
parent 5175149c03
commit af3ce311a0
11 changed files with 21 additions and 12 deletions

File diff suppressed because one or more lines are too long

View File

@ -2121,6 +2121,7 @@ div.widgets-sortables,
#fullscreen-topbar { #fullscreen-topbar {
border-bottom-color: #D1E5EE; border-bottom-color: #D1E5EE;
background-color: #f5fafd;
background-image: -ms-linear-gradient(top, #f7fcfe, #eff8ff); /* IE10 */ background-image: -ms-linear-gradient(top, #f7fcfe, #eff8ff); /* IE10 */
background-image: -moz-linear-gradient(top, #f7fcfe, #eff8ff); /* Firefox */ background-image: -moz-linear-gradient(top, #f7fcfe, #eff8ff); /* Firefox */
background-image: -o-linear-gradient(top, #f7fcfe, #eff8ff); /* Opera */ background-image: -o-linear-gradient(top, #f7fcfe, #eff8ff); /* Opera */

File diff suppressed because one or more lines are too long

View File

@ -2121,6 +2121,7 @@ div.widgets-sortables,
#fullscreen-topbar { #fullscreen-topbar {
border-bottom-color: #DFDFDF; border-bottom-color: #DFDFDF;
background-color: #eee;
background-image: -ms-linear-gradient(top, #f4f4f4, #e9e9e9); /* IE10 */ background-image: -ms-linear-gradient(top, #f4f4f4, #e9e9e9); /* IE10 */
background-image: -moz-linear-gradient(top, #f4f4f4, #e9e9e9); /* Firefox */ background-image: -moz-linear-gradient(top, #f4f4f4, #e9e9e9); /* Firefox */
background-image: -o-linear-gradient(top, #f4f4f4, #e9e9e9); /* Opera */ background-image: -o-linear-gradient(top, #f4f4f4, #e9e9e9); /* Opera */

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,13 @@
/* Fixes for IE bugs */ /* Fixes for IE bugs */
#wp-fullscreen-title {
width: 97%;
}
#wp_mce_fullscreen_ifr {
background-color: #f9f9f9;
}
#wp-fullscreen-tagline { #wp-fullscreen-tagline {
color: #888; color: #888;
font-size: 14px; font-size: 14px;

File diff suppressed because one or more lines are too long

View File

@ -605,8 +605,9 @@ form.upgrade .hint {
} }
#wp-fullscreen-wrap { #wp-fullscreen-wrap {
margin: 60px auto 50px; margin: 0 auto 50px;
position: relative; position: relative;
padding-top: 60px;
} }
#wp-fullscreen-title { #wp-fullscreen-title {
@ -672,7 +673,6 @@ form.upgrade .hint {
min-width: 800px; min-width: 800px;
width: 100%; width: 100%;
height: 40px; height: 40px;
display: none;
} }
#wp-fullscreen-toolbar { #wp-fullscreen-toolbar {

View File

@ -1742,6 +1742,7 @@ function wp_fullscreen_html() {
$dfw_width = get_user_setting( 'dfw_width', $width ); $dfw_width = get_user_setting( 'dfw_width', $width );
$save = $post->post_status == 'publish' ? __('Update') : __('Save'); $save = $post->post_status == 'publish' ? __('Update') : __('Save');
?> ?>
<div id="wp-fullscreen-body">
<div id="fullscreen-topbar"> <div id="fullscreen-topbar">
<div id="wp-fullscreen-toolbar"> <div id="wp-fullscreen-toolbar">
<div id="wp-fullscreen-close"><a href="#" onclick="fullscreen.off();return false;"><?php _e('Exit fullscreen'); ?></a></div> <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> </div>
<div id="wp-fullscreen-body">
<div id="wp-fullscreen-wrap" style="width:<?php echo $dfw_width; ?>px;"> <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> <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" /> <input type="text" id="wp-fullscreen-title" value="" autocomplete="off" />

View File

@ -277,7 +277,6 @@ PubSub.prototype.publish = function( topic, args ) {
}); });
ps.subscribe( 'showing', function() { // This event occurs while the DFW overlay blocks the UI. ps.subscribe( 'showing', function() { // This event occurs while the DFW overlay blocks the UI.
$( document.body ).addClass( 'fullscreen-active' ); $( document.body ).addClass( 'fullscreen-active' );
api.refresh_buttons(); api.refresh_buttons();
@ -287,8 +286,6 @@ PubSub.prototype.publish = function( topic, args ) {
api.bind_resize(); api.bind_resize();
setTimeout( api.resize_textarea, 200 ); setTimeout( api.resize_textarea, 200 );
s.toolbars.show();
// scroll to top so the user is not disoriented // scroll to top so the user is not disoriented
scrollTo(0, 0); scrollTo(0, 0);
}); });
@ -528,7 +525,9 @@ PubSub.prototype.publish = function( topic, args ) {
s.timer = 0; s.timer = 0;
}).mouseleave(function(e){ }).mouseleave(function(e){
s.toolbars.removeClass('fullscreen-make-sticky'); 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