IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
188f57edfa
commit
5175149c03
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,30 @@
|
|||
/* Fixes for IE bugs */
|
||||
|
||||
#wp-fullscreen-tagline {
|
||||
color: #888;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#adminmenuback {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-menu-separator,
|
||||
#adminmenu li.wp-menu-separator-last {
|
||||
font-size: 1px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
#adminmenu a.menu-top {
|
||||
border-bottom: 0 none;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
#adminmenu .separator {
|
||||
font-size: 1px;
|
||||
line-height: 1px;
|
||||
}
|
||||
|
||||
#wpbody-content input.button,
|
||||
#wpbody-content input.button-secondary,
|
||||
#wpbody-content input.button-highlighted {
|
||||
|
@ -110,10 +135,6 @@ ul#adminmenu {
|
|||
zoom: 100%;
|
||||
}
|
||||
|
||||
.folded #adminmenu li.wp-menu-separator {
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
#wpcontent #adminmenu .wp-submenu li.wp-submenu-head {
|
||||
padding: 3px 4px 4px 10px;
|
||||
zoom: 100%;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -664,7 +664,6 @@ form.upgrade .hint {
|
|||
-------------------------------------------------------------- */
|
||||
#fullscreen-topbar {
|
||||
position: fixed;
|
||||
filter: inherit;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 150050;
|
||||
|
@ -673,6 +672,7 @@ form.upgrade .hint {
|
|||
min-width: 800px;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#wp-fullscreen-toolbar {
|
||||
|
|
|
@ -1742,7 +1742,6 @@ 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>
|
||||
|
@ -1801,6 +1800,7 @@ 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" />
|
||||
|
@ -1814,7 +1814,6 @@ function wp_fullscreen_html() {
|
|||
<div id="wp-fullscreen-tagline"><?php _e('Just write.'); ?></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="fullscreen-overlay" id="fullscreen-overlay"></div>
|
||||
|
|
|
@ -287,6 +287,8 @@ 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);
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -96,7 +96,7 @@ function wp_default_scripts( &$scripts ) {
|
|||
$scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array('utils','jquery'), '20110411' );
|
||||
$scripts->add_data( 'editor', 'group', 1 );
|
||||
|
||||
$scripts->add( 'wp-fullscreen', "/wp-admin/js/wp-fullscreen$suffix.js", array('jquery'), '20110517' );
|
||||
$scripts->add( 'wp-fullscreen', "/wp-admin/js/wp-fullscreen$suffix.js", array('jquery'), '20110518' );
|
||||
$scripts->add_data( 'wp-fullscreen', 'group', 1 );
|
||||
|
||||
$scripts->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6.1');
|
||||
|
@ -482,9 +482,9 @@ function wp_default_styles( &$styles ) {
|
|||
// Any rtl stylesheets that don't have a .dev version for ltr
|
||||
$no_suffix = array( 'farbtastic' );
|
||||
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110517a' );
|
||||
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110518' );
|
||||
|
||||
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' );
|
||||
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20110518' );
|
||||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||
|
||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
||||
|
|
Loading…
Reference in New Issue