mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Include TemplatePage styling on mobile"
This commit is contained in:
commit
1150891885
|
@ -2208,6 +2208,7 @@
|
|||
"modules/ve-mw/ui/styles/widgets/ve.ui.MWParameterSearchWidget.css",
|
||||
"modules/ve-mw/ui/styles/pages/ve.ui.MWTransclusionContentPage.css",
|
||||
"modules/ve-mw/ui/styles/pages/ve.ui.MWParameterPage.css",
|
||||
"modules/ve-mw/ui/styles/pages/ve.ui.MWTemplatePage.css",
|
||||
"modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.css"
|
||||
],
|
||||
"skinStyles": {
|
||||
|
|
|
@ -23,35 +23,3 @@
|
|||
.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;
|
||||
}
|
||||
|
|
39
modules/ve-mw/ui/styles/pages/ve.ui.MWTemplatePage.css
Normal file
39
modules/ve-mw/ui/styles/pages/ve.ui.MWTemplatePage.css
Normal file
|
@ -0,0 +1,39 @@
|
|||
/*!
|
||||
* 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 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;
|
||||
}
|
Loading…
Reference in a new issue