RTL fixes for internal linking. props SergeyBiryukov, helen. see #22835, for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@23226 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-12-28 22:57:32 +00:00
parent 140881a378
commit a3e17acb53
1 changed files with 17 additions and 15 deletions

View File

@ -1246,7 +1246,7 @@ html[dir="rtl"] .wp-switch-editor {
#wp-link .link-search-field { #wp-link .link-search-field {
float: left; float: left;
margin-right: 5px; width: 220px;
} }
#wp-link .link-search-wrapper { #wp-link .link-search-wrapper {
@ -1260,13 +1260,7 @@ html[dir="rtl"] .wp-switch-editor {
margin-top: 4px; margin-top: 4px;
} }
#wp-link .link-search-wrapper input[type="text"] {
float: left;
width: 220px;
}
#wp-link .link-search-wrapper .spinner { #wp-link .link-search-wrapper .spinner {
margin: 4px 2px 0 0;
display: none; display: none;
vertical-align: text-bottom; vertical-align: text-bottom;
} }
@ -1500,6 +1494,11 @@ html[dir="rtl"] .wp-switch-editor {
padding: 0; 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:hover,
.wp-dialog .ui-dialog-titlebar-close:focus { .wp-dialog .ui-dialog-titlebar-close:focus {
background-position: -87px -32px; background-position: -87px -32px;
@ -1519,22 +1518,25 @@ RTL
padding-left: 0; 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; text-align: left;
padding-left: 5px;
padding-right: 0; 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 { .rtl #wp-link .link-search-wrapper span {
float: right; float: right;
} }
.rtl #wp-link .link-search-wrapper input[type="text"] {
float: right;
}
.rtl #wp-link .link-target { .rtl #wp-link .link-target {
margin: 0 87px 0 0; margin-right: 87px;
margin-left: 0;
} }
.rtl #wp-link .item-info { .rtl #wp-link .item-info {