summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki/mediawiki.htmlform.ooui.css
blob: 309eb3493fdbc1d89262e6cce72277f8118d1597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* OOUIHTMLForm styles */

.mw-htmlform-ooui-wrapper {
	width: 50em;
	margin: 1em 0;
}

.oo-ui-fieldLayout.mw-htmlform-ooui-header-empty,
.oo-ui-fieldLayout.mw-htmlform-ooui-header-empty .oo-ui-fieldLayout-body {
	display: none;
}

.oo-ui-fieldLayout.mw-htmlform-ooui-header-errors {
	/* Override 'display: none' from above */
	display: block;
}

.mw-htmlform-ooui .mw-htmlform-submit-buttons {
	margin-top: 1em;
}

.mw-htmlform-ooui .mw-htmlform-field-HTMLCheckMatrix,
.mw-htmlform-ooui .mw-htmlform-matrix,
.mw-htmlform-ooui .mw-htmlform-matrix tr {
	width: 100%;
}

.mw-htmlform-ooui .mw-htmlform-matrix tr td.first {
	margin-right: 5%;
	width: 39%;
}