(bug 18999) CSS update for RTL interwiki links
[lhc/web/wiklou.git] / skins / common / shared.css
index be6a18d..1f69b33 100644 (file)
@@ -9,8 +9,12 @@
 img.tex { vertical-align: middle; }
 span.texhtml { font-family: serif; }
 
+/* add a bit of margin space between the preview and the toolbar */
+/* this replaces the ugly <p><br /></p> we used to insert into the page source */
+#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%;
@@ -70,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
  */
@@ -88,25 +94,69 @@ body.ltr .magnify { float:right; }
 .mw-hidden-cats-hidden { display: none; }
 .catlinks-allhidden { display: none; }
 
-/* Convenience links to edit block and delete reasons */
-p.mw-ipb-conveniencelinks, p.mw-filedelete-editreasons, p.mw-delete-editreasons {
+/* Convenience links to edit block, delete and protect reasons */
+p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
+p.mw-filedelete-editreasons, p.mw-delete-editreasons {
        font-size: 90%;
        float: right;
 }
 
 /* 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%;
+}
+
 div#mw-search-interwiki {
        float: right;
        width: 18em;
@@ -116,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%;
 }
@@ -125,16 +179,65 @@ 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%;
 }
 
 div.searchdidyoumean {
        font-size: 127%;
-       padding-bottom:1ex;
-       padding-top:1ex; 
+       margin-bottom: 1ex;
+       margin-top: 1ex;
+       /* Note that this color won't affect the link, as desired. */
+       color: #c00;
+}
+
+div.searchdidyoumean em {
+       font-weight: bold;
+}
+
+.searchmatch {
+       font-weight: bold;
+}
+
+
+/*
+ * Advanced PowerSearch box
+ */
+
+td#mw-search-togglebox {
+        text-align: right;
+}
+
+table#mw-search-powertable {
+       width:100%;
 }
 
+
 /*
  * UserRights stuff
  */
@@ -157,6 +260,7 @@ table.mw-userrights-groups * td,table.mw-userrights-groups * th {
        left: 0px;
        width: 0px;
        background-color: white; 
+       background-color: Window;
        border-style: solid;
        border-color: #AAAAAA;
        border-width: 1px;
@@ -220,7 +324,20 @@ td.os-suggest-result-hl {
     border: 1px dashed #aaa;
 }
 
-table.mw-listgrouprights-table  {
+/* 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-tags-table {
        border: 1px solid #ccc;
        border-collapse: collapse;
 }
@@ -229,23 +346,154 @@ table.mw-listgrouprights-table tr  {
        vertical-align: top;
 }
 
-table.mw-listgrouprights-table td, table.mw-listgrouprights-table th {
+table.mw-listgrouprights-table td, table.mw-listgrouprights-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;
 }
 
+td.mw-statistics-numbers {
+       text-align: right;
+}
+
 /* Special:SpecialPages styling */
 h4.mw-specialpagesgroup {
        background-color: #dcdcdc;
        padding: 2px;
        margin: .3em 0em 0em 0em;
 }
+.mw-specialpagerestricted {
+       font-weight: bold;
+}
 
 #shared-image-dup, #shared-image-conflict {
        font-style: italic;
 }
 
-span.mw-pager-pagerlink-disabled {
-       color: #989898;
+/* Special:EmailUser styling */
+table.mw-emailuser-table {
+       width: 98%;
+}
+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 {
+       width: 98%;
+       background-color: transparent;
+}
+td#mw-prefixindex-nav-form  {
+       font-size: smaller;
+       margin-bottom: 1em;
+       text-align: right;
+       vertical-align: top;
+}
+
+/*
+ * Recreating deleted page warning
+ * Reupload file warning
+ * Page protection warning
+ * incl. log entries for these warnings
+ */
+div.mw-warning-with-logexcerpt {
+       padding: 3px;
+       margin-bottom: 3px;
+       border: 2px solid #2F6FAB;
+}
+div.mw-warning-with-logexcerpt ul li {
+       font-size: 90%;
+}
+
+/* (show/hide) revision deletion links */
+span.mw-revdelundel-link,
+strong.mw-revdelundel-link {
+       font-size: 90%;
 }
 
+/* feed links */
+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