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:
parent
080b33f54c
commit
73b84563d3
|
@ -1,3 +1,4 @@
|
|||
</div><!-- wpbody -->
|
||||
</div><!-- wpcontent -->
|
||||
</div><!-- wpwrap -->
|
||||
<div id="footer">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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%;
|
||||
}
|
|
@ -68,6 +68,7 @@ echo "<a href='" . wp_nonce_url("comment.php?action=deletecomment&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&c=$comment
|
|||
<input type="hidden" name="noredir" value="1" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
|
@ -77,6 +77,7 @@ switchEditors = {
|
|||
|
||||
qt.style.display = 'none';
|
||||
ec.style.padding = '0px';
|
||||
ta.style.padding = '0px';
|
||||
|
||||
ta.value = this.wpautop(ta.value);
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue