Follow-up to r90265: directionality improvements as part of bug 6100 (under $wgBetter...
[lhc/web/wiklou.git] / skins / common / shared.css
index 2d4fb66..f3f2bde 100644 (file)
@@ -4,6 +4,12 @@
  * another, but don't ignore the poor pre-Monobook users either.
  */
 
+/* Default style for semantic tags */
+abbr, acronym, .explain {
+       border-bottom: 1px dotted black;
+       cursor: help;
+}
+
 /* Colored watchlist and recent changes numbers */
 .mw-plusminus-pos { color: #006400; } /* dark green */
 .mw-plusminus-neg { color: #8b0000; } /* dark red */
@@ -15,6 +21,7 @@
        font-style: italic;
 }
 
+
 /* Comment and username portions of RC entries */
 span.comment {
        font-style: italic;
@@ -158,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;
 }
 
 /*
@@ -292,6 +299,11 @@ a.feedlink {
        background: none !important;
        padding: 0 !important;
 }
+/* External URLs should always be treated as LTR (bug 4330) */
+/* @noflip */ .rtl a.external.free, .rtl a.external.autonumber {
+       direction: ltr;
+       unicode-bidi: embed;
+}
 
 /* wikitable class for skinning normal tables
  * keep on sync with commonPrint.css
@@ -361,6 +373,24 @@ table.collapsed tr.collapsable {
        border: none;
 }
 
+/* general info/warning box for SP */
+.mw-infobox {
+       border: 2px solid #ff7f00;
+       margin: 0.5em;
+       clear: left;
+       overflow: hidden;
+}
+
+.mw-infobox-left {
+       margin: 7px;
+       float: left;
+       width: 35px;
+}
+
+.mw-infobox-right {
+       margin: 0.5em 0.5em 0.5em 49px;
+}
+
 /* Note on preview page */
 .previewnote {
        color: #c00;
@@ -393,7 +423,6 @@ table.collapsed tr.collapsable {
 .TablePager {
        min-width: 80%;
        border-collapse: collapse;
-       margin: 0 auto;
 }
 .TablePager_nav {
        margin: 0 auto;
@@ -614,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 */
@@ -680,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;
 }