mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/pages/ve.ui.MWTemplatePage-default.css
Thiemo Kreuz 847ab1800b Remove unused CSS from template dialog
These pieces are only relevant when the new "inlineDescription"
feature is enabled. In other words: This can't have an effect on
the old dialog.

The 2.5em left and right are from an old styling when the
parameter pages have been indented.

Change-Id: I022b0dd94ee66f7de114c055c3f453317a7f6131
2021-12-07 13:57:18 +00:00

58 lines
1.8 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-mwTemplatePage-more {
display: none;
margin: 2.25em 0 0.5em 0;
}
.ve-ui-mwTemplatePage:last-child .ve-ui-mwTemplatePage-more {
display: block;
}
.ve-ui-mwTemplatePage-description {
color: #54595d;
overflow-wrap: break-word;
}
.ve-ui-mwTemplatePage-description-extra,
.ve-ui-mwTemplatePage-description-missing {
font-style: italic;
}
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-menuLayout-content > .oo-ui-bookletLayout-stackLayout {
/* Wo 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 {
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 16px 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: 16px;
}
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout:last-child {
margin-bottom: 48px;
}
.ve-ui-mwTransclusionDialog-template-note {
margin-top: 16px;
}