Added some profiling sections for expensive functions
[mediawiki.git] / skins / common / shared.css
bloba053de9f8f8e306719012e444a5d78525283f401
1 /**
2 * CSS in this file is used by *all* skins (that have any CSS at all). Be
3 * careful what you put in here, since what looks good in one skin may not in
4 * another, but don't ignore the poor non-Monobook users either.
5 */
6 .mw-plusminus-null { color: #aaa; }
8 .texvc { direction: ltr; unicode-bidi: embed; }
9 img.tex { vertical-align: middle; }
10 span.texhtml { font-family: serif; }
12 /* add a bit of margin space between the preview and the toolbar */
13 /* this replaces the ugly <p><br /></p> we used to insert into the page source */
14 #wikiPreview.ontop { margin-bottom: 1em; }
16 /* Stop floats from intruding into edit area in previews */
17 #toolbar, #wpTextbox1 { clear: both; }
19 div#mw-js-message {
20 margin: 1em 5%;
21 padding: 0.5em 2.5%;
22 border: solid 1px #ddd;
23 background-color: #fcfcfc;
26 /* Edit section links */
27 .editsection {
28 float: right;
29 margin-left: 5px;
32 /**
33 * File histories
35 table.filehistory {
36 border:1px solid #ccc;
37 border-collapse:collapse;
40 table.filehistory th,
41 table.filehistory td {
42 padding: 0 0.2em 0 0.2em;
43 vertical-align:top;
44 border:1px solid #ccc;
46 table.filehistory th {
47 text-align: left;
49 table.filehistory td.mw-imagepage-filesize,
50 table.filehistory th.mw-imagepage-filesize {
51 white-space:nowrap;
54 table.filehistory td.filehistory-selected {
55 font-weight: bold;
59 * rev_deleted stuff
61 li span.deleted, span.history-deleted {
62 text-decoration: line-through;
63 color: #888;
64 font-style: italic;
67 /**
68 * Forms
70 body.ltr td.mw-label { text-align: right; }
71 body.ltr td.mw-input { text-align: left; }
72 body.ltr td.mw-submit { text-align: left; }
73 body.rtl td.mw-label { text-align: left; }
74 body.rtl td.mw-input { text-align: right; }
75 body.rtl td.mw-submit { text-align: right; }
77 td.mw-label { vertical-align: top; }
78 td.mw-submit { white-space: nowrap; }
80 /**
81 * Image captions
83 body.rtl .thumbcaption { text-align:right; }
84 body.rtl .magnify { float:left; }
86 body.ltr .thumbcaption { text-align:left; }
87 body.ltr .magnify { float:right; }
89 /**
90 * Hidden categories
92 .mw-hidden-cats-hidden { display: none; }
93 .catlinks-allhidden { display: none; }
95 /* Convenience links to edit block, delete and protect reasons */
96 p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
97 p.mw-filedelete-editreasons, p.mw-delete-editreasons {
98 font-size: 90%;
99 float: right;
102 /* Search results */
103 div.searchresult {
104 font-size: 95%;
105 width:38em;
107 .mw-search-results li {
108 padding-bottom: 1em;
109 list-style:none;
111 .mw-search-result-data {
112 color: green;
113 font-size: 97%;
116 td#mw-search-menu {
117 padding-left:6em;
118 font-size:85%;
121 div#mw-search-interwiki {
122 float: right;
123 width: 18em;
124 border-style: solid;
125 border-color: #AAAAAA;
126 border-width: 1px;
127 margin-top: 2ex;
130 div#mw-search-interwiki li {
131 font-size: 95%;
134 .mw-search-interwiki-more {
135 float: right;
136 font-size: 90%;
139 span.searchalttitle {
140 font-size: 95%;
143 div.searchdidyoumean {
144 font-size: 127%;
145 margin-bottom: 1ex;
146 margin-top: 1ex;
147 /* Note that this color won't affect the link, as desired. */
148 color: #c00;
151 div.searchdidyoumean em {
152 font-weight: bold;
155 .searchmatch {
156 font-weight: bold;
159 div.searchresults {
160 border:1px solid darkblue;
161 padding-top: 10px;
162 padding-bottom: 10px;
163 padding-left: 20px;
164 padding-right: 20px;
168 * UserRights stuff
170 .mw-userrights-disabled {
171 color: #888;
174 table.mw-userrights-groups * td,table.mw-userrights-groups * th {
175 padding-right: 1.5em;
179 * OpenSearch ajax suggestions
181 .os-suggest {
182 overflow: auto;
183 overflow-x: hidden;
184 position: absolute;
185 top: 0px;
186 left: 0px;
187 width: 0px;
188 background-color: white;
189 background-color: Window;
190 border-style: solid;
191 border-color: #AAAAAA;
192 border-width: 1px;
193 z-index:99;
194 visibility:hidden;
195 font-size:95%;
198 table.os-suggest-results {
199 font-size: 95%;
200 cursor: pointer;
201 border: 0;
202 border-collapse: collapse;
203 width: 100%;
206 td.os-suggest-result, td.os-suggest-result-hl {
207 white-space: nowrap;
208 background-color: white;
209 background-color: Window;
210 color: black;
211 color: WindowText;
212 padding: 2px;
214 td.os-suggest-result-hl,
215 td.os-suggest-result-hl-webkit {
216 background-color: #4C59A6;
217 color: white;
219 td.os-suggest-result-hl {
220 /* System colors are misimplemented in Safari 3.0 and earlier,
221 making highlighted text illegible... */
222 background-color: Highlight;
223 color: HighlightText;
226 .os-suggest-toggle {
227 position: relative;
228 left: 1ex;
229 font-size: 65%;
231 .os-suggest-toggle-def {
232 position: absolute;
233 top: 0px;
234 left: 0px;
235 font-size: 65%;
236 visibility: hidden;
239 /* Page history styling */
240 /* the auto-generated edit comments */
241 .autocomment { color: gray; }
242 #pagehistory .history-user {
243 margin-left: 0.4em;
244 margin-right: 0.2em;
246 #pagehistory span.minor { font-weight: bold; }
247 #pagehistory li { border: 1px solid white; }
248 #pagehistory li.selected {
249 background-color: #f9f9f9;
250 border: 1px dashed #aaa;
254 * Special:ListGroupRights styling
255 * Special:Statistics styling
258 table.mw-listgrouprights-table,
259 table.mw-statistics-table {
260 border: 1px solid #ccc;
261 border-collapse: collapse;
264 table.mw-listgrouprights-table tr {
265 vertical-align: top;
268 table.mw-listgrouprights-table td, table.mw-listgrouprights-table th,
269 table.mw-statistics-table td, table.mw-statistics-table th {
270 padding: 0.5em 0.2em 0.5em 0.2em;
271 border: 1px solid #ccc;
274 td.mw-statistics-numbers {
275 text-align: right;
278 /* Special:SpecialPages styling */
279 h4.mw-specialpagesgroup {
280 background-color: #dcdcdc;
281 padding: 2px;
282 margin: .3em 0em 0em 0em;
284 .mw-specialpagerestricted {
285 font-weight: bold;
288 #shared-image-dup, #shared-image-conflict {
289 font-style: italic;
292 /* Special:EmailUser styling */
293 table.mw-emailuser-table {
294 width: 98%;
296 td#mw-emailuser-sender, td#mw-emailuser-recipient {
297 font-weight: bold;
300 /* Special:Prefixindex styling */
301 table#mw-prefixindex-list-table,
302 table#mw-prefixindex-nav-table {
303 width: 98%;
304 background-color: transparent;
306 td#mw-prefixindex-nav-form {
307 font-size: smaller;
308 margin-bottom: 1em;
309 text-align: right;
310 vertical-align: top;
314 * Recreating deleted page warning
315 * Reupload file warning
316 * Page protection warning
317 * incl. log entries for these warnings
319 div.mw-warning-with-logexcerpt {
320 padding: 3px;
321 margin-bottom: 3px;
322 border: 2px solid #2F6FAB;
324 div.mw-warning-with-logexcerpt ul li {
325 font-size: 90%;
328 /* (show/hide) revision deletion links */
329 span.mw-revdelundel-link,
330 strong.mw-revdelundel-link {
331 font-family: monospace;
332 font-size: smaller
335 /* feed links */
336 a.feedlink {
337 background: url("images/feed-icon.png") center left no-repeat;
338 padding-left: 16px;