From 64c6c96b14ba9930e91ad208b7facc8b05d5d914 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 24 Dec 2010 17:43:01 +0000 Subject: [PATCH] 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 --- wp-admin/css/colors-classic.dev.css | 16 +++++----------- wp-admin/css/colors-fresh.dev.css | 12 ++---------- wp-admin/css/press-this.dev.css | 2 +- wp-includes/script-loader.php | 4 ++-- 4 files changed, 10 insertions(+), 24 deletions(-) diff --git a/wp-admin/css/colors-classic.dev.css b/wp-admin/css/colors-classic.dev.css index 0b8183cd40..676c74ed34 100644 --- a/wp-admin/css/colors-classic.dev.css +++ b/wp-admin/css/colors-classic.dev.css @@ -501,15 +501,6 @@ a, 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 .update-plugins, #sidemenu a .update-plugins, @@ -1396,6 +1387,8 @@ fieldset.inline-edit-col-right .inline-edit-col { color: #D54E21; } +body.press-this .postbox:hover .handlediv, +body.press-this .stuffbox:hover .handlediv, .meta-box-sortables .postbox:hover .handlediv { 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; } -#post-body ul.category-tabs li.tabs a, -#post-body ul.add-menu-item-tabs li.tabs a { +#post-body ul.category-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; } diff --git a/wp-admin/css/colors-fresh.dev.css b/wp-admin/css/colors-fresh.dev.css index ede8f3840d..fccbed6e04 100644 --- a/wp-admin/css/colors-fresh.dev.css +++ b/wp-admin/css/colors-fresh.dev.css @@ -501,15 +501,6 @@ a, 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 .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.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; } diff --git a/wp-admin/css/press-this.dev.css b/wp-admin/css/press-this.dev.css index 0a8c092d53..05c05b05b7 100644 --- a/wp-admin/css/press-this.dev.css +++ b/wp-admin/css/press-this.dev.css @@ -147,7 +147,7 @@ h3.tb { .postbox: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 { diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index f94e68d1e1..1171e0acd8 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -490,7 +490,7 @@ function wp_default_styles( &$styles ) { $styles->add_data( 'ie', 'conditional', 'lte IE 7' ); // 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. $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( '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( '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( 'login', "/wp-admin/css/login$suffix.css", array(), '20101020' ); $styles->add( 'plugin-install', "/wp-admin/css/plugin-install$suffix.css", array(), '20100402' );