From c31d11fc89ab8904027061fb3897b8bbc7588bef Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 28 Dec 2012 22:57:32 +0000 Subject: [PATCH] RTL fixes for internal linking. props SergeyBiryukov, helen. see #22835, for trunk. git-svn-id: http://core.svn.wordpress.org/trunk@23226 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/css/editor.css | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/wp-includes/css/editor.css b/wp-includes/css/editor.css index a5d15d81e9..a39d2c2ba1 100644 --- a/wp-includes/css/editor.css +++ b/wp-includes/css/editor.css @@ -1246,7 +1246,7 @@ html[dir="rtl"] .wp-switch-editor { #wp-link .link-search-field { float: left; - margin-right: 5px; + width: 220px; } #wp-link .link-search-wrapper { @@ -1260,13 +1260,7 @@ html[dir="rtl"] .wp-switch-editor { margin-top: 4px; } -#wp-link .link-search-wrapper input[type="text"] { - float: left; - width: 220px; -} - #wp-link .link-search-wrapper .spinner { - margin: 4px 2px 0 0; display: none; vertical-align: text-bottom; } @@ -1341,7 +1335,7 @@ html[dir="rtl"] .wp-switch-editor { display: none; } -#wp-link #search-panel { +#wp-link #search-panel { float: left; width: 100%; } @@ -1500,6 +1494,11 @@ html[dir="rtl"] .wp-switch-editor { padding: 0; } +.rtl .wp-dialog .ui-dialog-titlebar-close { + right: auto; + left: 6px; +} + .wp-dialog .ui-dialog-titlebar-close:hover, .wp-dialog .ui-dialog-titlebar-close:focus { background-position: -87px -32px; @@ -1519,22 +1518,25 @@ RTL padding-left: 0; } -.rtl #wp-link label span { +.rtl #wp-link #link-options label span, +.rtl #wp-link #search-panel label span.search-label { text-align: left; - padding-left: 5px; padding-right: 0; + padding-left: 5px; } +.rtl #wp-link #link-options label #url-field { + direction: ltr; +} + +.rtl #wp-link .link-search-field, .rtl #wp-link .link-search-wrapper span { float: right; } -.rtl #wp-link .link-search-wrapper input[type="text"] { - float: right; -} - .rtl #wp-link .link-target { - margin: 0 87px 0 0; + margin-right: 87px; + margin-left: 0; } .rtl #wp-link .item-info {