(bug 16497) Paginate Special:AllMessages
[lhc/web/wiklou.git] / skins / common / shared.css
index dae65ee..e07803b 100644 (file)
@@ -57,6 +57,23 @@ li span.deleted, span.history-deleted {
        font-style: italic;
 }
 
+/**
+ * Patrol stuff
+ */
+.not-patrolled {
+       background-color: #ffa;
+}
+
+span.unpatrolled {
+       font-weight: bold;
+       color: red;
+}
+
+div.patrollink {
+       font-size: 75%;
+       text-align: right;
+}
+
 /**
  * Forms
  */
@@ -67,7 +84,9 @@ 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; width: 30%; }
+td.mw-label { vertical-align: top; }
+.prefsection td.mw-label { width: 20%; }
+.prefsection table { width: 100%; }
 td.mw-submit { white-space: nowrap; }
 
 table.mw-htmlform-nolabel td.mw-label { width: 0 !important; }
@@ -106,7 +125,7 @@ p.mw-filedelete-editreasons, p.mw-delete-editreasons {
 
 div.searchresult {
        font-size: 95%;
-       width:38em;     
+       width:38em;
 }
 
 .mw-search-results {
@@ -133,28 +152,31 @@ div.searchresult {
        border: 1px solid silver;
 }
 .mw-search-formheader div.search-types {
-       float:left; 
+       float:left;
        padding-left: 0.25em;
 }
-.mw-search-formheader div.search-types > ul {
-       margin: 0;
-       padding: 0;
-       list-style: none;
+.rtl .mw-search-formheader div.search-types {
+       float: right;
 }
-.mw-search-formheader div.search-types > ul > li {
+.mw-search-formheader div.search-types ul {
+       margin: 0 !important;
+       padding: 0 !important;
+       list-style: none !important;
+}
+.mw-search-formheader div.search-types ul li {
        float: left;
        margin: 0;
        padding: 0;
 }
-.mw-search-formheader div.search-types > ul > li > a {
+.mw-search-formheader div.search-types ul li a {
        display: block;
        padding: 0.5em;
 }
-.mw-search-formheader div.search-types > ul > li.current > a {
+.mw-search-formheader div.search-types ul li.current a {
        color: #333333;
        cursor: default;
 }
-.mw-search-formheader div.search-types > ul > li.current > a:hover {
+.mw-search-formheader div.search-types ul li.current a:hover {
        text-decoration: none;
 }
 .mw-search-formheader div.results-info {
@@ -162,53 +184,65 @@ div.searchresult {
        padding: 0.5em;
        padding-right: 0.75em;
 }
-.mw-search-formheader div.results-info ul {
-       margin: 0;
-       padding: 0;
-       list-style: none;
+.mw-search-formheader div.results-info ul {
+       margin: 0 !important;
+       padding: 0 !important;
+       list-style: none !important;
 }
-.mw-search-formheader div.results-info > ul > li {
+.mw-search-formheader div.results-info ul li {
        float: right;
        margin: 0;
        padding: 0;
 }
 fieldset#mw-searchoptions {
        margin: 0;
-       padding: 0;
-       padding-left: 1em;
-       padding-right: 1em;
-       padding-bottom: 0.5em;
-       padding-top: 0.5em;
+       padding-left: 0.75em !important;
+       padding-right: 0.75em !important;
+       padding-bottom: 0.5em !important;
+       padding-top: 0.5em !important;
        border: none;
        background-color: #f9f9f9;
-       border: 1px solid silver;
-       border-top: none;
+       border: 1px solid silver !important;
+       border-top-width: 0 !important;
 }
-fieldset#mw-searchoptions legend {
+fieldset#mw-searchoptions legend {
        display: none;
 }
-fieldset#mw-searchoptions h4 {
+fieldset#mw-searchoptions h4 {
        padding: 0;
        margin: 0;
        float: left;
 }
-fieldset#mw-searchoptions > div#mw-search-togglebox {
+.rtl fieldset#mw-searchoptions h4 {
+       float: right;
+}
+fieldset#mw-searchoptions div#mw-search-togglebox {
        float: right;
 }
-fieldset#mw-searchoptions > div#mw-search-togglebox > label {
+.rtl fieldset#mw-searchoptions div#mw-search-togglebox {
+       float: left;
+}
+
+fieldset#mw-searchoptions div#mw-search-togglebox label {
        margin-right: 0.25em;
 }
-fieldset#mw-searchoptions > div#mw-search-togglebox > input {
+fieldset#mw-searchoptions div#mw-search-togglebox input {
        margin-left: 0.25em;
 }
-fieldset#mw-searchoptions table {
+fieldset#mw-searchoptions table {
        float: left;
        margin-right: 3em;
 }
-fieldset#mw-searchoptions table td {
+fieldset#mw-searchoptions table td {
        padding-right: 1em;
 }
-body.rtl fieldset#mw-searchoptions > table {
+.rtl fieldset#mw-searchoptions table td {
+       padding-left: 1em;
+       padding-right: 0;
+}
+body.rtl fieldset#mw-searchoptions table {
+       margin-right: 0;
+       margin-left: 3em;
        float: right;
 }
 fieldset#mw-searchoptions div.divider {
@@ -262,7 +296,7 @@ div#mw-search-interwiki-caption {
        padding-right: 0.15em;
        padding-bottom: 0.2em;
        padding-top: 0.15em;
-       background-color:#ececec; 
+       background-color:#ececec;
        border-top:1px solid #BBBBBB;
 }
 
