diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 29acb4d3b7..71732d739c 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -88,8 +88,6 @@ if ( '' == $blog_name )
diff --git a/wp-admin/css/global.css b/wp-admin/css/global.css index 12b5d91a4d..c3d77f480f 100644 --- a/wp-admin/css/global.css +++ b/wp-admin/css/global.css @@ -1,34 +1,34 @@ /* 2 column liquid layout */ -div#wpbody { - float: right; - clear: right; +#wpwrap { + height: auto; + min-height: 100%; + overflow: hidden; width: 100%; - margin-left: -155px; } -div#wpbody-content { - margin-left: 140px; +#wpcontent { + height: 100%; + margin-bottom: 50px; +} + +#wpbody-content { + overflow: hidden; padding-top: 10px; } -div#sidemenu-bg { - border-right-style: solid; - border-right-width: 1px; - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 135px; -} - -ul#adminmenu { +#adminmenu { float: left; clear: left; margin: 10px 8px; - width: 135px; /* + 10 padding */ position: relative; } +#footer { + clear: both; + position: relative; + width: 100%; +} + /* inner 2 column liquid layout */ .inner-sidebar { @@ -77,13 +77,23 @@ textarea, input, select { padding: 3px; } -.alignleft { float: left; } -.alignright { float: right; } +.alignleft { + float: left; +} -.textleft { text-align: left; } -.textright { text-align: right; } +.alignright { + float: right; +} -.clear { clear: both; height: 2px; } +.textleft { + text-align: left; +} + +.textright { + text-align: right; +} + +.clear { clear: both; } .hidden { display: none; } @@ -139,13 +149,24 @@ h6 { float: left; } -.subsubsub a { line-height: 200%; padding: 3px; text-decoration: none; } +.subsubsub a { + line-height: 200%; + padding: 3px; + text-decoration: none; +} -.subsubsub a.current { font-weight: bold; background: none; border: none;} +.subsubsub a.current { + font-weight: bold; + background: none; + border: none; +} -.subsubsub li { display: inline; margin: 0; padding: 0; } +.subsubsub li { + display: inline; + margin: 0; + padding: 0; +} -/* make it small? */ .subsubsub li.spam { font-size: .9em; } @@ -211,10 +232,6 @@ th.check-column + th, th.check-column + td { text-align: center; } -#wpbody .wrap { - position: relative; -} - .wrap, .updated, .error { margin: 0 15px; padding: 0; diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index d877f71fc7..ac4e89b1b6 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -1,12 +1,45 @@ /* Fixes for IE bugs */ -.metabox-holder .postbox h3, #poststuff .postbox h3 { +* html #wpbody-content { + margin-left: 140px; +} + +* html #wpbody { + clear: right; + float: right; + margin-left: -185px; + width: 100%; +} + +* html body { + background-color: #464646; +} + +* html #wpwrap { + background-color: #fff; +} + +#footer { + overflow: hidden; +} + +.metabox-holder .postbox h3 { padding-left: 23px; } input.button, input.button-secondary, input.button-highlighted { padding: 0; } + +#side-info-column { + position: absolute; + right: 15px; +} + +#wphead-info { + float: right; +} + /* * html body.minwidth { _width: expression(document.documentElement.clientWidth < 810 ? "808px" : "99.9%"); @@ -63,11 +96,13 @@ ul#adminmenu li.wp-menu-separator { font-size: 3px; } +#template, #template div, #editcat, #addcat { + zoom: 100%; +} * html #poststuff .postarea, * html #poststuff #titlediv { - width: 95%; - margin-left: 3%; + } .submitbox { @@ -79,11 +114,31 @@ ul#adminmenu li.wp-menu-separator { position: relative; } -#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, .metabox-holder, #titlediv, #post-body, #editorcontainer, .tablenav, .widget-control-list, li.widget-list-control-item, #dragHelper, li.widget-list-control-item h4, .widget-sortable, .widget-control-actions { +#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, .metabox-holder, #titlediv, #post-body, #editorcontainer, .tablenav, .widget-control-list, li.widget-list-control-item, #dragHelper, li.widget-list-control-item h4, .widget-sortable, .widget-control-actions, #tagchecklist { display: block; zoom: 100%; } +#favorite-inside, #favorite-inside a, .favorite-action { + z-index: 11; + zoom: 100%; +} + +#wphead-info { + width: 350px; + max-width: 350px; +} + +p.search-box { + position: static; + float: right; + margin: -3px 0 4px; +} + +#wpbody .wrap { + position: static; +} + * html #editorcontainer { padding: 0; } @@ -114,7 +169,8 @@ form#template div { } #bh { - padding-right: 15px; + margin: 3px 0 0 6px; + float: right; } /* without this dashboard widgets appear in one column for some screen widths */ @@ -122,11 +178,6 @@ div#dashboard-widgets { padding-right: 1px; } -#tagchecklist { - display: block; - zoom: 100%; -} - #tagchecklist span, #tagchecklist span a { display: inline-block; display: block; diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 6b23b97d91..c7b2cfcd94 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -580,6 +580,7 @@ do_action('dbx_post_sidebar'); +
- ';
+
+';
}
-if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)
- add_action( 'in_admin_footer', 'browse_happy' );
-
/**
* {@internal Missing Short Description}}
*
diff --git a/wp-admin/js/columns.js b/wp-admin/js/columns.js
index 7c9fc6ab5a..2625c09f5b 100644
--- a/wp-admin/js/columns.js
+++ b/wp-admin/js/columns.js
@@ -12,12 +12,6 @@
save_manage_columns_state(page);
} );
- if ( $.browser.msie ) {
- $('#side-sortables').append( '' );
- } else {
- $('#side-sortables').append( '' );
- }
- $('#wpbody-content').css( 'overflow', 'hidden' );
}
}
}(jQuery));
diff --git a/wp-admin/js/menu.js b/wp-admin/js/menu.js
index e93ccc5a48..ec13abf8f6 100644
--- a/wp-admin/js/menu.js
+++ b/wp-admin/js/menu.js
@@ -51,7 +51,8 @@ adminMenu = {
fold : function(off) {
if (off) {
- $('#wpbody-content').css('marginLeft', '140px');
+ if ( $.browser.msie && $.browser.version.charAt(0) == 6 )
+ $('#wpbody-content').css('marginLeft', '140px');
$('#adminmenu').removeClass('folded');
$('#adminmenu li.wp-submenu-head').hide();
$('#adminmenu a.wp-has-submenu').show();
@@ -60,7 +61,8 @@ adminMenu = {
$('#adminmenu').addClass('folded');
$('#adminmenu a.wp-has-submenu, #adminmenu .wp-submenu').hide();
$('#adminmenu li.wp-submenu-head').show();
- $('#wpbody-content').css('marginLeft', '38px');
+ if ( $.browser.msie && $.browser.version.charAt(0) == 6 )
+ $('#wpbody-content').css('marginLeft', '40px');
$('#adminmenu li.wp-has-submenu').css({'width':'24px'}).hoverIntent({
over: function(){ $(this).find('.wp-submenu').show(); },
out: function(){ $(this).find('.wp-submenu').hide(); },
@@ -75,7 +77,7 @@ adminMenu = {
$(document).ready(function(){
adminMenu.init();
- $('#favorite-inside').width($('#favorite-first').width()+24);
+ $('#favorite-inside').width($('#favorite-actions').width()-4);
$('#favorite-toggle, #favorite-inside').bind( 'mouseenter', function(){$('#favorite-inside').removeClass('slideUp').addClass('slideDown'); setTimeout(function(){if ( $('#favorite-inside').hasClass('slideDown') ) { $('#favorite-inside').slideDown(100); $('#favorite-first').addClass('slide-down'); }}, 200) } );
$('#favorite-toggle, #favorite-inside').bind( 'mouseleave', function(){$('#favorite-inside').removeClass('slideDown').addClass('slideUp'); setTimeout(function(){if ( $('#favorite-inside').hasClass('slideUp') ) { $('#favorite-inside').slideUp(100, function(){ $('#favorite-first').removeClass('slide-down'); } ); }}, 300) } );
diff --git a/wp-admin/js/postbox.js b/wp-admin/js/postbox.js
index 9a76896d1b..341386c326 100644
--- a/wp-admin/js/postbox.js
+++ b/wp-admin/js/postbox.js
@@ -22,15 +22,23 @@
postboxes.save_state(page);
} );
- if ( $.browser.msie ) {
- $('#side-sortables').append( '' );
- } else {
- $('#side-sortables').append( '' );
- }
- $('#wpbody-content').css( 'overflow', 'hidden' );
-
+ this.makeItTall();
this.init(page,args);
},
+
+ makeItTall : function() {
+ var t = $('#make-it-tall').remove();
+
+ if ( t.length < 1 )
+ t = $.browser.mozilla ? '' : '