wlxml: fix - keep list class for both lists created from extracting items
[fnpeditor.git] / src / editor / modules / documentCanvas / documentCanvas.less
1 @import 'nodes.less';
2 @import 'canvas/widgets.less';
3
4 #rng-module-documentCanvas {
5    height: 100%;
6 }
7
8 #rng-module-documentCanvas-mainArea {
9    height: 100%;
10    margin-bottom: 20px;
11 }
12
13 #rng-module-documentCanvas-contentWrapper {
14     border-color: #ddd;
15     border-style: solid;
16     border-width: 1px;
17     float:left;
18     width: 100%;
19     height: 100%;
20     overflow-y: scroll;
21     padding: 0 10px;
22     
23     &::-webkit-scrollbar {
24         .rng-mixin-scrollbar;
25     }
26     &::-webkit-scrollbar-track {
27         .rng-mixin-scrollbar-track;
28     }
29     &::-webkit-scrollbar-thumb {
30         .rng-mixin-scrollbar-thumb;
31     }
32     &::-webkit-scrollbar-thumb:window-inactive {
33         .rng-mixin-scrollbar-thumb-window-inactive;
34     }
35     
36     .canvas-wrapper {
37         outline: 0px solid transparent;
38     }
39
40     .current-text-element {
41     }
42
43     .current-node-element {
44         border-color: lighten(#000, 35%);
45         border-style: solid;
46         border-width: 1px;
47     }
48
49     .highlighted-element {
50         border: 1px solid lighten(#000, 15%);
51     }
52
53     counter-reset: footnote;
54 }
55
56 .rng-module-documentCanvas-currentNode {
57     background: #fffacd;
58     border-color: grey;
59     border-style:dashed;
60     border-width:1px;
61 }
62
63 .rng-module-documentCanvas-hoveredNodeTag {
64     position:absolute;
65     height:20px;
66     top:-20px;
67     left:0;
68     background: #bd362f;
69     color: white;
70     font-size:9px;
71     font-weight: normal;
72     font-style: normal;
73     font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
74     padding: 0 5px;
75     text-indent: 0;
76 }
77
78 [document-node-element] {
79     position:relative;
80     border: 1px solid transparent;
81 }