summaryrefslogtreecommitdiff
path: root/vendor/oojs/oojs-ui/src/styles/layouts/BookletLayout.less
blob: b31cb6d72ad40d305d0f762af0556757a680ef93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@import '../common';

.oo-ui-bookletLayout {
	&-stackLayout {
		&.oo-ui-stackLayout-continuous > .oo-ui-panelLayout-scrollable {
			overflow-y: hidden;
		}

		> .oo-ui-panelLayout {
			width: 100%;

			.oo-ui-box-sizing(border-box);

			&-scrollable {
				overflow-y: auto;
			}

			&-padded {
				padding: 2em;
			}
		}
	}

	&-outlinePanel {
		&-editable > .oo-ui-outlineSelectWidget {
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 3em;
			overflow-y: auto;
		}

		> .oo-ui-outlineControlsWidget {
			position: absolute;
			bottom: 0;
			left: 0;
			right: 0;
		}
	}

	.theme-oo-ui-bookletLayout();
}