X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/efe36f4f1b5df351eeb4d40a54c3900cf9a7079b..36d06d92f91870d431dc4d203334def8fc891ee4:/src/editor/modules/documentCanvas/documentCanvas.less diff --git a/src/editor/modules/documentCanvas/documentCanvas.less b/src/editor/modules/documentCanvas/documentCanvas.less index e17dce4..bd39b6a 100644 --- a/src/editor/modules/documentCanvas/documentCanvas.less +++ b/src/editor/modules/documentCanvas/documentCanvas.less @@ -1,5 +1,6 @@ @import 'nodes.less'; -@import 'canvas/widgets.less'; +@import 'canvas/documentElement.less'; +@import 'canvas/genericElement.less'; #rng-module-documentCanvas { height: 100%; @@ -38,17 +39,24 @@ } .current-text-element { - outline: 1px dashed black; } .current-node-element { - border-color: lighten(#000, 15%); + border-color: lighten(#000, 35%); border-style: solid; border-width: 1px; } + .current-node-element[wlxml-tag="span"] { + border: none; + } + .highlighted-element { - border: 1px solid red; + border: 1px solid lighten(#000, 15%); + } + + .highlighted-element[wlxml-tag="span"] { + border: none; } counter-reset: footnote; @@ -78,5 +86,5 @@ [document-node-element] { position:relative; - border: 1px solid white; + border: 1px solid transparent; } \ No newline at end of file