Building js & css for editor with r.js/lessc via grunt tasks
[fnpeditor.git] / modules / documentCanvas / nodes.less
index 215d36b..4e6a817 100644 (file)
@@ -67,11 +67,26 @@ span[wlxml-tag] {
 \r
 [wlxml-class="list-items"] {\r
 \r
+    > [wlxml-class="item"] {\r
+        display: list-item;\r
+        margin-left: 10px;\r
+        padding-left: 5px;\r
+    }\r
+}\r
+\r
+[wlxml-class="item"] {\r
+    > [wlxml-class="list-items"] {\r
+        display: block;\r
+    }\r
+}\r
+\r
+\r
+[wlxml-class="list-items-enum"] {\r
+\r
     counter-reset: myitem;\r
 \r
     > [wlxml-class="item"] {\r
         counter-increment: myitem;\r
-        display: list-item;\r
         margin-left: 10px;\r
         padding-left: 5px;\r
         \r
@@ -83,6 +98,14 @@ span[wlxml-tag] {
     }\r
 }\r
 \r
+.canvas-silent-item {\r
+    display: block !important;\r
+    counter-increment: none !important;\r
+    &:before {\r
+        content: normal !important;\r
+    }\r
+}\r
+\r
 [wlxml-class="table"] {\r
 \r
     display: table;\r