1/*!
2 * Styles shared across various special pages.
3 */
4@import 'mediawiki.ui/variables.less';
5@import 'mediawiki.mixins.less';
6
7/* Special:AllMessages */
8/* Visually hide repeating text, but leave in for better form navigation on screen readers */
9.mw-special-Allmessages .mw-htmlform-ooui .oo-ui-fieldsetLayout:first-child .oo-ui-fieldsetLayout-header {
10	.mixin-screen-reader-text();
11}
12
13#mw-allmessagestable {
14	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	/* stylelint-disable-next-line selector-class-pattern */
22	.am_default {
23		background-color: #fcffc4;
24	}
25
26	/* stylelint-disable-next-line selector-class-pattern */
27	tbody:hover .am_default {
28		background-color: #faff90;
29	}
30
31	/* stylelint-disable-next-line selector-class-pattern */
32	.am_actual {
33		background-color: #e2ffe2;
34	}
35
36	/* stylelint-disable-next-line selector-class-pattern */
37	tbody:hover .am_actual {
38		background-color: #b1ffb1;
39	}
40}
41
42/* Common for Special:Allpages and Special:PrefixIndex */
43.mw-allpages-body,
44.mw-prefixindex-body {
45	columns: 22em 3;
46	-moz-columns: 22em 3;
47	-webkit-columns: 22em 3;
48	break-inside: avoid-column;
49	page-break-inside: avoid;
50	-webkit-column-break-inside: avoid;
51
52	li {
53		break-inside: avoid;
54	}
55}
56
57.mw-allpages-chunk,
58.mw-prefixindex-list {
59	margin-top: 0;
60	margin-bottom: 0;
61}
62
63/* stylelint-disable-next-line selector-class-pattern */
64.allpagesredirect {
65	font-style: italic;
66}
67
68/* Special:Block */
69.mw-ipb-conveniencelinks {
70	font-size: 90%;
71	text-align: right;
72}
73
74.mw-block-hideuser,
75.mw-block-confirm {
76	font-weight: bold;
77}
78
79#mw-input-wpReason .oo-ui-dropdownInputWidget,
80#mw-input-wpReason .oo-ui-textInputWidget {
81	display: block;
82	max-width: 50em;
83}
84
85#mw-input-wpReason .oo-ui-textInputWidget {
86	margin-top: 0.5em;
87}
88
89/* Special:BlockList */
90.mw-blocklist .mw-usertoollinks,
91.mw-blocklist-actions {
92	white-space: nowrap;
93	font-size: 90%;
94}
95
96/* Special:Contributions */
97.mw-uctop {
98	font-weight: bold;
99}
100
101/* Special:EditWatchlist */
102/* stylelint-disable-next-line selector-class-pattern */
103.watchlistredir {
104	font-style: italic;
105}
106
107/* Special:EditWatchlist */
108.mw-watchlistexpiry-msg {
109	margin-left: 0.3em;
110	color: @color-base--subtle;
111}
112
113/* Special:EmailUser */
114#mw-emailuser-sender,
115#mw-emailuser-recipient {
116	font-weight: bold;
117}
118
119/* Special:FileDuplicateSearch */
120#mw-fileduplicatesearch-icon {
121	float: right;
122}
123
124/* Special:ListGroupRights */
125.mw-listgrouprights-table tr {
126	vertical-align: top;
127}
128
129/* stylelint-disable-next-line selector-class-pattern */
130.listgrouprights-revoked {
131	text-decoration: line-through;
132}
133
134/* Special:RevisionDelete */
135.mw-revdel-editreasons {
136	font-size: 90%;
137	text-align: right;
138}
139
140td.mw-revdel-checkbox,
141th.mw-revdel-checkbox {
142	padding-right: 10px;
143	text-align: center;
144}
145
146/* Special:Specialpages */
147.mw-specialpagerestricted {
148	font-weight: bold;
149}
150
151.mw-specialpages-list {
152	-webkit-columns: 16em 2;
153	-moz-columns: 16em 2;
154	columns: 16em 2;
155
156	ul {
157		margin-top: 0;
158		margin-bottom: 0;
159	}
160}
161
162/* Special:Statistics */
163.mw-statistics-numbers {
164	text-align: right;
165}
166
167/* Special:ProtectedPages */
168.mw-protectedpages .mw-usertoollinks,
169.mw-protectedpages-length,
170.mw-protectedpages-actions {
171	white-space: nowrap;
172	font-size: 90%;
173}
174
175.mw-protectedpages-unknown {
176	color: #72777d;
177	font-size: 90%;
178}
179
180/* Special:PasswordPolicies */
181.mw-passwordpolicies-table tr {
182	vertical-align: top;
183}
184
185/* stylelint-disable-next-line selector-class-pattern */
186.passwordpolicies-policy-flags {
187	font-size: 90%;
188}
189