mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/pages/ve.ui.MWTemplatePage.css
Svantje Lilienthal 6072c46ffc Tighten spacing in VE template dialog
Bug: T308646
Change-Id: Ic785838d76dfbe2f8b776e67ccccf47fca717205
2022-06-10 14:08:56 +00:00

40 lines
1.5 KiB
CSS

/*!
* VisualEditor MediaWiki UserInterface TemplatePage styles.
*
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-menuLayout-content > .oo-ui-bookletLayout-stackLayout {
/* We don't want anything to collapse left/right, so shouldn't use margin */
padding: 0 48px;
}
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout,
.ve-ui-mwTransclusionDialog-newSidebar .ve-ui-mwParameterPage-doc,
.ve-ui-mwTransclusionDialog-newSidebar .ve-ui-mwParameterPage-info,
.ve-ui-mwTransclusionDialog-newSidebar .ve-ui-mwParameterPage-field,
.ve-ui-mwTransclusionDialog-newSidebar .ve-ui-mwParameterPage-field.ve-ui-mwParameterPage-inlineDescription {
padding: 0;
}
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout,
.ve-ui-mwTransclusionDialog-newSidebar .ve-ui-mwTransclusionDialog-multipart-message {
/* This top/bottom margin is meant to collapse with the next one */
margin: 48px 0 20px 0;
}
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-bookletLayout-stackLayout > .ve-ui-mwParameterPage,
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-bookletLayout-stackLayout > .ve-ui-mwParameterPlaceholderPage {
/* Tighter margins within a group of parameters. */
margin-top: 20px;
}
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout:last-child {
margin-bottom: 48px;
}
.ve-ui-mwTransclusionDialog-template-note {
margin-top: 16px;
}