Fix some tab CSS in Press This. props dd32. Also adjust menu bits to default to gray, and then add rules to blue. see #15561.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-12-24 17:43:01 +00:00
parent 625a229313
commit 64c6c96b14
4 changed files with 10 additions and 24 deletions

View File

@ -501,15 +501,6 @@ a,
color: #21759b; color: #21759b;
} }
/* Because we don't want visited on these links */
body.press-this .tabs a,
body.press-this .tabs a:hover {
background-color: #fff;
border-color: #c6d9e9;
border-bottom-color: #fff;
color: #d54e21;
}
#adminmenu #awaiting-mod, #adminmenu #awaiting-mod,
#adminmenu .update-plugins, #adminmenu .update-plugins,
#sidemenu a .update-plugins, #sidemenu a .update-plugins,
@ -1396,6 +1387,8 @@ fieldset.inline-edit-col-right .inline-edit-col {
color: #D54E21; color: #D54E21;
} }
body.press-this .postbox:hover .handlediv,
body.press-this .stuffbox:hover .handlediv,
.meta-box-sortables .postbox:hover .handlediv { .meta-box-sortables .postbox:hover .handlediv {
background: transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll left -111px; background: transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll left -111px;
} }
@ -1471,8 +1464,9 @@ fieldset.inline-edit-col-right .inline-edit-col {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
#post-body ul.category-tabs li.tabs a, #post-body ul.category-tabs li.tabs a,
#post-body ul.add-menu-item-tabs li.tabs a { #post-body ul.add-menu-item-tabs li.tabs a,
body.press-this ul.category-tabs li.tabs a {
color: #333; color: #333;
} }

View File

@ -501,15 +501,6 @@ a,
color: #21759b; color: #21759b;
} }
/* Because we don't want visited on these links */
body.press-this .tabs a,
body.press-this .tabs a:hover {
background-color: #fff;
border-color: #c6d9e9;
border-bottom-color: #fff;
color: #d54e21;
}
#adminmenu #awaiting-mod, #adminmenu #awaiting-mod,
#adminmenu .update-plugins, #adminmenu .update-plugins,
#sidemenu a .update-plugins, #sidemenu a .update-plugins,
@ -1469,7 +1460,8 @@ fieldset.inline-edit-col-right .inline-edit-col {
} }
#post-body ul.category-tabs li.tabs a, #post-body ul.category-tabs li.tabs a,
#post-body ul.add-menu-item-tabs li.tabs a { #post-body ul.add-menu-item-tabs li.tabs a,
body.press-this ul.category-tabs li.tabs a {
color: #333; color: #333;
} }

View File

@ -147,7 +147,7 @@ h3.tb {
.postbox:hover .handlediv, .postbox:hover .handlediv,
.stuffbox:hover .handlediv { .stuffbox:hover .handlediv {
background: transparent url(../images/menu-bits-vs.gif) no-repeat scroll left -111px; background: transparent url(../images/menu-bits.gif) no-repeat scroll left -111px;
} }
.handlediv { .handlediv {

View File

@ -490,7 +490,7 @@ function wp_default_styles( &$styles ) {
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat) // all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20101214'; $colors_version = '20101224';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string. // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array(), $colors_version ); $styles->add( 'colors', true, array(), $colors_version );
@ -506,7 +506,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20101215' ); $styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20101215' );
$styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20101020' ); // Readme as well $styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20101020' ); // Readme as well
$styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20101203' ); $styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20101203' );
$styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20101020' ); $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20101224' );
$styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20090514' ); $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css', array(), '20090514' );
$styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20101020' ); $styles->add( 'login', "/wp-admin/css/login$suffix.css", array(), '20101020' );
$styles->add( 'plugin-install', "/wp-admin/css/plugin-install$suffix.css", array(), '20100402' ); $styles->add( 'plugin-install', "/wp-admin/css/plugin-install$suffix.css", array(), '20100402' );