Debian Codegraph @

resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.less

raw
1 /*!
2 * MediaWiki Widgets - base ComplexNamespaceInputWidget styles.
3 *
4 * @copyright 2011-2024 MediaWiki Widgets Team and others; see AUTHORS.txt
5 * @license The MIT License (MIT); see LICENSE.txt
6 */
7
8 .mw-widget-complexNamespaceInputWidget {
9 .mw-widget-namespaceInputWidget,
10 .oo-ui-fieldLayout {
11 display: inline-block;
12 margin-right: 1em;
13 }
14
15 /* TODO FieldLayout is not supposed to be used the way we use it here */
16 .oo-ui-fieldLayout {
17 vertical-align: middle;
18 margin-bottom: 0;
19
20 &.oo-ui-fieldLayout-align-inline.oo-ui-labelElement > .oo-ui-fieldLayout-body > .oo-ui-labelElement-label {
21 padding-left: 0.5em;
22 }
23 }
24
25 .mw-widget-namespaceInputWidget {
26 max-width: 20em;
27 }
28 }