Add new metabox styles. see #17324.

git-svn-id: https://develop.svn.wordpress.org/trunk@17861 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith 2011-05-11 18:15:16 +00:00
parent f1389ef76c
commit 35faf8674a
5 changed files with 28 additions and 31 deletions

File diff suppressed because one or more lines are too long

View File

@ -138,6 +138,8 @@ textarea.disabled {
.widget .widget-top,
.postbox h3,
.stuffbox h3 {
background-image: -moz-linear-gradient( top, #f4f4f4, #e9e9e9 );
background-image: -webkit-linear-gradient( top, #f4f4f4, #e9e9e9 );
border-bottom-color: #dfdfdf;
text-shadow: #fff 0 1px 0;
-moz-box-shadow: 0 1px 0 #fff;
@ -662,7 +664,7 @@ table.widefat span.spam a,
.widget,
#widget-list .widget-top,
.postbox {
background-color: #f9f9f9;
background-color: #f4f4f4;
}
.ui-sortable .postbox h3 {
@ -1551,7 +1553,7 @@ fieldset.inline-edit-col-right .inline-edit-col {
}
.meta-box-sortables .postbox:hover .handlediv {
background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -111px;
background: transparent url(../images/arrows.png) no-repeat 6px 6px;
}
.tablenav .tablenav-pages {

File diff suppressed because one or more lines are too long

View File

@ -270,13 +270,11 @@ p.search-box {
------------------------------------------------------------------------------*/
#major-publishing-actions {
padding: 6px;
padding: 6px 0;
clear: both;
border-top: none;
}
#delete-action {
line-height: 25px;
vertical-align: middle;
@ -326,7 +324,7 @@ p.search-box {
}
#minor-publishing-actions {
padding: 6px;
padding: 6px 0;
text-align: right;
}
@ -1536,15 +1534,6 @@ body.admin-bar #adminmenu {
margin: 0.6em 0;
}
.widget .widget-top,
.postbox h3 {
cursor: move;
-webkit-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;
}
.postbox-container {
float: left;
padding-right: 0.5%;
@ -1569,7 +1558,7 @@ body.admin-bar #adminmenu {
.postbox .handlediv {
float: right;
width: 23px;
width: 27px;
height: 26px;
}
@ -1583,7 +1572,7 @@ body.admin-bar #adminmenu {
.postbox,
.stuffbox {
margin-bottom: 20px;
padding: 0 10px;
padding: 0;
border-width: 1px;
border-style: solid;
line-height: 1;
@ -1592,8 +1581,19 @@ body.admin-bar #adminmenu {
.widget .widget-top,
.postbox h3,
.stuffbox h3 {
margin-top: 1px;
border-bottom-width: 1px;
border-style: solid;
cursor: move;
-webkit-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;
}
.postbox .inside,
.stuffbox .inside {
padding: 0 10px;
}
.postbox.closed h3 {
@ -1716,8 +1716,9 @@ table.fixed {
width: 20%;
}
#commentsdiv.postbox .inside {
line-height:1.4em;
margin:0;
line-height: 1.4em;
margin: 0;
padding: 0;
}
#commentsdiv.postbox .inside .row-actions {
line-height:18px;
@ -3041,7 +3042,6 @@ span.description,
}
.ajaxtag .newtag {
background: transparent;
position: relative;
}
@ -4420,8 +4420,8 @@ table.form-table td .updated {
font-size: 15px;
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
font-weight: normal;
padding: 7px 0;
margin: 0;
padding: 7px 10px;
margin: 1px 0 0 0;
line-height: 1;
}
#poststuff .inside,
@ -4667,11 +4667,6 @@ fieldset {
padding: 0;
margin: 0;
}
#linksubmitdiv div.inside,
div.inside {
padding: 0;
margin: 0;
}
.post-categories {
display: inline;
margin: 0;

View File

@ -487,13 +487,13 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110511d' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110511e' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20110511b';
$colors_version = '20110511c';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array(), $colors_version );