max width fixes from azaozz. fixes #6051

git-svn-id: http://svn.automattic.com/wordpress/trunk@7114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-29 23:27:02 +00:00
parent 080b33f54c
commit 73b84563d3
8 changed files with 53 additions and 37 deletions

View File

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

View File

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

View File

@ -10,11 +10,20 @@
} }
* html body.minwidth { * html body.minwidth {
_width: expression(document.documentElement.clientWidth < 942 ? "940px" : "auto"); _width: expression(document.documentElement.clientWidth < 810 ? "808px" : "99.9%");
} }
* html #poststuff #titlediv { * html #wpbody {
display: inline-block; _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 { * html div.widget-liquid-left-holder, * html div.widget-liquid-right {
@ -22,23 +31,24 @@
position: relative; position: relative;
} }
#wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #editorcantainer { #wpwrap, #wpcontent, #post, #wrap, #postdivrich, #postdiv, #poststuff, #titlediv, #post-body, #editorcontainer, .tablenav, .widget-control-list {
display: block; display: block;
zoom: 100%; zoom: 100%;
} }
* html #editorcontainer { * html #editorcontainer {
padding: 0; padding: 0;
} }
* html #editorcontainer #content { * html #editorcontainer #content {
position: relative; position: relative;
overflow: auto; overflow: auto;
padding: 6px; padding: 6px;
margin: auto; margin: auto;
width: 98%; width: 98%;
} }
form#template div { form#template div {
width: 100%; 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'); ?> <?php do_action('submitcomment_box'); ?>
</div> </div>
<div id="post-body">
<div id="namediv" class="stuffbox"> <div id="namediv" class="stuffbox">
<h3><?php _e('Name') ?></h3> <h3><?php _e('Name') ?></h3>
<div class="inside"> <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" /> <input type="hidden" name="noredir" value="1" />
</div> </div>
</div> </div>
</div>
</form> </form>

View File

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

View File

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

View File

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

View File

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