From e5e499be665a48bc9acba75e0bc19f560278cc77 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 8 Aug 2008 17:23:30 +0000 Subject: [PATCH] RTL fixes from RanYanivHartstein. see #7482 git-svn-id: http://svn.automattic.com/wordpress/trunk@8590 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/ie-rtl.css | 50 +++++++++++++++++++++++++++++++++++++++++ wp-admin/rtl.css | 6 +++++ 2 files changed, 56 insertions(+) diff --git a/wp-admin/css/ie-rtl.css b/wp-admin/css/ie-rtl.css index d89084468c..d60ddf3cc9 100644 --- a/wp-admin/css/ie-rtl.css +++ b/wp-admin/css/ie-rtl.css @@ -47,4 +47,54 @@ p#widget-search, p#post-search { /* template editor */ #template textarea { float:left; +} + +/* Editor */ + +.mceToolbar { + direction: ltr; + text-align: left; +} + +/* IE6 */ + +/* Search box gets stuck to the right, hidden outside view */ +* html #post-search, * html #widget-search { + height: 1% !important; + right: 600px !important; +} + +/* Sidemenu tends to disapear, widget filter area tends to jump around when adding filters - Peek-A-Boo! */ +* html #sidemenu, * html #widgets-filter { + height: 1% !important; +} + +/* Media upload window gets stuck to the right, hidden outside view */ +* html #TB_window { + left: 100px !important; +} + +/* Bad floating in the sub-sub-sub menu makes links un-clickable */ +* html .subsubsub li { + display: block; float: right; margin: 0 2px; +} + +/* Fixing floats on sub-sub-sub menu skewes the view-switch menu on comments management page */ +* html .wrap .view-switch { + margin-top: 1px; +} + +/* Theme selector on theme edit page gets stuck to the left, hidden outside view */ +* html #themeselector { + position: static; +} + +/* Template edit area floats beneath template list, gets RTLed */ +* html #template { + float: right; + overflow: hidden; + width: 755px !important; +} +* html #template #newcontent { + direction: ltr; } \ No newline at end of file diff --git a/wp-admin/rtl.css b/wp-admin/rtl.css index f996deec9c..c07348a90f 100644 --- a/wp-admin/rtl.css +++ b/wp-admin/rtl.css @@ -17,6 +17,12 @@ body, td, .submit input, .button, .button-secondary, .button-highlighted, #your- margin-bottom: 1em; } +/* Clears update nag, so it doesn't hide the submenu */ +#update-nag { + clear: both; + margin-bottom: 1em; +} + #wpwrap,#footer,#TB_title,.media-upload-form,#media-upload-header { direction:rtl!important;