editor: canvas - removing borders and spaces around text and spans
[fnpeditor.git] / src / editor / modules / documentCanvas / documentCanvas.less
index 1696a09..9421482 100644 (file)
     }
 
     .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;