mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/dialogs/ve.ui.MWTransclusionDialog.less

68 lines
1.3 KiB
Plaintext
Raw Normal View History

/*!
* 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%;
}
}
}