summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css
blob: b60883e9974e76c3146363fac1980261320f6820 (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
/*!
 * MediaWiki Widgets - base ComplexNamespaceInputWidget styles.
 *
 * @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
 * @license The MIT License (MIT); see LICENSE.txt
 */

.mw-widget-complexNamespaceInputWidget .mw-widget-namespaceInputWidget,
.mw-widget-complexNamespaceInputWidget .oo-ui-fieldLayout {
	display: inline-block;
	margin-right: 1em;
}

/* TODO FieldLayout is not supposed to be used the way we use it here */
.mw-widget-complexNamespaceInputWidget .oo-ui-fieldLayout {
	vertical-align: middle;
	margin-bottom: 0;
}

.mw-widget-complexNamespaceInputWidget .oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline.oo-ui-labelElement > .oo-ui-fieldLayout-body > .oo-ui-labelElement-label {
	padding-left: 0.5em;
}

.mw-widget-complexNamespaceInputWidget .mw-widget-namespaceInputWidget {
	max-width: 20em;
}