mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/layouts/ve.ui.MWTwoPaneTransclusionDialogLayout.less
Adam Wight 9f2c8f0928 Copy BookletLayout implementation from ooui-js 0.44.0
Bring over the ES and Less implementation from ooui-js and rename to
fit it into the VE hierarchy, but don't make any other substantial
changes.

Inlines the wikimediaui-themed styles, ignoring apex styles, and
hardcodes the Less constants.

Bug: T310865
Change-Id: Id43dafdf11c5df0d7d78112e5f62a8599bdbc879
2022-06-21 11:06:44 +02:00

45 lines
897 B
Plaintext

.ve-ui-mwTwoPaneTransclusionDialogLayout {
&-stackLayout {
&.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;
// @padding-panel-dialog
padding: 20px;
}
}
// TODO: These rules aren't applied to the new sidebar.
&-outlinePanel {
&-editable > .oo-ui-outlineSelectWidget {
height: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 2.5em;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
> .oo-ui-outlineControlsWidget {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2.5em;
// @border-dialog-bar
border-top: 1px solid #c8ccd1;
}
}
> .oo-ui-menuLayout-menu {
// @border-dialog-bar
border-right: 1px solid #c8ccd1;
}
}