af084a7ad62560516ae8543db250656ec664d696
[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     > [wlxml-class="item"] {\r
71         display: list-item;\r
72         margin-left: 10px;\r
73         padding-left: 5px;\r
74     }\r
75 }\r
76 \r
77 [wlxml-class="item"] {\r
78     > [wlxml-class="list-items"] {\r
79         display: block;\r
80     }\r
81 }\r
82 \r
83 \r
84 [wlxml-class="list-items-enum"] {\r
85 \r
86     counter-reset: myitem;\r
87 \r
88     > [wlxml-class="item"] {\r
89         counter-increment: myitem;\r
90         margin-left: 10px;\r
91         padding-left: 5px;\r
92         \r
93         &:before {\r
94             content: counter(myitem) '. ';\r
95             margin-right:10px;\r
96             padding-right:10px;\r
97         }\r
98     }\r
99 }\r
100 \r
101 [wlxml-class="table"] {\r
102 \r
103     display: table;\r
104     border: 1px solid black;\r
105 \r
106     [wlxml-class="row"] {\r
107         display: table-row;\r
108         border: 1px solid black;\r
109     }\r
110     [wlxml-class="cell"] {\r
111         display: table-cell;\r
112         border: 1px solid black;\r
113         padding: 5px;\r
114     }\r
115 \r
116 }