From 1fba6c61c7076b94dd5cef0d05178759b18dc200 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 5 Aug 2008 19:48:04 +0000 Subject: [PATCH] RTL styling fixes from RanYanivHartstein. fixes #7461 git-svn-id: https://develop.svn.wordpress.org/trunk@8554 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/ie-rtl.css | 11 +++--- wp-admin/rtl.css | 80 ++++++++++++++++++++++++++++++++++++++++- 2 files changed, 83 insertions(+), 8 deletions(-) diff --git a/wp-admin/css/ie-rtl.css b/wp-admin/css/ie-rtl.css index 54cadd07bf..d89084468c 100644 --- a/wp-admin/css/ie-rtl.css +++ b/wp-admin/css/ie-rtl.css @@ -3,6 +3,10 @@ body, td { font-family: Tahoma,Verdana,sans-serif; } +#wpcontent #sidemenu li a { + float: left; +} + .wrap { text-align: right; } @@ -43,11 +47,4 @@ p#widget-search, p#post-search { /* template editor */ #template textarea { float:left; -} - -/* Editor */ - -.mceToolbar { - direction: ltr; - text-align: left; } \ No newline at end of file diff --git a/wp-admin/rtl.css b/wp-admin/rtl.css index e6b425ebf3..f996deec9c 100644 --- a/wp-admin/rtl.css +++ b/wp-admin/rtl.css @@ -12,6 +12,11 @@ body, td, .submit input, .button, .button-secondary, .button-highlighted, #your- font-family: monospace !important; } +#update-nag { + clear: both; + margin-bottom: 1em; +} + #wpwrap,#footer,#TB_title,.media-upload-form,#media-upload-header { direction:rtl!important; @@ -115,7 +120,8 @@ p#post-search .tablenav div { - float:right!important + float:right !important; + direction: rtl; } .tablenav .delete @@ -321,4 +327,76 @@ table.widefat th,.form-table th div#message { clear: both; +} + +#media-items th.label { + width: 120px; +} + +#media-items th.label .alignleft { + width: 100px; +} + +#media-items th.label .alignright { + width: 16px; height: 16px; +} + +input#href, input#src, input#class_name { + direction: ltr; text-align: left; +} + +#sidemenu a { + float: right; +} + +thead.media-item-info { + float: left; + margin-bottom: 18px; + width: 100%; +} + +thead.media-item-info td { + width: 100%; + text-align: left; +} + +thead.media-item-info td.A1B1 { + width: 150px; +} + +#gallery-form table.widefat th { + float: left; + width: 74%; + text-align: center; +} + +#gallery-form table.widefat th.order-head { + width: 18%; +} + +#media-upload tr.align td.field, #media-upload tr.image-size td.field { + text-align: right !important; +} + +#media-upload tr.align td.field { + float:right; + margin-right:-15px; +} + +tr.image-size label { + display:inline; + margin:0 0 0 1em !important; +} + +#library-form { + float: right; +} + +#filter .subsubsub { + direction: rtl; + text-align: right; +} + +#media-upload form#filter { + margin-right: -20px; } \ No newline at end of file