mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/layouts/ve.ui.MWTwoPaneTransclusionDialogLayout.less
Andrew Kostka d097a83c54 Update styling for the floating help button
Bug: T310762
Change-Id: I2f8d668caad224b51e095ba423a761014a5a994e
2022-07-06 15:43:13 +02:00

48 lines
955 B
Plaintext

.ve-ui-mwTwoPaneTransclusionDialogLayout {
&-sidebar-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 2.5em;
overflow: auto;
/* Compensate for 2 * 2px padding on the .oo-ui-outlineControlsWidget + 1px border */
margin-bottom: 5px;
.ve-ui-mwTransclusionDialog-single-transclusion & {
bottom: 0;
margin-bottom: 0;
}
}
&-stackLayout {
/* We don't want anything to collapse left/right, so shouldn't use margin */
padding: 0 54px;
&.oo-ui-stackLayout-continuous > .oo-ui-panelLayout-scrollable {
// Override from PanelLayout; only the StackLayout must be scrollable
overflow: hidden;
}
> .oo-ui-panelLayout {
width: 100%;
box-sizing: border-box;
margin: 48px 0 20px 0;
&:last-child {
margin-bottom: 48px;
}
}
}
> .oo-ui-menuLayout-menu {
width: 240px;
// @border-dialog-bar
border-right: 1px solid #c8ccd1;
}
> .oo-ui-menuLayout-content {
left: 240px;
}
}