mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.less
Ed Sanders c9c7c06e76 Nest LESS files
Change-Id: Ic9fad12fe4c20793dd54cb3169b9dffe3a6a18da
2024-03-19 13:56:41 +00:00

68 lines
1.3 KiB
Plaintext

/*!
* VisualEditor MediaWiki UserInterface MWTransclusionDialog styles.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-ui-mwTemplateDialog .mw-widget-titleWidget-menu-withDescriptions .mw-widget-titleOptionWidget .oo-ui-labelElement-label {
font-weight: bold;
.oo-ui-labelElement-label-highlight {
font-weight: normal;
}
}
.ve-ui-mwTemplateTitleInputWidget-redirectedfrom {
font-style: italic;
}
.ve-ui-mwTransclusionDialog {
&-single-transclusion {
.ve-ui-mwTransclusionOutlineWidget .ve-ui-mwTransclusionOutlinePartWidget .ve-ui-mwTransclusionOutlineButtonWidget {
display: none;
&-sticky {
margin-top: -8px;
margin-bottom: 8px;
padding-top: 8px;
}
}
.ve-ui-mwTransclusionOutlineTemplateWidget-no-template-parameters {
margin: 24px;
}
}
.ve-ui-mwTemplateDialog&-small-screen&-expanded .oo-ui-menuLayout {
> .oo-ui-menuLayout-menu {
border-right: 0;
width: 100%;
}
> .oo-ui-menuLayout-content {
display: none;
}
}
&-floatingHelpElement {
position: absolute;
right: 16px;
bottom: 16px;
}
&-small-screen &-floatingHelpElement {
display: none;
}
&-floatingHelpElement-fieldsetLayout {
label {
margin-bottom: 16px;
}
.oo-ui-buttonWidget {
width: 100%;
}
}
}