Merge "Move class SearchEngineDummy to own file"
[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 /* Special:AllMessages */
7 /* Visually hide repeating text, but leave in for better form navigation on screen readers */
8 .mw-special-Allmessages .mw-htmlform-ooui .oo-ui-fieldsetLayout:first-child .oo-ui-fieldsetLayout-header {
9 .mixin-screen-reader-text();
10 }
11
12 #mw-allmessagestable tbody:hover td {
13 /* Duplicate of `.mw-datatable tr:hover td` from shared.css,
14 * so that it also applies when hovering a lower cell
15 * within the same rowspan */
16 background-color: #eaf3ff;
17 }
18
19 #mw-allmessagestable .am_default {
20 background-color: #fcffc4;
21 }
22
23 #mw-allmessagestable tbody:hover .am_default {
24 background-color: #faff90;
25 }
26
27 #mw-allmessagestable .am_actual {
28 background-color: #e2ffe2;
29 }
30
31 #mw-allmessagestable tbody:hover .am_actual {
32 background-color: #b1ffb1;
33 }
34
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;
44 }
45
46 .mw-allpages-chunk,
47 .mw-prefixindex-list {
48 margin-top: 0;
49 margin-bottom: 0;
50 }
51
52 .allpagesredirect {
53 font-style: italic;
54 }
55
56 /* Special:Block */
57 .mw-ipb-conveniencelinks {
58 font-size: 90%;
59 text-align: right;
60 }
61
62 .mw-block-hideuser,
63 .mw-block-confirm {
64 font-weight: bold;
65 }
66
67 #mw-input-wpReason .oo-ui-dropdownInputWidget,
68 #mw-input-wpReason .oo-ui-textInputWidget {
69 display: block;
70 max-width: 50em;
71 }
72
73 #mw-input-wpReason .oo-ui-textInputWidget {
74 margin-top: 0.5em;
75 }
76
77 /* Special:BlockList */
78 .mw-blocklist .mw-usertoollinks,
79 .mw-blocklist-actions {
80 white-space: nowrap;
81 font-size: 90%;
82 }
83
84 /* Special:Contributions */
85 .mw-uctop {
86 font-weight: bold;
87 }
88
89 .mw-contributions-form select {
90 vertical-align: middle;
91 }
92
93 /* Special:EditWatchlist */
94 .watchlistredir {
95 font-style: italic;
96 }
97
98 /* Special:EmailUser */
99 #mw-emailuser-sender,
100 #mw-emailuser-recipient {
101 font-weight: bold;
102 }
103
104 /* Special:FileDuplicateSearch */
105 #mw-fileduplicatesearch-icon {
106 float: right;
107 }
108
109 /* Special:ListGroupRights */
110 .mw-listgrouprights-table tr {
111 vertical-align: top;
112 }
113
114 .listgrouprights-revoked {
115 text-decoration: line-through;
116 }
117
118 /* Special:RevisionDelete */
119 .mw-revdel-editreasons {
120 font-size: 90%;
121 text-align: right;
122 }
123
124 /* Special:Specialpages */
125 .mw-specialpagerestricted {
126 font-weight: bold;
127 }
128
129 .mw-specialpages-list {
130 -webkit-columns: 16em 2;
131 -moz-columns: 16em 2;
132 columns: 16em 2;
133 }
134
135 .mw-specialpages-list ul {
136 margin-top: 0;
137 margin-bottom: 0;
138 }
139
140 /* Special:Statistics */
141 .mw-statistics-numbers {
142 text-align: right;
143 }
144
145 /* Special:ProtectedPages */
146 .mw-protectedpages .mw-usertoollinks,
147 .mw-protectedpages-length,
148 .mw-protectedpages-actions {
149 white-space: nowrap;
150 font-size: 90%;
151 }
152
153 .mw-protectedpages-unknown {
154 color: #72777d;
155 font-size: 90%;
156 }
157
158 /* Special:PasswordPolicies */
159 .mw-passwordpolicies-table tr {
160 vertical-align: top;
161 }
162
163 .passwordpolicies-policy-flags {
164 font-size: 90%;
165 }