diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-12-20 09:00:55 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-12-20 09:00:55 +0100 |
commit | a2190ac74dd4d7080b12bab90e552d7aa81209ef (patch) | |
tree | 8b31f38de9882d18df54cf8d9e0de74167a094eb /resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css | |
parent | 15e69f7b20b6596b9148030acce5b59993b95a45 (diff) | |
parent | 257401d8b2cf661adf36c84b0e3fd1cf85e33c22 (diff) |
Merge branch 'mw-1.26'
Diffstat (limited to 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css')
-rw-r--r-- | resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css b/resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css new file mode 100644 index 00000000..b60883e9 --- /dev/null +++ b/resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css @@ -0,0 +1,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; +} |