Follow-up to r90265: directionality improvements as part of bug 6100 (under $wgBetter...
[lhc/web/wiklou.git] / skins / common / shared.css
index a1642de..f3f2bde 100644 (file)
@@ -21,6 +21,7 @@ abbr, acronym, .explain {
        font-style: italic;
 }
 
+
 /* Comment and username portions of RC entries */
 span.comment {
        font-style: italic;
@@ -164,7 +165,7 @@ p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
 p.mw-filedelete-editreasons, p.mw-delete-editreasons,
 p.mw-revdel-editreasons {
        font-size: 90%;
-       float: right;
+       text-align: right;
 }
 
 /*
@@ -299,7 +300,7 @@ a.feedlink {
        padding: 0 !important;
 }
 /* External URLs should always be treated as LTR (bug 4330) */
-/* @noflip */ .rtl a.external {
+/* @noflip */ .rtl a.external.free, .rtl a.external.autonumber {
        direction: ltr;
        unicode-bidi: embed;
 }
@@ -375,8 +376,9 @@ table.collapsed tr.collapsable {
 /* general info/warning box for SP */
 .mw-infobox {
        border: 2px solid #ff7f00;
-       margin: 0.4em;
+       margin: 0.5em;
        clear: left;
+       overflow: hidden;
 }
 
 .mw-infobox-left {
@@ -421,7 +423,6 @@ table.collapsed tr.collapsable {
 .TablePager {
        min-width: 80%;
        border-collapse: collapse;
-       margin: 0 auto;
 }
 .TablePager_nav {
        margin: 0 auto;
@@ -642,18 +643,17 @@ ol:lang(or) li {
 /* tooltip styles */
 .mw-help-field-hint {
        display: none;
-       padding: 0px;
-       padding-left: 15px;
        margin-left: 2px;
        margin-bottom: -8px;
+       padding: 0px 0px 0px 15px;
        /* @embed */
        background-image: url('images/help-question.gif');
        background-position: left center;
        background-repeat: no-repeat;
-       color: #0645ad;
-       text-decoration: underline;
        cursor: pointer;
        font-size: .8em;
+       text-decoration: underline;
+       color: #0645ad;
 }
 .mw-help-field-hint:hover {
        /* @embed */
@@ -708,9 +708,32 @@ th.headerSortDown {
        background-image: url(images/sort_down.gif); 
 }
 
-/* Special:Version */
-#sv-software td {
-       /* version numbers are always ltr (and otherwise an RLE can be inserted) */
+/* LTR content in RTL layout */
+.ltr {
        /* @noflip */
        direction: ltr;
+       unicode-bidi: embed;
+}
+
+#mw-clearyourcache, #mw-sitecsspreview, #mw-sitejsspreview, #mw-usercsspreview, #mw-userjspreview {
+       direction: ltr;
+       unicode-bidi: embed;
+}
+
+/* Correct user & content directionality when viewing a diff */
+.diff-currentversion-title, .diff {
+       direction: ltr;
+       unicode-bidi: embed;
+}
+/* @noflip */ .diff-contentalign-right td {
+       direction: rtl;
+       unicode-bidi: embed;
+}
+/* @noflip */ .diff-contentalign-left td {
+       direction: ltr;
+       unicode-bidi: embed;
+}
+.diff-otitle, .diff-ntitle, .diff-lineno {
+       direction: ltr !important;
+       unicode-bidi: embed;
 }