EventBus for canvas elements + setting current element after footnote close use case
[fnpeditor.git] / modules / documentCanvas / nodes.less
index bd80c00..de4fd7c 100644 (file)
@@ -1,6 +1,8 @@
-[wlxml-text] {
+[document-text-element] {
+    font-size: 14px;
     display: inline;
     margin: 0 1px;
+    border: 1px solid white;
 }
 
 [wlxml-tag] {
 }
 
 [wlxml-tag=span] {
-    display:inline;
     min-width: 10px;
 }
 
-[wlxml-tag=header] {
+[wlxml-tag=header] [document-text-element] {
     font-size: 13px;
     font-weight: bold;
     margin: 10px 0;
     color: blue;
 }
 
-[wlxml-tag=header] > [wlxml-class=author] {
+[wlxml-tag=header] [wlxml-class=author] [document-text-element] {
     font-size: 14px;
 }
 
-[wlxml-tag=header] > [wlxml-class=title] {
+[wlxml-tag=header] [wlxml-class=title] [document-text-element] {
     font-size:18px;
 }
 
@@ -73,7 +74,7 @@
 
 [wlxml-class="list-items"] {
 
-    > [wlxml-class="item"] {
+     [wlxml-class="item"] {
         display: list-item;
         margin-left: 10px;
         padding-left: 5px;
@@ -81,7 +82,7 @@
 }
 
 [wlxml-class="item"] {
-    [wlxml-class="list-items"] {
+    [wlxml-class="list-items"] {
         display: block;
     }
 }