@@ -276,8 +310,7 @@ span.searchalttitle {
 
 div.searchdidyoumean {
        font-size: 127%;
-       margin-bottom: 1ex;
-       margin-top: 1ex;
+       margin-top: 0.8em;
        /* Note that this color won't affect the link, as desired. */
        color: #c00;
 }
@@ -290,6 +323,10 @@ div.searchdidyoumean em {
        font-weight: bold;
 }
 
+table#mw-search-top-table {
+       background-color:inherit;
+}
+
 
 /*
  * Advanced PowerSearch box
@@ -319,29 +356,29 @@ table.mw-userrights-groups * td,table.mw-userrights-groups * th {
        padding-right: 1.5em;
 }
 
-/* 
+/*
  * OpenSearch ajax suggestions
  */
 .os-suggest {
-       overflow: auto; 
-       overflow-x: hidden; 
+       overflow: auto;
+       overflow-x: hidden;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 0px;
-       background-color: white; 
+       background-color: white;
        background-color: Window;
        border-style: solid;
        border-color: #AAAAAA;
        border-width: 1px;
-       z-index:99; 
-       visibility:hidden; 
-       font-size:95%;  
+       z-index:99;
+       visibility:hidden;
+       font-size:95%;
 }
 
 table.os-suggest-results {
        font-size: 95%;
-       cursor: pointer; 
+       cursor: pointer;
        border: 0;
        border-collapse: collapse;
        width: 100%;
@@ -349,7 +386,7 @@ table.os-suggest-results {
 
 td.os-suggest-result, td.os-suggest-result-hl {
        white-space: nowrap;
-       background-color: white; 
+       background-color: white;
        background-color: Window;
        color: black;
        color: WindowText;
@@ -357,7 +394,7 @@ td.os-suggest-result, td.os-suggest-result-hl {
 }
 td.os-suggest-result-hl,
 td.os-suggest-result-hl-webkit {
-       background-color: #4C59A6; 
+       background-color: #4C59A6;
        color: white;
 }
 td.os-suggest-result-hl {
@@ -368,7 +405,7 @@ td.os-suggest-result-hl {
 }
 
 .os-suggest-toggle {
-       position: relative; 
+       position: relative;
        left: 1ex;
        font-size: 65%;
 }
@@ -403,6 +440,7 @@ td.os-suggest-result-hl {
 table.mw-listgrouprights-table tr  {
        vertical-align: top;
 }
+.listgrouprights-revoked { text-decoration: line-through; }
 
 /* Special:Statistics styling */
 td.mw-statistics-numbers {
@@ -510,6 +548,11 @@ table.wikitable {
     font-weight: bold;
 }
 
+/* hide initially collapsed collapsable tables */
+table.collapsed tr.collapsable {
+       display: none;
+}
+
 /* success and error messages */
 .success {
        color: green;
@@ -546,3 +589,108 @@ table.wikitable {
 .visualClear {
        clear: both;
 }
+
+#mw_trackbacks {
+       border: solid 1px #bbbbff;
+       background-color: #eeeeff;
+       padding: 0.2em;
+}
+
+/*
+  Table pager (e.g. Special:Imagelist)
+  - remove underlines from the navigation link
+  - collapse borders
+  - set the borders to outsets (similar to Special:Allmessages)
+  - remove line wrapping for all td and th, set background color
+  - restore line wrapping for the last two table cells (description and size)
+*/
+.TablePager { min-width: 80%; }
+.TablePager_nav a { text-decoration: none; }
+.TablePager { border-collapse: collapse; }
+.TablePager, .TablePager td, .TablePager th { 
+       border: 1px solid #aaaaaa;
+       padding: 0 0.15em 0 0.15em;
+}
+.TablePager th { background-color: #eeeeff }
+.TablePager td { background-color: #ffffff }
+.TablePager tr:hover td { background-color: #eeeeff }
+
+.imagelist td, .imagelist th { white-space: nowrap }
+.imagelist .TablePager_col_links { background-color: #eeeeff }
+.imagelist .TablePager_col_img_description { white-space: normal }
+.imagelist th.TablePager_sort { background-color: #ccccff }
+
+ /* Allmessages table */
+#allmessagestable .allmessages-customised td.am_default {
+       background-color: #fcffc4;
+}
+
+#allmessagestable tr.allmessages-customised:hover td.am_default {
+       background-color: #faff90;
+}
+
+#allmessagestable td.am_actual {
+       background-color: #e2ffe2;
+}
+
+#allmessagestable tr.allmessages-customised:hover + tr.allmessages-customised td.am_actual {
+       background-color: #b1ffb1;
+}
+
+/* filetoc */
+ul#filetoc {
+       text-align: center;
+       border: 1px solid #aaaaaa;
+       background-color: #f9f9f9;
+       padding: 5px;
+       font-size: 95%;
+       margin-bottom: 0.5em;
+       margin-left: 0;
+       margin-right: 0;
+}
+
+#filetoc li {
+       display: inline;
+       list-style-type: none;
+       padding-right: 2em;
+}
+
+/* Classes for EXIF data display */
+table.mw_metadata {
+       font-size: 0.8em;
+       margin-left: 0.5em;
+       margin-bottom: 0.5em;
+       width: 300px;
+}
+
+table.mw_metadata caption {
+       font-weight: bold;
+}
+
+table.mw_metadata th {
+       font-weight: normal;
+}
+
+table.mw_metadata td {
+       padding: 0.1em;
+}
+
+table.mw_metadata {
+       border: none;
+       border-collapse: collapse;
+}
+
+table.mw_metadata td, table.mw_metadata th {
+       text-align: center;
+       border: 1px solid #aaaaaa;
+       padding-left: 0.1em;
+       padding-right: 0.1em;
+}
+
+table.mw_metadata th {
+       background-color: #f9f9f9;
+}
+
+table.mw_metadata td {
+       background-color: #fcfcfc;
+}