Fixing list removal
[fnpeditor.git] / modules / documentCanvas / nodes.less
1 [wlxml-tag] {\r
2     float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */\r
3     border-color: white;\r
4     border-style:solid;\r
5     border-width:1px;\r
6     min-height:20px;\r
7     position:relative;\r
8     text-indent: 0;\r
9 }\r
10 \r
11 span[wlxml-tag] {\r
12     display:inline-block;\r
13     min-width: 10px;\r
14 }\r
15 \r
16 [wlxml-tag=header] {\r
17     font-size: 13px;\r
18     font-weight: bold;\r
19     margin: 10px 0;\r
20 }\r
21 \r
22 [wlxml-tag=section] {\r
23     margin-top: 10px;\r
24     margin-bottom: 10px;\r
25 }\r
26 \r
27 [wlxml-tag=section] [wlxml-tag=section] {\r
28     margin-left:10px;\r
29 }\r
30 \r
31 [wlxml-class|="cite"] {\r
32     font-style: italic;\r
33 }\r
34 \r
35 [wlxml-class|="cite-code"] {\r
36     font-family: monospace;\r
37 }\r
38 \r
39 [wlxml-class|="cite-code-xml"] {\r
40     color: blue;\r
41 }\r
42 \r
43 [wlxml-tag=header] > [wlxml-class=author] {\r
44     font-size: 14px;\r
45 }\r
46 \r
47 [wlxml-tag=header] > [wlxml-class=title] {\r
48     font-size:18px;\r
49 }\r
50 \r
51 [wlxml-class|="uri"] {\r
52     color: blue;\r
53     text-decoration: underline;\r
54 }\r
55 \r
56 [wlxml-class|="p"] {\r
57     text-indent: 1.5em;\r
58 }\r
59 \r
60 [wlxml-class|="emph-tech"] {\r
61     font-style: italic;\r
62 }\r
63 \r
64 [wlxml-tag]  metadata {\r
65     display:none;\r
66 }\r
67 \r
68 [wlxml-class="list-items"] {\r
69 \r
70     counter-reset: myitem;\r
71 \r
72     > [wlxml-class="item"] {\r
73         counter-increment: myitem;\r
74         display: list-item;\r
75         margin-left: 10px;\r
76         padding-left: 5px;\r
77         \r
78         &:before {\r
79             content: counter(myitem) '. ';\r
80             margin-right:10px;\r
81             padding-right:10px;\r
82         }\r
83     }\r
84 }\r
85 \r
86 [wlxml-class="table"] {\r
87 \r
88     display: table;\r
89     border: 1px solid black;\r
90 \r
91     [wlxml-class="row"] {\r
92         display: table-row;\r
93         border: 1px solid black;\r
94     }\r
95     [wlxml-class="cell"] {\r
96         display: table-cell;\r
97         border: 1px solid black;\r
98         padding: 5px;\r
99     }\r
100 \r
101 }