EditPage: Remove legacy non-OOUI render mode
[lhc/web/wiklou.git] / resources / src / mediawiki.action / mediawiki.action.edit.styles.css
1 /*!
2 * Styles for elements of the editing form.
3 */
4
5 /* General layout */
6 #wpTextbox1 {
7 margin: 0;
8 display: block;
9 /* Ensure the textarea is not higher than browser's viewport on small screens */
10 max-height: 100vh;
11 /* But don't let it collapse into nothingness on really tiny screens */
12 min-height: 5em;
13 }
14
15 /*
16 * Add a bit of margin space between the preview and the toolbar.
17 * This replaces the ugly <p><br /></p> we used to insert into the page source
18 */
19 #wikiPreview.ontop {
20 margin-bottom: 1em;
21 }
22
23 /* Adjustments to edit form elements */
24 #editpage-copywarn {
25 font-size: 0.9em;
26 }
27
28 .mw-editform-ooui #wpSummaryWidget {
29 display: block;
30 margin-bottom: 1em;
31 max-width: none;
32 }
33
34 .mw-editform-ooui #editpage-copywarn {
35 line-height: 1.26;
36 }
37
38 .mw-editform-ooui #wpSummaryLabel {
39 margin: 0;
40 }
41
42 .mw-editform-ooui .editCheckboxes .oo-ui-fieldLayout {
43 margin-right: 1em;
44 }
45
46 .mw-editform-ooui .editHelp {
47 margin-left: 0.5em;
48 vertical-align: middle;
49 }
50
51 .mw-editform-ooui .editHelp a {
52 font-weight: bold;
53 }
54
55 .mw-editform-ooui .editOptions {
56 border-radius: 0 0 2px 2px;
57 }