Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314

git-svn-id: http://svn.automattic.com/wordpress/trunk@18579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-08-22 16:44:02 +00:00
parent ba3ad76771
commit 3d679a03e2
9 changed files with 240 additions and 202 deletions

View File

@ -1 +0,0 @@
.bar{border-right-color:none;border-left-color:#99d;}.post-com-count{background-image:url(../images/bubble_bg-rtl.gif);}#user_info_arrow{background:transparent url(../images/arrows-vs.png) no-repeat 0 5px;}#user_info:hover #user_info_arrow,#user_info.active #user_info_arrow{background:transparent url(../images/arrows-dark-vs.png) no-repeat 0 5px;}#adminmenushadow,#adminmenuback{background-image:url(../images/menu-shadow-rtl.png);background-position:top left;}#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/arrows-dark-vs.png) no-repeat 8px 6px;}#adminmenu .wp-has-submenu:hover .wp-menu-toggle,#adminmenu .wp-menu-open .wp-menu-toggle{background:transparent url(../images/arrows-vs.png) no-repeat 8px 6px;}#adminmenu .wp-submenu .wp-submenu-head{border-right-color:none;border-left-color:#d1e5ee;}.folded #adminmenu .wp-submenu-wrap{-moz-box-shadow:-2px 2px 5px rgba(0,0,0,0.4);-webkit-box-shadow:-2px 2px 5px rgba(0,0,0,0.4);box-shadow:-2px 2px 5px rgba(0,0,0,0.4);}#collapse-button div{background-position:0 -108px;}.folded #collapse-button div{background-position:0 -72px;}.meta-box-sortables .postbox:hover .handlediv{background:transparent url(../images/arrows-vs.png) no-repeat 6px 7px;}.tablenav .tablenav-pages a{border-color:#d1e5ee;background:#eee url('../images/menu-bits-rtl-vs.gif?ver=20100610') repeat-x scroll right -379px;}#post-body .misc-pub-section{border-right-color:none;border-left-color:#d1e5ee;}#favorite-toggle{background:transparent url(../images/arrows-vs.png) no-repeat 4px 2px;}#screen-meta a.show-settings,.toggle-arrow{background:transparent url(../images/arrows-vs.png) no-repeat left 3px;}#screen-meta .screen-meta-active a.show-settings{background:transparent url(../images/arrows-vs.png) no-repeat left -33px;}.sidebar-name-arrow{background:transparent url(../images/arrows-vs.png) no-repeat 5px 9px;}.sidebar-name:hover .sidebar-name-arrow{background:transparent url(../images/arrows-dark-vs.png) no-repeat 5px 9px;}

View File

@ -1,98 +0,0 @@
.bar {
border-right-color: none;
border-left-color: #99d;
}
.post-com-count {
background-image: url(../images/bubble_bg-rtl.gif);
}
#user_info_arrow {
background: transparent url(../images/arrows-vs.png) no-repeat 0 5px;
}
#user_info:hover #user_info_arrow,
#user_info.active #user_info_arrow {
background: transparent url(../images/arrows-dark-vs.png) no-repeat 0 5px;
}
/* editors */
/* menu */
#adminmenushadow,
#adminmenuback {
background-image: url(../images/menu-shadow-rtl.png);
background-position: top left;
}
#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,
#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/arrows-dark-vs.png) no-repeat 8px 6px;
}
#adminmenu .wp-has-submenu:hover .wp-menu-toggle,
#adminmenu .wp-menu-open .wp-menu-toggle {
background: transparent url(../images/arrows-vs.png) no-repeat 8px 6px;
}
#adminmenu .wp-submenu .wp-submenu-head {
border-right-color: none;
border-left-color: #d1e5ee;
}
.folded #adminmenu .wp-submenu-wrap {
-moz-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
-webkit-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
}
/* collapse menu button */
#collapse-button div {
background-position: 0 -108px;
}
.folded #collapse-button div {
background-position: 0 -72px;
}
/* edit image */
.meta-box-sortables .postbox:hover .handlediv {
background: transparent url(../images/arrows-vs.png) no-repeat 6px 7px;
}
.tablenav .tablenav-pages a {
border-color: #d1e5ee;
background: #eee url('../images/menu-bits-rtl-vs.gif?ver=20100610') repeat-x scroll right -379px;
}
#post-body .misc-pub-section {
border-right-color: none;
border-left-color: #d1e5ee;
}
#favorite-toggle {
background: transparent url(../images/arrows-vs.png) no-repeat 4px 2px;
}
#screen-meta a.show-settings,
.toggle-arrow {
background: transparent url(../images/arrows-vs.png) no-repeat left 3px;
}
#screen-meta .screen-meta-active a.show-settings {
background: transparent url(../images/arrows-vs.png) no-repeat left -33px;
}
.sidebar-name-arrow {
background: transparent url(../images/arrows-vs.png) no-repeat 5px 9px;
}
.sidebar-name:hover .sidebar-name-arrow {
background: transparent url(../images/arrows-dark-vs.png) no-repeat 5px 9px;
}
/* custom header & background pages */
/* custom header & background pages */

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,25 @@
/*------------------------------------------------------------------------------
Howdy! This is the CSS file that controls the
Blue (classic) color style on the WordPress Dashboard.
This file contains both LTR and RTL styles.
TABLE OF CONTENTS:
------------------
1.0 - Left to Right Styles
2.0 - Right to Left Styles
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
1.0 - Left to Right Styles
------------------------------------------------------------------------------*/
html,
.wp-dialog {
background-color: #fff;
@ -2085,3 +2107,99 @@ div.widgets-sortables,
#fullscreen-topbar {
border-bottom-color: #D1E5EE;
}
/*------------------------------------------------------------------------------
2.0 - Right to Left Styles
------------------------------------------------------------------------------*/
.rtl .bar {
border-right-color: none;
border-left-color: #99d;
}
.rtl .post-com-count {
background-image: url(../images/bubble_bg-rtl.gif);
}
.rtl #user_info_arrow {
background: transparent url(../images/arrows-vs.png) no-repeat 0 5px;
}
.rtl #user_info:hover #user_info_arrow,
.rtl #user_info.active #user_info_arrow {
background: transparent url(../images/arrows-dark-vs.png) no-repeat 0 5px;
}
/* Menu */
.rtl #adminmenushadow,
.rtl #adminmenuback {
background-image: url(../images/menu-shadow-rtl.png);
background-position: top left;
}
.rtl #adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,
.rtl #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/arrows-dark-vs.png) no-repeat 8px 6px;
}
.rtl #adminmenu .wp-has-submenu:hover .wp-menu-toggle,
.rtl #adminmenu .wp-menu-open .wp-menu-toggle {
background: transparent url(../images/arrows-vs.png) no-repeat 8px 6px;
}
.rtl #adminmenu .wp-submenu .wp-submenu-head {
border-right-color: none;
border-left-color: #d1e5ee;
}
.rtl .folded #adminmenu .wp-submenu-wrap {
-moz-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
-webkit-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
}
/* Collapse Menu Button */
.rtl #collapse-button div {
background-position: 0 -108px;
}
.rtl .folded #collapse-button div {
background-position: 0 -72px;
}
/* edit image */
.rtl .meta-box-sortables .postbox:hover .handlediv {
background: transparent url(../images/arrows-vs.png) no-repeat 6px 7px;
}
.rtl .tablenav .tablenav-pages a {
border-color: #d1e5ee;
background: #eee url('../images/menu-bits-rtl-vs.gif?ver=20100610') repeat-x scroll right -379px;
}
.rtl #post-body .misc-pub-section {
border-right-color: none;
border-left-color: #d1e5ee;
}
.rtl #favorite-toggle {
background: transparent url(../images/arrows-vs.png) no-repeat 4px 2px;
}
.rtl #screen-meta a.show-settings,
.toggle-arrow {
background: transparent url(../images/arrows-vs.png) no-repeat left 3px;
}
.rtl #screen-meta .screen-meta-active a.show-settings {
background: transparent url(../images/arrows-vs.png) no-repeat left -33px;
}
.rtl .sidebar-name-arrow {
background: transparent url(../images/arrows-vs.png) no-repeat 5px 9px;
}
.rtl .sidebar-name:hover .sidebar-name-arrow {
background: transparent url(../images/arrows-dark-vs.png) no-repeat 5px 9px;
}

