Improve auto column switching for post.php, see #18198

git-svn-id: https://develop.svn.wordpress.org/trunk@18607 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-08-25 22:55:39 +00:00
parent 965dcf7bf9
commit 77892dfba6
9 changed files with 72 additions and 48 deletions

View File

@@ -116,9 +116,10 @@ TABLE OF CONTENTS:
position: relative;
}
.wide-screen .inner-sidebar {
.wide-window .columns-auto .inner-sidebar {
margin-right: -870px;
width: 100%;
display: block;
}
.inner-sidebar #side-sortables {
@@ -126,8 +127,9 @@ TABLE OF CONTENTS:
min-height: 300px;
}
.wide-screen .inner-sidebar #side-sortables {
.wide-window .columns-auto .inner-sidebar #side-sortables {
min-width: 280px;
max-width: 480px;
width: auto;
padding-right: 870px;
}
@@ -140,14 +142,22 @@ TABLE OF CONTENTS:
float: left;
clear: left;
width: 100%;
margin-right: -340px;
max-width: 1150px;
margin-right: -2000px;
}
.has-right-sidebar #post-body-content {
margin-right: 300px;
}
.columns-auto #post-body-content {
max-width: 850px;
}
#side-sortables:empty {
border: 3px dashed #ccc;
height: 800px;
}
/* 2 columns main area */
#col-container {
@@ -2681,10 +2691,6 @@ table .inline-edit-row fieldset ul.cat-hover {
11.0 - Write/Edit Post Screen
------------------------------------------------------------------------------*/
.postarea {
max-width: 900px;
}
#titlediv {
position: relative;
margin-bottom: 20px;
@@ -6764,8 +6770,8 @@ div.zerosize {
border-style: solid;
}
#tagsdiv-post_tag h3,
#categorydiv h3 {
.press-this #tagsdiv-post_tag h3,
.press-this #categorydiv h3 {
cursor: pointer;
}
@@ -6814,10 +6820,6 @@ h3.tb {
border-color: #dfdfdf;
}
.tbtitle {
padding: 3px;
}
.press-this .actions {
float: right;
margin: -19px 0 0;