X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/9608fd1f0786c3baf2c2acb3149acba2c9008314..2b589ff1348083317b6fba787c1b4fd61eecf8c9:/src/editor/modules/documentCanvas/documentCanvas.less?ds=sidebyside diff --git a/src/editor/modules/documentCanvas/documentCanvas.less b/src/editor/modules/documentCanvas/documentCanvas.less index 626704b..541eca2 100644 --- a/src/editor/modules/documentCanvas/documentCanvas.less +++ b/src/editor/modules/documentCanvas/documentCanvas.less @@ -1,21 +1,20 @@ @import 'nodes.less'; -@import 'canvas/widgets.less'; +@import 'canvas/canvas.less'; +@import 'canvas/documentElement.less'; +@import 'canvas/genericElement.less'; +@import 'canvas/gutter.less'; +@import 'canvas/comments/comments.less'; #rng-module-documentCanvas { height: 100%; } -#rng-module-documentCanvas-mainArea { - height: 100%; - margin-bottom: 20px; -} - #rng-module-documentCanvas-contentWrapper { border-color: #ddd; border-style: solid; border-width: 1px; float:left; - width: 100%; + width: calc(~'100% - 20px'); height: 100%; overflow-y: scroll; padding: 0 10px; @@ -33,7 +32,10 @@ .rng-mixin-scrollbar-thumb-window-inactive; } - .canvas-wrapper { + .root-wrapper { + display: table-cell; + vertical-align: top; + width:800px; outline: 0px solid transparent; } @@ -46,9 +48,17 @@ border-width: 1px; } + .current-node-element[wlxml-tag="span"] { + border: none; + } + .highlighted-element { border: 1px solid lighten(#000, 15%); } + + .highlighted-element[wlxml-tag="span"] { + border: none; + } counter-reset: footnote; }