View File

@ -1 +0,0 @@
.bar{border-right-color:none;border-left-color:#99d;}.post-com-count{background-image:url(../images/bubble_bg-rtl.gif);}#user_info_arrow{background:transparent url(../images/arrows.png) no-repeat 0 5px;}#user_info:hover #user_info_arrow,#user_info.active #user_info_arrow{background:transparent url(../images/arrows-dark.png) no-repeat 0 5px;}#adminmenushadow,#adminmenuback{background-image:url(../images/menu-shadow-rtl.png);background-position:top left;}#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle{background:transparent url(../images/arrows-dark.png) no-repeat 8px 6px;}#adminmenu .wp-has-submenu:hover .wp-menu-toggle,#adminmenu .wp-menu-open .wp-menu-toggle{background:transparent url(../images/arrows.png) no-repeat 8px 6px;}#adminmenu .wp-submenu .wp-submenu-head{border-right-color:none;border-left-color:#dfdfdf;}.folded #adminmenu .wp-submenu-wrap{-moz-box-shadow:-2px 2px 5px rgba(0,0,0,0.4);-webkit-box-shadow:-2px 2px 5px rgba(0,0,0,0.4);box-shadow:-2px 2px 5px rgba(0,0,0,0.4);}#collapse-button div{background-position:0 -108px;}.folded #collapse-button div{background-position:0 -72px;}.meta-box-sortables .postbox:hover .handlediv{background:transparent url(../images/arrows.png) no-repeat 6px 7px;}.tablenav .tablenav-pages a{border-color:#e3e3e3;background:#eee url('../images/menu-bits-rtl.gif?ver=20100610') repeat-x scroll right -379px;}#post-body .misc-pub-section{border-right-color:none;border-left-color:#eee;}#favorite-toggle{background:transparent url(../images/arrows.png) no-repeat 4px 2px;}#screen-meta a.show-settings,.toggle-arrow{background:transparent url(../images/arrows.png) no-repeat left 3px;}#screen-meta .screen-meta-active a.show-settings{background:transparent url(../images/arrows.png) no-repeat left -33px;}.sidebar-name-arrow{background:transparent url(../images/arrows.png) no-repeat 5px 9px;}.sidebar-name:hover .sidebar-name-arrow{background:transparent url(../images/arrows-dark.png) no-repeat 5px 9px;}

View File

@ -1,98 +0,0 @@
.bar {
border-right-color: none;
border-left-color: #99d;
}
.post-com-count {
background-image: url(../images/bubble_bg-rtl.gif);
}
#user_info_arrow {
background: transparent url(../images/arrows.png) no-repeat 0 5px;
}
#user_info:hover #user_info_arrow,
#user_info.active #user_info_arrow {
background: transparent url(../images/arrows-dark.png) no-repeat 0 5px;
}
/* editors */
/* menu */
#adminmenushadow,
#adminmenuback {
background-image: url(../images/menu-shadow-rtl.png);
background-position: top left;
}
#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,
#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/arrows-dark.png) no-repeat 8px 6px;
}
#adminmenu .wp-has-submenu:hover .wp-menu-toggle,
#adminmenu .wp-menu-open .wp-menu-toggle {
background: transparent url(../images/arrows.png) no-repeat 8px 6px;
}
#adminmenu .wp-submenu .wp-submenu-head {
border-right-color: none;
border-left-color: #dfdfdf;
}
.folded #adminmenu .wp-submenu-wrap {
-moz-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
-webkit-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
}
/* collapse menu button */
#collapse-button div {
background-position: 0 -108px;
}
.folded #collapse-button div {
background-position: 0 -72px;
}
/* edit image */
.meta-box-sortables .postbox:hover .handlediv {
background: transparent url(../images/arrows.png) no-repeat 6px 7px;
}
.tablenav .tablenav-pages a {
border-color: #e3e3e3;
background: #eee url('../images/menu-bits-rtl.gif?ver=20100610') repeat-x scroll right -379px;
}
#post-body .misc-pub-section {
border-right-color: none;
border-left-color: #eee;
}
#favorite-toggle {
background: transparent url(../images/arrows.png) no-repeat 4px 2px;
}
#screen-meta a.show-settings,
.toggle-arrow {
background: transparent url(../images/arrows.png) no-repeat left 3px;
}
#screen-meta .screen-meta-active a.show-settings {
background: transparent url(../images/arrows.png) no-repeat left -33px;
}
.sidebar-name-arrow {
background: transparent url(../images/arrows.png) no-repeat 5px 9px;
}
.sidebar-name:hover .sidebar-name-arrow {
background: transparent url(../images/arrows-dark.png) no-repeat 5px 9px;
}
/* custom header & background pages */
/* custom header & background pages */

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,25 @@
/*------------------------------------------------------------------------------
Howdy! This is the CSS file that controls the
Gray (fresh) color style on the WordPress Dashboard.
This file contains both LTR and RTL styles.
TABLE OF CONTENTS:
------------------
1.0 - Left to Right Styles
2.0 - Right to Left Styles
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
1.0 - Left to Right Styles
------------------------------------------------------------------------------*/
html,
.wp-dialog {
background-color: #fff;
@ -1761,3 +1783,99 @@ div.widgets-sortables,
#fullscreen-topbar {
border-bottom-color: #DFDFDF;
}
/*------------------------------------------------------------------------------
2.0 - Right to Left Styles
------------------------------------------------------------------------------*/
.rtl .bar {
border-right-color: none;
border-left-color: #99d;
}
.rtl .post-com-count {
background-image: url(../images/bubble_bg-rtl.gif);
}
.rtl #user_info_arrow {
background: transparent url(../images/arrows.png) no-repeat 0 5px;
}
.rtl #user_info:hover #user_info_arrow,
.rtl #user_info.active #user_info_arrow {
background: transparent url(../images/arrows-dark.png) no-repeat 0 5px;
}
/* Menu */
.rtl #adminmenushadow,
.rtl #adminmenuback {
background-image: url(../images/menu-shadow-rtl.png);
background-position: top left;
}
.rtl #adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,
.rtl #adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/arrows-dark.png) no-repeat 8px 6px;
}
.rtl #adminmenu .wp-has-submenu:hover .wp-menu-toggle,
.rtl #adminmenu .wp-menu-open .wp-menu-toggle {
background: transparent url(../images/arrows.png) no-repeat 8px 6px;
}
.rtl #adminmenu .wp-submenu .wp-submenu-head {
border-right-color: none;
border-left-color: #dfdfdf;
}
.rtl .folded #adminmenu .wp-submenu-wrap {
-moz-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
-webkit-box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
box-shadow: -2px 2px 5px rgba( 0, 0, 0, 0.4 );
}
/* Collapse Menu Button */
.rtl #collapse-button div {
background-position: 0 -108px;
}
.rtl .folded #collapse-button div {
background-position: 0 -72px;
}
/* Edit Image */
.rtl .meta-box-sortables .postbox:hover .handlediv {
background: transparent url(../images/arrows.png) no-repeat 6px 7px;
}
.rtl .tablenav .tablenav-pages a {
border-color: #e3e3e3;
background: #eee url('../images/menu-bits-rtl.gif?ver=20100610') repeat-x scroll right -379px;
}
.rtl #post-body .misc-pub-section {
border-right-color: none;
border-left-color: #eee;
}
.rtl #favorite-toggle {
background: transparent url(../images/arrows.png) no-repeat 4px 2px;
}
.rtl #screen-meta a.show-settings,
.toggle-arrow {
background: transparent url(../images/arrows.png) no-repeat left 3px;
}
.rtl #screen-meta .screen-meta-active a.show-settings {
background: transparent url(../images/arrows.png) no-repeat left -33px;
}
.rtl .sidebar-name-arrow {
background: transparent url(../images/arrows.png) no-repeat 5px 9px;
}
.rtl .sidebar-name:hover .sidebar-name-arrow {
background: transparent url(../images/arrows-dark.png) no-repeat 5px 9px;
}

View File

@ -398,7 +398,7 @@ function wp_default_styles( &$styles ) {
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '.dev' : '';
$rtl_styles = array( 'wp-admin', 'colors-fresh', 'colors-classic', 'ie', 'media', 'admin-bar', 'wplink' );
$rtl_styles = array( 'wp-admin', 'ie', 'media', 'admin-bar', 'wplink' );
// Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' );
@ -408,7 +408,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 = '20110703';
$colors_version = '20110822';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array('wp-admin'), $colors_version );