Merge "Replace infobox usages and extend successbox, warningbox and errorbox"
[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 /* Special:EditWatchlist */
92 .watchlistredir {
93 font-style: italic;
94 }
95
96 /* Special:EmailUser */
97 #mw-emailuser-sender,
98 #mw-emailuser-recipient {
99 font-weight: bold;
100 }
101
102 /* Special:FileDuplicateSearch */
103 #mw-fileduplicatesearch-icon {
104 float: right;
105 }
106
107 /* Special:ListGroupRights */
108 .mw-listgrouprights-table tr {
109 vertical-align: top;
110 }
111
112 .listgrouprights-revoked {
113 text-decoration: line-through;
114 }
115
116 /* Special:RevisionDelete */
117 .mw-revdel-editreasons {
118 font-size: 90%;
119 text-align: right;
120 }
121
122 /* Special:Specialpages */
123 .mw-specialpagerestricted {
124 font-weight: bold;
125 }
126
127 .mw-specialpages-list {
128 -webkit-columns: 16em 2;
129 -moz-columns: 16em 2;
130 columns: 16em 2;
131 }
132
133 .mw-specialpages-list ul {
134 margin-top: 0;
135 margin-bottom: 0;
136 }
137
138 /* Special:Statistics */
139 .mw-statistics-numbers {
140 text-align: right;
141 }
142
143 /* Special:ProtectedPages */
144 .mw-protectedpages .mw-usertoollinks,
145 .mw-protectedpages-length,
146 .mw-protectedpages-actions {
147 white-space: nowrap;
148 font-size: 90%;
149 }
150
151 .mw-protectedpages-unknown {
152 color: #72777d;
153 font-size: 90%;
154 }
155
156 /* Special:PasswordPolicies */
157 .mw-passwordpolicies-table tr {
158 vertical-align: top;
159 }
160
161 .passwordpolicies-policy-flags {
162 font-size: 90%;
163 }