wlxml: methods for testing for existence and fetching ancestors with a specific class
[fnpeditor.git] / src / editor / modules / documentCanvas / nodes.less
index 78792cc..9ce08d1 100644 (file)
     display:none;
 }
 
     display:none;
 }
 
-[wlxml-class|="list"] {
+[wlxml-class="list"] {
 
 
-     [wlxml-class|="item"] {
-        display: list-item;
+
+    > * > [wlxml-class="item"] {
         margin-left: 10px;
         padding-left: 5px;
         margin-left: 10px;
         padding-left: 5px;
+        
+        &:before {
+            content: '\2022';
+            margin-right:10px;
+            padding-right:10px;
+        }
     }
 }
 
     }
 }
 
 
     counter-reset: myitem;
 
 
     counter-reset: myitem;
 
-    > [wlxml-class="item"] {
+    > * > [wlxml-class="item"] {
         counter-increment: myitem;
         margin-left: 10px;
         padding-left: 5px;
         counter-increment: myitem;
         margin-left: 10px;
         padding-left: 5px;