From b442bfdeff79dcf7aac4f501589f9836a8d99a56 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 22 Mar 2008 17:59:55 +0000 Subject: [PATCH] RTL CSS from mani_monaj. see #6296 git-svn-id: http://svn.automattic.com/wordpress/trunk@7476 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/colors-classic-rtl.css | 3 +++ wp-admin/css/ie-rtl.css | 7 ------ wp-admin/css/upload-rtl.css | 12 ++++++++++ wp-admin/rtl.css | 36 +++++++++++++++++++++++++++-- 4 files changed, 49 insertions(+), 9 deletions(-) create mode 100644 wp-admin/css/colors-classic-rtl.css create mode 100644 wp-admin/css/upload-rtl.css diff --git a/wp-admin/css/colors-classic-rtl.css b/wp-admin/css/colors-classic-rtl.css new file mode 100644 index 0000000000..5d0d05cf3e --- /dev/null +++ b/wp-admin/css/colors-classic-rtl.css @@ -0,0 +1,3 @@ +#poststuff .closed .togbox, #poststuff .togbox { +background-image: url(../images/toggle-arrow-rtl.gif) !important; +} \ No newline at end of file diff --git a/wp-admin/css/ie-rtl.css b/wp-admin/css/ie-rtl.css index 0404f3c5df..9acd6d54b2 100644 --- a/wp-admin/css/ie-rtl.css +++ b/wp-admin/css/ie-rtl.css @@ -1,10 +1,3 @@ -/* dashboard */ -div#dashboard-widgets { - margin-left:0; -} -div.dashboard-widget-holder { - width:49%; -} /* footer */ #footer { padding-left:50px; diff --git a/wp-admin/css/upload-rtl.css b/wp-admin/css/upload-rtl.css new file mode 100644 index 0000000000..dc13a4b954 --- /dev/null +++ b/wp-admin/css/upload-rtl.css @@ -0,0 +1,12 @@ +html { + direction: ltr; + } +#uploadoptions, table { + direction: rtl; + } +td { + padding: 1px 6px 0; + } +.submit { + text-align: left; + } \ No newline at end of file diff --git a/wp-admin/rtl.css b/wp-admin/rtl.css index 0e276a1399..8c0ada8c7e 100644 --- a/wp-admin/rtl.css +++ b/wp-admin/rtl.css @@ -1,4 +1,4 @@ -html,#edit-slug-box,#trackback,#category_nicename,#slug,#dbuser,#dbpass,#dbname,#dbhost,#dbprefix,#dccharset,input[name=gmpath],input[name=archivespath],input[name=lastentry],input[name=email],input[name=url],input[name=aim],input[name=yim],input[name=jabber],#newcontent,#email,#newcomment_author_url,#pass1,#pass2,#siteurl,#home,#admin_email,#date_format,#time_format,#mailserver_url,#mailserver_login,#mailserver_pass,#ping_sites,#blog_charset,#moderation_keys,#blacklist_keys,#permalink_structure,#category_base,#tag_base,#upload_path,#upload_url_path,#insertonly[src],#insertonly[href] +html,#edit-slug-box,#trackback,#category_nicename,#slug,#dbuser,#dbpass,#dbname,#dbhost,#dbprefix,#dccharset,input[name=gmpath],input[name=archivespath],input[name=lastentry],input[name=email],input[name=url],input[name=aim],input[name=yim],input[name=jabber],#newcontent,#email,#newcomment_author_url,#pass1,#pass2,#siteurl,#home,#admin_email,#date_format,#time_format,#mailserver_url,#mailserver_login,#mailserver_pass,#ping_sites,#blog_charset,#moderation_keys,#blacklist_keys,#permalink_structure,#category_base,#tag_base,#upload_path,#upload_url_path,#insertonly[src],#insertonly[href],#mailserver_port,#thumbnail_size_w,#thumbnail_size_h,#medium_size_w,#medium_size_h,#posts_per_page,#posts_per_rss,#comment_max_links,#insertonly[src],#link_url,#link_image,#rss_uri,#user_login { direction:ltr; text-align:left @@ -128,6 +128,20 @@ form#themeselector float:left } +.form-table input.tog +{ + float:right; + margin-right:0; + margin-left:2px; +} + +.curtime +{ + background-position:right 2px; + padding-left:0; + padding-right:18px; +} + #poststuff #edButtonPreview,#poststuff #edButtonHTML { float:left; @@ -195,7 +209,7 @@ div.ui-tabs-panel .tablenav .tablenav-pages { - float:left!important; + float:left !important; width:200px } @@ -211,6 +225,24 @@ div.ui-tabs-panel padding-right:18px } +.form-table table.color-palette { + float:right; +} + +#pass-strength-result +{ + float:right; + margin-right:0; + margin-left:5px; +} + +td.comment p.comment-author img.avatar +{ + float:right !important; + margin-right:0 !important; + margin-left:8px !important; +} + #footer { padding:10px 0 0