Fix help tabs in RTL, props rosshanney, fixes #19024

git-svn-id: http://svn.automattic.com/wordpress/trunk@19083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-10-28 23:05:58 +00:00
parent 08ecc0293a
commit 55fdf0eaaf
3 changed files with 64 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -311,15 +311,22 @@ form.upgrade .hint {
6.1 - Screen Options Tabs
------------------------------------------------------------------------------*/
#screen-meta {
right: 146px;
left: 0;
margin-right: 20px;
margin-left: 15px;
}
.folded #screen-meta {
right: 33px;
left: 0;
}
#screen-meta .screen-reader-text {
visibility: hidden;
}
#contextual-help-wrap li {
list-style-type: disc;
margin-left: auto;
margin-right: 18px;
}
.toggle-arrow {
background-position: top right;
}
@ -329,11 +336,12 @@ form.upgrade .hint {
#screen-options-wrap,
#contextual-help-wrap {
margin: 0 0 0 15px;
padding-right: 12px;
padding-left: 8px;
}
.metabox-prefs label {
padding-right: auto;
padding-right: 0;
padding-left: 15px;
}
@ -341,6 +349,53 @@ form.upgrade .hint {
margin: 0 2px 0 5px;
}
/*------------------------------------------------------------------------------
6.2 - Help Menu
------------------------------------------------------------------------------*/
#contextual-help-back {
right: 3px;
left: -1px;
}
#contextual-help-wrap {
padding-left: 0;
padding-right: 4px;
}
.contextual-help-tabs {
float: right;
}
.contextual-help-tabs a {
padding-left: 5px;
padding-right: 12px;
}
.contextual-help-tabs .active {
margin-right: -3px;
margin-left: -1px;
border-left: 0;
border-right-width: 1px;
}
.help-tab-content {
margin-right: 0;
margin-left: 22px;
}
.help-tab-content li {
list-style-type: disc;
margin-left: auto;
margin-right: 18px;
}
.contextual-help-sidebar {
float: left;
padding-right: 12px;
padding-left: 8px;
}
/*------------------------------------------------------------------------------
7.0 - Main Navigation (Right Menu) (RTL: Left Menu)
------------------------------------------------------------------------------*/

View File

@ -431,7 +431,7 @@ 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(), '20111019' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111028' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111015' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );