(bug 18999) CSS update for RTL interwiki links
[lhc/web/wiklou.git] / skins / common / shared.css
index a053de9..1f69b33 100644 (file)
@@ -14,7 +14,7 @@ span.texhtml { font-family: serif; }
 #wikiPreview.ontop { margin-bottom: 1em; }
 
 /* Stop floats from intruding into edit area in previews */
-#toolbar, #wpTextbox1 { clear: both; }
+#editform, #toolbar, #wpTextbox1 { clear: both; }
 
 div#mw-js-message {
        margin: 1em 5%;
@@ -74,9 +74,11 @@ body.rtl td.mw-label { text-align: left; }
 body.rtl td.mw-input { text-align: right; }
 body.rtl td.mw-submit { text-align: right; }
 
-td.mw-label { vertical-align: top; }
+td.mw-label { vertical-align: top; width: 20%; }
 td.mw-submit { white-space: nowrap; }
 
+table.mw-htmlform-nolabel td.mw-label { width: 0 !important; }
+
 /**
  * Image captions
  */
@@ -100,19 +102,56 @@ p.mw-filedelete-editreasons, p.mw-delete-editreasons {
 }
 
 /* Search results */
+.searchresults {
+}
+
+.searchresults p {
+       margin-left: 0.4em;
+       margin-top: 1em;
+       margin-bottom: 1.2em;
+}
+
 div.searchresult {
        font-size: 95%;
-       width:38em;
+       width:38em;     
 }
+
+.mw-search-results {
+       margin-left: 0.4em;
+}
+
 .mw-search-results li {
        padding-bottom: 1em;
        list-style:none;
+       list-style-image:none;
+}
+.mw-search-results li a {
+       font-size: 108%;
 }
+
 .mw-search-result-data {
        color: green;
        font-size: 97%;
 }
 
+.mw-search-formheader {
+       background-color:#ECECEC; 
+       margin:1em 0pt; 
+       padding:0.02em ;
+       border-top:1px solid #BBBBBB;
+}
+
+.mw-search-formheader div {
+       float:left; 
+       padding:4px 0.5em 0px 4px;
+}
+
+.mw-search-formheader p {
+       margin:0.1em 0pt;
+       padding:0.2em 0.4em 0.2em 0.2em;
+       text-align:right;
+}
+
 td#mw-search-menu {
        padding-left:6em;
        font-size:85%;
@@ -127,6 +166,10 @@ div#mw-search-interwiki {
        margin-top: 2ex;
 }
 
+.rtl div#mw-search-interwiki {
+       float: left;
+}
+
 div#mw-search-interwiki li {
        font-size: 95%;
 }
@@ -136,6 +179,31 @@ div#mw-search-interwiki li {
        font-size: 90%;
 }
 
+.rtl .mw-search-interwiki-more {
+       float: left;
+}
+
+div#mw-search-interwiki-caption {
+       text-align: center;
+       font-weight: bold;
+       font-size: 95%;
+}
+
+.mw-search-interwiki-project {
+       font-size: 97%;
+       text-align: left;
+       padding-left: 0.2em;
+       padding-right: 0.15em;
+       padding-bottom: 0.2em;
+       padding-top: 0.15em;
+       background-color:#ececec; 
+       border-top:1px solid #BBBBBB;
+}
+
+.rtl .mw-search-interwiki-project {
+       text-align: right;
+}
+
 span.searchalttitle {
        font-size: 95%;
 }
@@ -156,14 +224,20 @@ div.searchdidyoumean em {
        font-weight: bold;
 }
 
-div.searchresults {
-       border:1px solid darkblue;
-       padding-top: 10px;
-       padding-bottom: 10px;
-       padding-left: 20px;
-       padding-right: 20px;
+
+/*
+ * Advanced PowerSearch box
+ */
+
+td#mw-search-togglebox {
+        text-align: right;
+}
+
+table#mw-search-powertable {
+       width:100%;
 }
 
+
 /*
  * UserRights stuff
  */
@@ -250,13 +324,20 @@ td.os-suggest-result-hl {
     border: 1px dashed #aaa;
 }
 
+/* Special:Contributions styling */
+.mw-uctop {
+       font-weight: bold;
+}
+
 /*
  * Special:ListGroupRights styling
  * Special:Statistics styling 
+ * Special:Tags styling 
 */
 
 table.mw-listgrouprights-table,
-table.mw-statistics-table {
+table.mw-statistics-table,
+table.mw-tags-table {
        border: 1px solid #ccc;
        border-collapse: collapse;
 }
@@ -266,7 +347,8 @@ table.mw-listgrouprights-table tr  {
 }
 
 table.mw-listgrouprights-table td, table.mw-listgrouprights-table th,
-table.mw-statistics-table td, table.mw-statistics-table th {
+table.mw-statistics-table td, table.mw-statistics-table th,
+table.mw-tags-table td, table.mw-tags-table th {
        padding: 0.5em 0.2em 0.5em 0.2em;
        border: 1px solid #ccc;
 }
@@ -297,6 +379,26 @@ td#mw-emailuser-sender, td#mw-emailuser-recipient {
        font-weight: bold;
 }
 
+/* Special:Allpages styling */
+table.allpageslist {
+       background-color: transparent;
+}
+table.mw-allpages-table-form, table.mw-allpages-table-chunk {
+       background-color: transparent;
+       width: 100%;
+}
+td.mw-allpages-alphaindexline {
+       text-align: right;
+}
+td.mw-allpages-nav, p.mw-allpages-nav {
+       text-align: right;
+       font-size: smaller;
+       margin-bottom: 1em;
+}
+table.mw-allpages-table-form tr  {
+       vertical-align: top;
+}
+
 /* Special:Prefixindex styling */
 table#mw-prefixindex-list-table,
 table#mw-prefixindex-nav-table {
@@ -328,8 +430,7 @@ div.mw-warning-with-logexcerpt ul li {
 /* (show/hide) revision deletion links */
 span.mw-revdelundel-link,
 strong.mw-revdelundel-link {
-       font-family: monospace;
-       font-size: smaller
+       font-size: 90%;
 }
 
 /* feed links */
@@ -337,3 +438,62 @@ a.feedlink {
        background: url("images/feed-icon.png") center left no-repeat;
        padding-left: 16px;
 }
+
+/* wikitable class for skinning normal tables */
+table.wikitable {
+    margin: 1em 1em 1em 0;
+    background: #f9f9f9;
+    border: 1px #aaa solid;
+    border-collapse: collapse;
+}
+.wikitable th, .wikitable td {
+    border: 1px #aaa solid;
+    padding: 0.2em;
+}
+.wikitable th {
+    background: #f2f2f2;
+    text-align: center;
+}
+.wikitable caption {
+    font-weight: bold;
+}
+
+/* success and error messages */
+.success {
+       color: green;
+       font-size: larger;
+}
+.error {
+       color: red;
+       font-size: larger;
+}
+.errorbox, .successbox {
+       font-size: larger;
+       border: 2px solid;
+       padding: .5em 1em;
+       float: left;
+       margin-bottom: 2em;
+       color: #000;
+}
+.errorbox {
+       border-color: red;
+       background-color: #fff2f2;
+}
+.successbox {
+       border-color: green;
+       background-color: #dfd;
+}
+.errorbox h2, .successbox h2 {
+       font-size: 1em;
+       font-weight: bold;
+       display: inline;
+       margin: 0 .5em 0 0;
+       border: none;
+}
+
+/* visualClear used to be defined in MonoBook, however code which used this
+ * class which is not particular to MonoBook has not justified this being here
+ */
+.visualClear {
+       clear: both;
+}
\ No newline at end of file