Debian Codegraph @

extensions/VisualEditor/modules/ve-mw/ui/styles/layouts/ve.ui.MWTwoPaneTransclusionDialogLayout.less

raw
1 @import 'mediawiki.skin.variables.less';
2
3 .ve-ui-mwTwoPaneTransclusionDialogLayout {
4 &-sidebar-container {
5 position: absolute;
6 top: 0;
7 left: 0;
8 right: 0;
9 bottom: 2.5em;
10 overflow: auto;
11 /* Compensate for 2 * 2px padding on the .oo-ui-outlineControlsWidget + 1px border */
12 margin-bottom: 5px;
13
14 .ve-ui-mwTransclusionDialog-single-transclusion & {
15 bottom: 0;
16 margin-bottom: 0;
17 }
18 }
19
20 &-stackLayout {
21 /* We don't want anything to collapse left/right, so shouldn't use margin */
22 padding: 0 54px;
23
24 &.ve-ui-mwVerticalLayout {
25 > .oo-ui-panelLayout-scrollable {
26 // Override from PanelLayout; only the StackLayout must be scrollable
27 overflow: hidden;
28 }
29
30 > .oo-ui-panelLayout {
31 display: block;
32 position: relative;
33 }
34 }
35
36 > .oo-ui-panelLayout {
37 width: 100%;
38 box-sizing: border-box;
39 margin: 48px 0 20px 0;
40
41 &:last-child {
42 margin-bottom: 48px;
43 }
44 }
45 }
46
47 > .oo-ui-menuLayout-menu {
48 width: 240px;
49 // @border-dialog-bar
50 border-right: @border-subtle;
51 }
52
53 > .oo-ui-menuLayout-content {
54 left: 240px;
55 }
56 }