Refactoring: aliasing requirejs module names
[fnpeditor.git] / modules / documentCanvas / documentCanvas.less
index 8a1dc68..e17dce4 100644 (file)
@@ -1,4 +1,5 @@
 @import 'nodes.less';
+@import 'canvas/widgets.less';
 
 #rng-module-documentCanvas {
    height: 100%;
         border: 1px solid red;
     }
 
-
-    .canvas-widgets {
-        display: inline;
-    }
-
-    .canvas-widget {
-        display: none;
-    }
-
-    .canvas-widget-label {
-        position: absolute;
-        display: none;
-        top: -20px;
-        left:0;
-        background-color: red;
-        color: white;
-        font-size:12px;
-        font-weight: bold;
-        padding: 1px 3px;
-        //width:300px;
-        opacity: 0.65;
-        font-family: monospace;
-        z-index:9999;
-    }
+    counter-reset: footnote;
 }
 
 .rng-module-documentCanvas-currentNode {
@@ -96,4 +74,9 @@
     font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
     padding: 0 5px;
     text-indent: 0;
+}
+
+[document-node-element] {
+    position:relative;
+    border: 1px solid white;
 }
\ No newline at end of file