| 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'; |
| 7 |
|
| 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(); |
| 13 |
} |
| 14 |
|
| 15 |
#mw-allmessagestable { |
| 16 |
tbody td { |
| 17 |
opacity: 0.9; |
| 18 |
} |
| 19 |
|
| 20 |
tbody:hover td { |
| 21 |
opacity: 1; |
| 22 |
} |
| 23 |
|
| 24 |
.am_default, |
| 25 |
body:hover .am_default { |
| 26 |
background-color: @background-color-content-removed; |
| 27 |
} |
| 28 |
|
| 29 |
.am_actual, |
| 30 |
tbody:hover .am_actual { |
| 31 |
background-color: @background-color-content-added; |
| 32 |
} |
| 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 |
li { |
| 46 |
break-inside: avoid; |
| 47 |
} |
| 48 |
} |
| 49 |
|
| 50 |
.mw-allpages-chunk, |
| 51 |
.mw-prefixindex-list { |
| 52 |
margin-top: 0; |
| 53 |
margin-bottom: 0; |
| 54 |
} |
| 55 |
|
| 56 |
.allpagesredirect { |
| 57 |
font-style: italic; |
| 58 |
} |
| 59 |
|
| 60 |
/* Special:BlockList */ |
| 61 |
.mw-blocklist .mw-usertoollinks, |
| 62 |
.mw-blocklist-actions { |
| 63 |
white-space: nowrap; |
| 64 |
font-size: 90%; |
| 65 |
} |
| 66 |
|
| 67 |
/* Special:Contributions */ |
| 68 |
.mw-uctop { |
| 69 |
font-weight: bold; |
| 70 |
} |
| 71 |
|
| 72 |
/* Special:EditWatchlist */ |
| 73 |
.watchlistredir { |
| 74 |
font-style: italic; |
| 75 |
} |
| 76 |
|
| 77 |
/* Special:EditWatchlist */ |
| 78 |
.mw-watchlistexpiry-msg { |
| 79 |
color: @color-subtle; |
| 80 |
margin-left: 0.3em; |
| 81 |
} |
| 82 |
|
| 83 |
/* Special:EmailUser */ |
| 84 |
#mw-emailuser-sender, |
| 85 |
#mw-emailuser-recipient { |
| 86 |
font-weight: bold; |
| 87 |
} |
| 88 |
|
| 89 |
/* Special:FileDuplicateSearch */ |
| 90 |
#mw-fileduplicatesearch-icon { |
| 91 |
float: right; |
| 92 |
} |
| 93 |
|
| 94 |
/* Special:ListFiles */ |
| 95 |
.listfiles .mw-usertoollinks { |
| 96 |
white-space: nowrap; |
| 97 |
font-size: 90%; |
| 98 |
} |
| 99 |
|
| 100 |
/* Special:ListGroupRights */ |
| 101 |
.mw-listgrouprights-table tr { |
| 102 |
vertical-align: top; |
| 103 |
} |
| 104 |
|
| 105 |
.listgrouprights-revoked { |
| 106 |
text-decoration: line-through; |
| 107 |
} |
| 108 |
|
| 109 |
/* Special:MergeHistory */ |
| 110 |
.mw-special-MergeHistory .mw-mergehistory-explanation { |
| 111 |
margin-top: 0; |
| 112 |
} |
| 113 |
|
| 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; |
| 122 |
} |
| 123 |
|
| 124 |
td.mw-revdel-checkbox, |
| 125 |
th.mw-revdel-checkbox { |
| 126 |
padding-right: 10px; |
| 127 |
text-align: center; |
| 128 |
} |
| 129 |
|
| 130 |
/* Special:Specialpages */ |
| 131 |
.mw-specialpagerestricted { |
| 132 |
font-weight: bold; |
| 133 |
} |
| 134 |
|
| 135 |
.mw-specialpagesgroup { |
| 136 |
clear: both; |
| 137 |
} |
| 138 |
|
| 139 |
.mw-specialpages-list { |
| 140 |
-webkit-columns: 16em 2; |
| 141 |
-moz-columns: 16em 2; |
| 142 |
columns: 16em 2; |
| 143 |
|
| 144 |
ul { |
| 145 |
margin-top: 0; |
| 146 |
margin-bottom: 0; |
| 147 |
} |
| 148 |
} |
| 149 |
|
| 150 |
/* Special:Statistics */ |
| 151 |
.mw-statistics-numbers { |
| 152 |
text-align: right; |
| 153 |
} |
| 154 |
|
| 155 |
/* Special:ProtectedPages */ |
| 156 |
.mw-protectedpages .mw-usertoollinks, |
| 157 |
.mw-protectedpages-length, |
| 158 |
.mw-protectedpages-actions { |
| 159 |
white-space: nowrap; |
| 160 |
font-size: 90%; |
| 161 |
} |
| 162 |
|
| 163 |
.mw-protectedpages-unknown { |
| 164 |
color: @color-subtle; |
| 165 |
font-size: 90%; |
| 166 |
} |
| 167 |
|
| 168 |
/* Special:PasswordPolicies */ |
| 169 |
.mw-passwordpolicies-table tr { |
| 170 |
vertical-align: top; |
| 171 |
} |
| 172 |
|
| 173 |
.passwordpolicies-policy-flags { |
| 174 |
font-size: 90%; |
| 175 |
} |
| 176 |
|
| 177 |
.mw-listgrouprights-table, |
| 178 |
.mw-passwordpolicies-table { |
| 179 |
& tr:target, |
| 180 |
& tr:target code { |
| 181 |
background-color: @background-color-progressive-subtle; |
| 182 |
} |
| 183 |
} |
| 184 |
|
| 185 |
.mw-grantriskgroup- { |
| 186 |
&vandalism { |
| 187 |
.cdx-mixin-css-icon( @cdx-icon-alert, @color-warning ); |
| 188 |
} |
| 189 |
|
| 190 |
&security { |
| 191 |
.cdx-mixin-css-icon( @cdx-icon-alert, @color-error ); |
| 192 |
} |
| 193 |
|
| 194 |
&internal { |
| 195 |
.cdx-mixin-css-icon( @cdx-icon-error, @color-error ); |
| 196 |
} |
| 197 |
|
| 198 |
&vandalism, |
| 199 |
&security, |
| 200 |
&internal { |
| 201 |
// Hide text, replaced with the icon |
| 202 |
text-indent: -10000px; |
| 203 |
} |
| 204 |
|
| 205 |
.mw-htmlform-field-HTMLCheckMatrix & { |
| 206 |
&vandalism, |
| 207 |
&security, |
| 208 |
&internal { |
| 209 |
vertical-align: middle; |
| 210 |
} |
| 211 |
} |
| 212 |
} |