From 064e0e74f9dd40934c484858a156977ac4b40f4c Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 9 Dec 2008 17:36:36 +0000 Subject: [PATCH] RTL updates from kashani. fixes #8047 git-svn-id: http://svn.automattic.com/wordpress/trunk@10147 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/dashboard-rtl.css | 2 +- wp-admin/css/login-rtl.css | 3 +++ wp-admin/css/plugin-install-rtl.css | 11 +++++++++-- wp-admin/css/widgets-rtl.css | 19 ------------------- wp-admin/rtl.css | 23 +++++++++++------------ 5 files changed, 24 insertions(+), 34 deletions(-) diff --git a/wp-admin/css/dashboard-rtl.css b/wp-admin/css/dashboard-rtl.css index dda87d75b4..60a97bafea 100644 --- a/wp-admin/css/dashboard-rtl.css +++ b/wp-admin/css/dashboard-rtl.css @@ -30,7 +30,7 @@ float: left; clear: left; } -#dashboard-widgets h3 a { +#dashboard-widgets h3 .postbox-title-action { right: auto; left: 30px; } diff --git a/wp-admin/css/login-rtl.css b/wp-admin/css/login-rtl.css index 600a6c94d3..4a5c5f0a81 100644 --- a/wp-admin/css/login-rtl.css +++ b/wp-admin/css/login-rtl.css @@ -25,3 +25,6 @@ form .submit { float: left; } margin-right: 0; direction:ltr; } +h1 a { + text-decoration: none; +} diff --git a/wp-admin/css/plugin-install-rtl.css b/wp-admin/css/plugin-install-rtl.css index 84c474e766..ca5e1d9d60 100644 --- a/wp-admin/css/plugin-install-rtl.css +++ b/wp-admin/css/plugin-install-rtl.css @@ -16,8 +16,8 @@ div.star { margin-left: 200px; } #plugin-information .fyi { - margin-left: 0; - margin-right: 10px; + margin-left: 5px; + margin-right: 20px; } #plugin-information .fyi h2 { margin-left: 0; @@ -34,3 +34,10 @@ div.star { margin-right: 0; margin-left: 215px; } +#plugin-information .updated, #plugin-information .error { + clear: none; + direction: rtl; +} +#section-description { + direction: ltr; +} diff --git a/wp-admin/css/widgets-rtl.css b/wp-admin/css/widgets-rtl.css index 4dae091ea8..8d0fc3aae2 100644 --- a/wp-admin/css/widgets-rtl.css +++ b/wp-admin/css/widgets-rtl.css @@ -1,19 +1,3 @@ -/* 2 column liquid layout */ -div.widget-liquid-left-holder { - float: right; - clear: right; - margin-right: 0; - margin-left: -310px; -} -div.widget-liquid-left { - margin-right: 0; - margin-left: 320px; -} -div.widget-liquid-right { - float: left; - clear: left; -} -/* pasitioning etc. */ h4.widget-title span { float: right; } @@ -41,6 +25,3 @@ li.widget-list-control-item h4.widget-title a, right: auto; left: 1em; } -div#current-widgets { /* fix */ - overflow: auto; -} diff --git a/wp-admin/rtl.css b/wp-admin/rtl.css index 994fa46e99..467711aa45 100644 --- a/wp-admin/rtl.css +++ b/wp-admin/rtl.css @@ -110,7 +110,7 @@ td.available-theme { #user_info { float: left; } -#logo50 { +#header-logo { float: right; margin: 7px 15px 0 0; } @@ -183,6 +183,11 @@ td.available-theme { .post-com-count-wrapper { font-family: tahoma; } +.column-response .post-com-count { + float: right; + margin-right: 0; + margin-left: 5px; +} /* Tables used on comment.php and option/setting pages */ .form-table th, #wpbody-content .describe th { @@ -395,9 +400,6 @@ td.action-links, th.action-links { #replyrow #ed_reply_toolbar input { margin: 1px 1px 1px 2px; } -.metabox-prefs { - padding: 5px 10px 10px 5px; -} /* show/hide settings */ #screen-meta-links { margin: 0 0 0 9px; @@ -406,11 +408,7 @@ td.action-links, th.action-links { #contextual-help-link-wrap { float: left; font-family: Tahoma, "Times New Roman"; - margin: -1px 0 0 6px; -} -#screen-options-wrap h5, -#contextual-help-wrap h5 { - padding: 10px 15px 0 0; + margin: 0 0 0 6px; } .metabox-prefs label { padding-right: 0; @@ -424,9 +422,6 @@ td.action-links, th.action-links { margin-right: 0; margin-left: 5px; } -#screen-meta a.show-settings { - padding: 0 6px 0 16px; -} /* 2500 - 2700 =================================== */ #bulk-titles div a { @@ -530,6 +525,10 @@ td.action-links, th.action-links { float: right; margin: 14px 0 0 6px; } +.subtitle { + padding-left: 0; + padding-right: 25px; +} /* TinyMCE =================================== */ .clearlooks2 .mceTop .mceLeft {