Localisation updates from https://translatewiki.net.
[mediawiki.git] / resources / src / mediawiki.special / special.less
blobd1473ee9819aba869e6c0ee5729ccd9aef3ffaa8
1 /* stylelint-disable selector-class-pattern */
2 /*!
3  * Styles shared across various special pages.
4  */
5 @import 'mediawiki.skin.variables.less';
6 @import 'mediawiki.mixins.less';
8 /* Special:AllMessages & Special:ListFiles */
9 /* Visually hide repeating text, but leave in for better form navigation on screen readers */
10 .mw-special-Allmessages .mw-htmlform-ooui .oo-ui-fieldsetLayout:first-child .oo-ui-fieldsetLayout-header,
11 .mw-special-Listfiles .mw-htmlform-ooui .oo-ui-fieldsetLayout:first-child .oo-ui-fieldsetLayout-header {
12         .mixin-screen-reader-text();
15 #mw-allmessagestable {
16         tbody td {
17                 opacity: 0.9;
18         }
20         tbody:hover td {
21                 opacity: 1;
22         }
24         .am_default,
25         body:hover .am_default {
26                 background-color: @background-color-content-removed;
27         }
29         .am_actual,
30         tbody:hover .am_actual {
31                 background-color: @background-color-content-added;
32         }
35 /* Common for Special:Allpages and Special:PrefixIndex */
36 .mw-allpages-body,
37 .mw-prefixindex-body {
38         columns: 22em 3;
39         -moz-columns: 22em 3;
40         -webkit-columns: 22em 3;
41         break-inside: avoid-column;
42         page-break-inside: avoid;
43         -webkit-column-break-inside: avoid;
45         li {
46                 break-inside: avoid;
47         }
50 .mw-allpages-chunk,
51 .mw-prefixindex-list {
52         margin-top: 0;
53         margin-bottom: 0;
56 .allpagesredirect {
57         font-style: italic;
60 /* Special:BlockList */
61 .mw-blocklist .mw-usertoollinks,
62 .mw-blocklist-actions {
63         white-space: nowrap;
64         font-size: 90%;
67 /* Special:Contributions */
68 .mw-uctop {
69         font-weight: bold;
72 /* Special:EditWatchlist */
73 .watchlistredir {
74         font-style: italic;
77 /* Special:EditWatchlist */
78 .mw-watchlistexpiry-msg {
79         color: @color-subtle;
80         margin-left: 0.3em;
83 /* Special:EmailUser */
84 #mw-emailuser-sender,
85 #mw-emailuser-recipient {
86         font-weight: bold;
89 /* Special:FileDuplicateSearch */
90 #mw-fileduplicatesearch-icon {
91         float: right;
94 /* Special:ListFiles */
95 .listfiles .mw-usertoollinks {
96         white-space: nowrap;
97         font-size: 90%;
100 /* Special:ListGroupRights */
101 .mw-listgrouprights-table tr {
102         vertical-align: top;
105 .listgrouprights-revoked {
106         text-decoration: line-through;
109 /* Special:MergeHistory */
110 .mw-special-MergeHistory .mw-mergehistory-explanation {
111         margin-top: 0;
114 /* Special:Undelete */
115 .mw-undelete-editcomments,
116 /* Special:MovePage */
117 .mw-movepage-editreasons,
118 /* Special:RevisionDelete */
119 .mw-revdel-editreasons {
120         font-size: 90%;
121         text-align: right;
124 td.mw-revdel-checkbox,
125 th.mw-revdel-checkbox {
126         padding-right: 10px;
127         text-align: center;
130 /* Special:Specialpages */
131 .mw-specialpagerestricted {
132         font-weight: bold;
135 .mw-specialpagesgroup {
136         clear: both;
139 .mw-specialpages-list {
140         -webkit-columns: 16em 2;
141         -moz-columns: 16em 2;
142         columns: 16em 2;
144         ul {
145                 margin-top: 0;
146                 margin-bottom: 0;
147         }
150 /* Special:Statistics */
151 .mw-statistics-numbers {
152         text-align: right;
155 /* Special:ProtectedPages */
156 .mw-protectedpages .mw-usertoollinks,
157 .mw-protectedpages-length,
158 .mw-protectedpages-actions {
159         white-space: nowrap;
160         font-size: 90%;
163 .mw-protectedpages-unknown {
164         color: @color-subtle;
165         font-size: 90%;
168 /* Special:PasswordPolicies */
169 .mw-passwordpolicies-table tr {
170         vertical-align: top;
173 .passwordpolicies-policy-flags {
174         font-size: 90%;
177 .mw-listgrouprights-table,
178 .mw-passwordpolicies-table {
179         & tr:target,
180         & tr:target code {
181                 background-color: @background-color-progressive-subtle;
182         }
185 .mw-grantriskgroup- {
186         &vandalism {
187                 .cdx-mixin-css-icon( @cdx-icon-alert, @color-warning );
188         }
190         &security {
191                 .cdx-mixin-css-icon( @cdx-icon-alert, @color-error );
192         }
194         &internal {
195                 .cdx-mixin-css-icon( @cdx-icon-error, @color-error );
196         }
198         &vandalism,
199         &security,
200         &internal {
201                 // Hide text, replaced with the icon
202                 text-indent: -10000px;
203         }
205         .mw-htmlform-field-HTMLCheckMatrix & {
206                 &vandalism,
207                 &security,
208                 &internal {
209                         vertical-align: middle;
210                 }
211         }