3f76cf068aa41bcaf794e41ed718b5f47aec510e
[lhc/web/wiklou.git] / resources / src / mediawiki.special / special.less
1 /*!
2 * Styles shared across various special pages.
3 */
4 @import 'mediawiki.mixins';
5
6 /* stylelint-disable selector-class-pattern */
7
8 /* Special:AllMessages */
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 .mixin-screen-reader-text();
12 }
13
14 #mw-allmessagestable tbody:hover td {
15 /* Duplicate of `.mw-datatable tr:hover td` from shared.css,
16 * so that it also applies when hovering a lower cell
17 * within the same rowspan */
18 background-color: #eaf3ff;
19 }
20
21 #mw-allmessagestable .am_default {
22 background-color: #fcffc4;
23 }
24
25 #mw-allmessagestable tbody:hover .am_default {
26 background-color: #faff90;
27 }
28
29 #mw-allmessagestable .am_actual {
30 background-color: #e2ffe2;
31 }
32
33 #mw-allmessagestable tbody:hover .am_actual {
34 background-color: #b1ffb1;
35 }
36
37 /* Common for Special:Allpages and Special:PrefixIndex */
38 .mw-allpages-body,
39 .mw-prefixindex-body {
40 columns: 22em 3;
41 -moz-columns: 22em 3;
42 -webkit-columns: 22em 3;
43 break-inside: avoid-column;
44 page-break-inside: avoid;
45 -webkit-column-break-inside: avoid;
46 }
47
48 .mw-allpages-chunk,
49 .mw-prefixindex-list {
50 margin-top: 0;
51 margin-bottom: 0;
52 }
53
54 .allpagesredirect {
55 font-style: italic;
56 }
57
58 /* Special:Block */
59 .mw-ipb-conveniencelinks {
60 font-size: 90%;
61 text-align: right;
62 }
63
64 .mw-block-hideuser,
65 .mw-block-confirm {
66 font-weight: bold;
67 }
68
69 #mw-input-wpReason .oo-ui-dropdownInputWidget,
70 #mw-input-wpReason .oo-ui-textInputWidget {
71 display: block;
72 max-width: 50em;
73 }
74
75 #mw-input-wpReason .oo-ui-textInputWidget {
76 margin-top: 0.5em;
77 }
78
79 /* Special:BlockList */
80 .mw-blocklist .mw-usertoollinks,
81 .mw-blocklist-actions {
82 white-space: nowrap;
83 font-size: 90%;
84 }
85
86 /* Special:Contributions */
87 .mw-uctop {
88 font-weight: bold;
89 }
90
91 .mw-contributions-form select {
92 vertical-align: middle;
93 }
94
95 /* Special:EditWatchlist */
96 .watchlistredir {
97 font-style: italic;
98 }
99
100 /* Special:EmailUser */
101 #mw-emailuser-sender,
102 #mw-emailuser-recipient {
103 font-weight: bold;
104 }
105
106 /* Special:FileDuplicateSearch */
107 #mw-fileduplicatesearch-icon {
108 float: right;
109 }
110
111 /* Special:ListGroupRights */
112 .mw-listgrouprights-table tr {
113 vertical-align: top;
114 }
115
116 .listgrouprights-revoked {
117 text-decoration: line-through;
118 }
119
120 /* Special:RevisionDelete */
121 .mw-revdel-editreasons {
122 font-size: 90%;
123 text-align: right;
124 }
125
126 /* Special:Specialpages */
127 .mw-specialpagerestricted {
128 font-weight: bold;
129 }
130
131 .mw-specialpages-list {
132 -webkit-columns: 16em 2;
133 -moz-columns: 16em 2;
134 columns: 16em 2;
135 }
136
137 .mw-specialpages-list ul {
138 margin-top: 0;
139 margin-bottom: 0;
140 }
141
142 /* Special:Statistics */
143 .mw-statistics-numbers {
144 text-align: right;
145 }
146
147 /* Special:ProtectedPages */
148 .mw-protectedpages .mw-usertoollinks,
149 .mw-protectedpages-length,
150 .mw-protectedpages-actions {
151 white-space: nowrap;
152 font-size: 90%;
153 }
154
155 .mw-protectedpages-unknown {
156 color: #72777d;
157 font-size: 90%;
158 }
159
160 /* Special:PasswordPolicies */
161 .mw-passwordpolicies-table tr {
162 vertical-align: top;
163 }
164
165 .passwordpolicies-policy-flags {
166 font-size: 90%;
167 }