max width fixes from azaozz. fixes #6051

git-svn-id: https://develop.svn.wordpress.org/trunk@7114 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-29 23:27:02 +00:00
parent 017a78c052
commit 4d02937e6d
8 changed files with 53 additions and 37 deletions

View File

@ -1,3 +1,4 @@
</div><!-- wpbody -->
</div><!-- wpcontent -->
</div><!-- wpwrap -->
<div id="footer">

View File

@ -6,7 +6,7 @@ if ( $editing ) {
wp_enqueue_script( 'wp_tiny_mce' );
}
$min_width_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'widgets.php', 'comment.php' );
$min_width_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'widgets.php', 'comment.php', 'link.php' );
$the_current_page = preg_replace('|^.*/wp-admin/|i', '', $_SERVER['PHP_SELF']);
$ie6_no_scrollbar = true;
@ -70,3 +70,4 @@ if ( $parent_file == 'options-general.php' ) {
require(ABSPATH . 'wp-admin/options-head.php');
}
?>
<div id="wpbody">

View File

@ -10,11 +10,20 @@
}
* html body.minwidth {
_width: expression(document.documentElement.clientWidth < 942 ? "940px" : "auto");
_width: expression(document.documentElement.clientWidth < 810 ? "808px" : "99.9%");
}
* html #poststuff #titlediv {
display: inline-block;
* html #wpbody {
_width: expression(document.documentElement.clientWidth > 962 ? "960px" : "99.9%");
}
* html #poststuff .postarea, * html #poststuff #titlediv {
width: 95%;
margin-left: 2%;
}
.submitbox {
margin-top: 10px;
}
* html div.widget-liquid-left-holder, * html div.widget-liquid-right {
@ -22,23 +31,24 @@
position: relative;
}
#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #editorcantainer {
display: block;
zoom: 100%;
#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #titlediv, #post-body, #editorcontainer, .tablenav, .widget-control-list {
display: block;
zoom: 100%;
}
* html #editorcontainer {
padding: 0;
padding: 0;
}
* html #editorcontainer #content {
position: relative;
overflow: auto;
padding: 6px;
margin: auto;
width: 98%;
position: relative;
overflow: auto;
padding: 6px;
margin: auto;
width: 98%;
}
form#template div {
width: 100%;
}

View File

@ -68,6 +68,7 @@ echo "<a href='" . wp_nonce_url("comment.php?action=deletecomment&amp;c=$comment
<?php do_action('submitcomment_box'); ?>
</div>
<div id="post-body">
<div id="namediv" class="stuffbox">
<h3><?php _e('Name') ?></h3>
<div class="inside">
@ -103,5 +104,6 @@ echo "<a href='" . wp_nonce_url("comment.php?action=deletecomment&amp;c=$comment
<input type="hidden" name="noredir" value="1" />
</div>
</div>
</div>
</form>

View File

@ -77,6 +77,7 @@ switchEditors = {
qt.style.display = 'none';
ec.style.padding = '0px';
ta.style.padding = '0px';
ta.value = this.wpautop(ta.value);

View File

@ -342,7 +342,7 @@ input.disabled, textarea.disabled {
#excerpt, .attachmentlinks {
margin: 0;
height: 4em;
width: 100%;
width: 98%;
}
.plugins p {
@ -1340,7 +1340,7 @@ p#post-search {
}
body.minwidth {
min-width: 770px;
min-width: 808px;
}
ul.view-switch {

View File

@ -1421,9 +1421,8 @@ function _mce_set_direction( $input ) {
if ( 'rtl' == $wp_locale->text_direction ) {
$input['directionality'] = 'rtl';
$input['theme_advanced_toolbar_align'] = 'right';
$input['plugins'] .= ',directionality';
$input['theme_advanced_buttons2'] .= ',|,ltr,rtl';
$input['theme_advanced_buttons1'] .= ',ltr';
}
return $input;

View File

@ -42,10 +42,10 @@ cursor: default;
padding: 1px 2px;
margin: 1px;
background: #e9e8e8 url(img/butt2.png) 2px 1px no-repeat scroll;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
border-radius: 3px;
border: 1px solid #abc0fb;
}
.wp_themeSkin a.mceButton span, .wp_themeSkin a.mceButton img {}
@ -90,6 +90,7 @@ overflow: hidden;
}
.wp_themeSkin .mceListBox {
margin: 1px;
direction: ltr;
}
.wp_themeSkin .mceListBox .mceOpen {
width:14px;
@ -129,6 +130,7 @@ border: 1px solid #7789ba !important;
.wp_themeSkin .mceSplitButton {
display:block;
margin: 1px;
direction: ltr;
}
.wp_themeSkin table.mceSplitButton td {
padding: 2px;
@ -184,24 +186,24 @@ opacity:0.3; filter:alpha(opacity=30)
background: #d6d8da;
}
.wp_themeSkin .mceListBox a.mceText, .wp_themeSkin .mceSplitButton a.mceAction {
-moz-border-radius-bottomleft: 4px;
-webkit-border-radius-bottomleft: 4px;
-khtml-border-radius-bottomleft: 4px;
border-radius-bottomleft: 4px;
-moz-border-radius-topleft: 4px;
-webkit-border-radius-topleft: 4px;
-khtml-border-radius-topleft: 4px;
border-radius-topleft: 4px;
-moz-border-radius-bottomleft: 3px;
-webkit-border-radius-bottomleft: 3px;
-khtml-border-radius-bottomleft: 3px;
border-radius-bottomleft: 3px;
-moz-border-radius-topleft: 3px;
-webkit-border-radius-topleft: 3px;
-khtml-border-radius-topleft: 3px;
border-radius-topleft: 3px;
}
.wp_themeSkin .mceSplitButton a.mceOpen, .wp_themeSkin .mceListBox a.mceOpen {
-moz-border-radius-bottomright: 4px;
-webkit-border-radius-bottomright: 4px;
-khtml-border-radius-bottomright: 4px;
border-radius-bottomright: 4px;
-moz-border-radius-topright: 4px;
-webkit-border-radius-topright: 4px;
-khtml-border-radius-topright: 4px;
border-radius-topright: 4px;
-moz-border-radius-bottomright: 3px;
-webkit-border-radius-bottomright: 3px;
-khtml-border-radius-bottomright: 3px;
border-radius-bottomright: 3px;
-moz-border-radius-topright: 3px;
-webkit-border-radius-topright: 3px;
-khtml-border-radius-topright: 3px;
border-radius-topright: 3px;
}
/* ColorSplitButton */