diff options
Diffstat (limited to 'vendor/oojs/oojs-ui/src/styles/layouts/BookletLayout.less')
-rw-r--r-- | vendor/oojs/oojs-ui/src/styles/layouts/BookletLayout.less | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/vendor/oojs/oojs-ui/src/styles/layouts/BookletLayout.less b/vendor/oojs/oojs-ui/src/styles/layouts/BookletLayout.less new file mode 100644 index 00000000..b31cb6d7 --- /dev/null +++ b/vendor/oojs/oojs-ui/src/styles/layouts/BookletLayout.less @@ -0,0 +1,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(); +} |