Postboxes drag/drop for all browsers, some base css fixes

git-svn-id: http://svn.automattic.com/wordpress/trunk@9291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2008-10-22 22:08:58 +00:00
parent e59d369976
commit 408600ce58
10 changed files with 174 additions and 104 deletions
+48 -31
View File
@@ -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;
+61 -10
View File
@@ -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;