Slight improvements to FormSpecialPage behavior.
[lhc/web/wiklou.git] / resources / mediawiki.special / mediawiki.special.vforms.css
1 /*
2 * When inside the VForm style, disable the border that Vector and other skins
3 * put on the div surrounding the login/create account form.
4 * Also disable the margin and padding that Vector puts around the form.
5 */
6 .mw-ui-container #userloginForm,
7 .mw-ui-container #userlogin {
8 border: 0;
9 margin: 0;
10 padding: 0;
11 }
12
13 /* Reposition and resize language links, which appear on a per-wiki basis */
14 .mw-ui-container #languagelinks {
15 margin-bottom: 2em;
16 font-size: 0.8em;
17 }
18
19 /*
20 * Besides errorbox there could be warningbox, successbox, msgbox, though
21 * spage has never seen these in practice.
22 * Vector has styles coloring warningbox cream and successbox green.
23 */
24 .mw-ui-vform .errorbox,
25 .mw-ui-vform .warningbox,
26 .mw-ui-vform .successbox {
27 -webkit-box-sizing: border-box;
28 -moz-box-sizing: border-box;
29 box-sizing: border-box;
30 font-size: 0.9em;
31 margin: 0 0 1em 0;
32 padding: 0.5em;
33 color: #cc0000;
34 border: 1px solid #fac5c5;
35 background-color: #fae3e3;
36 text-shadow: 0 1px #fae3e3;
37 word-wrap: break-word;
38 }