Extension to r89419, I was too excited fixing the bug
[lhc/web/wiklou.git] / skins / common / shared.css
index f17e466..efc0260 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 */
@@ -40,7 +46,9 @@ span.texhtml { font-family: serif; }
 #editform, #toolbar, #wpTextbox1 {
        clear: both;
 }
-
+#toolbar img {
+       cursor: pointer;
+}
 div#mw-js-message {
        margin: 1em 5%;
        padding: 0.5em 2.5%;
@@ -85,6 +93,9 @@ li span.deleted, span.history-deleted {
        color: #888;
        font-style: italic;
 }
+li span.deleted a, span.history-deleted a {
+       color: #888;
+}
 
 /**
  * Patrol stuff
@@ -129,6 +140,7 @@ tr.mw-htmlform-vertical-label td.mw-label {
 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
        display: inline;
        margin-right: 1em;
+       white-space: nowrap;
 }
 
 input#wpSummary {
@@ -152,7 +164,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;
 }
 
 /*
@@ -286,6 +298,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
@@ -295,6 +312,7 @@ table.wikitable {
        background: #f9f9f9;
        border: 1px #aaa solid;
        border-collapse: collapse;
+       color: black;
 }
 .wikitable th, .wikitable td {
        border: 1px #aaa solid;
@@ -318,11 +336,15 @@ table.collapsed tr.collapsable {
        color: green;
        font-size: larger;
 }
+.warning {
+       color: #FFA500; /* orange */
+       font-size: larger;
+}
 .error {
        color: red;
        font-size: larger;
 }
-.errorbox, .successbox {
+.errorbox, .warningbox, .successbox {
        font-size: larger;
        border: 2px solid;
        padding: .5em 1em;
@@ -334,11 +356,15 @@ table.collapsed tr.collapsable {
        border-color: red;
        background-color: #fff2f2;
 }
+.warningbox {
+       border-color: #FF8C00; /* darkorange */
+       background-color: #FFFFC0;
+}
 .successbox {
        border-color: green;
        background-color: #dfd;
 }
-.errorbox h2, .successbox h2 {
+.errorbox h2, .warningbox h2, .successbox h2 {
        font-size: 1em;
        font-weight: bold;
        display: inline;
@@ -346,6 +372,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;
@@ -378,6 +422,14 @@ table.collapsed tr.collapsable {
 .TablePager {
        min-width: 80%;
        border-collapse: collapse;
+       margin: 0 auto;
+}
+.TablePager_nav {
+       margin: 0 auto;
+}
+.TablePager_nav td {
+       padding: 3px;
+       text-align: center;
 }
 .TablePager_nav a {
        text-decoration: none;
@@ -432,7 +484,7 @@ table.mw_metadata {
        font-size: 0.8em;
        margin-left: 0.5em;
        margin-bottom: 0.5em;
-       width: 300px;
+       width: 400px;
 }
 
 table.mw_metadata caption {
@@ -455,8 +507,8 @@ table.mw_metadata {
 table.mw_metadata td, table.mw_metadata th {
        text-align: center;
        border: 1px solid #aaaaaa;
-       padding-left: 0.1em;
-       padding-right: 0.1em;
+       padding-left: 5px;
+       padding-right: 5px;
 }
 
 table.mw_metadata th {
@@ -467,6 +519,14 @@ table.mw_metadata td {
        background-color: #fcfcfc;
 }
 
+table.mw_metadata ul.metadata-langlist {
+       list-style-type: none;
+       list-style-image: none;
+       padding-right: 5px;
+       padding-left: 5px;
+       margin: 0;
+}
+
 /* Galleries */
 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
 /* Don't forget to update commonPrint.css */
@@ -554,11 +614,6 @@ div.gallerytext {
        background-repeat: no-repeat;
 }
 
-/* Sort arrows added by SortableTables */
-a.sortheader {
-       margin: 0 0.3em;
-}
-
 /* Localised ordered list numbering for some languages */
 ol:lang(bcc) li,
 ol:lang(bqi) li,
@@ -585,58 +640,6 @@ ol:lang(or) li {
        list-style-type: oriya;
 }
 
-ol:lang(hy) li {
-       list-style-type: armenian;
-}
-
-ol:lang(ka) li {
-       list-style-type: georgian;
-}
-
-ol:lang(he) li {
-       list-style-type: hebrew;
-}
-
-ol:lang(gu) li {
-       list-style-type: -moz-gujarati;
-       list-style-type: gujarati;
-}
-
-ol:lang(kn) li {
-       list-style-type: -moz-kannada;
-       list-style-type: kannada;
-}
-
-ol:lang(km) li {
-       list-style-type: -moz-khmer;
-       list-style-type: khmer;
-}
-
-ol:lang(lo) li {
-       list-style-type: -moz-lao;
-       list-style-type: lao;
-}
-
-ol:lang(ml) li {
-       list-style-type: -moz-malayalam;
-       list-style-type: malayalam;
-}
-
-ol:lang(ya) li {
-       list-style-type: -moz-tamil;
-       list-style-type: tamil;
-}
-
-ol:lang(te) li {
-       list-style-type: -moz-telugu;
-       list-style-type: telugu;
-}
-
-ol:lang(th) li {
-       list-style-type: -moz-thai;
-       list-style-type: thai;
-}
-
 /* tooltip styles */
 .mw-help-field-hint {
        display: none;
@@ -691,3 +694,37 @@ ol:lang(th) li {
        right: 10px;
        background-position: 0% 100%;
 }
+/* Table Sorting */
+th.headerSort { 
+       background-image: url(images/sort_both.gif);     
+       cursor: pointer;
+       background-repeat: no-repeat; 
+       background-position: center right; 
+       padding-right: 21px;
+}
+th.headerSortUp { 
+       background-image: url(images/sort_up.gif); 
+}
+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) */
+       /* @noflip */
+       direction: ltr;
+}
+
+/* LTR content in RTL layout, e.g. SQL queries inside DB error messages */
+div.ltr {
+       /* @noflip */
+       direction: ltr;
+}
+
+span.ltr {
+       /* @noflip */
+       direction: ltr;
+       unicode-bidi: embed;
+}
+