editor: fix - bring back ability to select elements without text
[fnpeditor.git] / src / editor / plugins / core / canvasElements.less
1 .canvas-widget-footnote-handle {
2     display: inline;
3     outline: 0px solid transparent;
4     cursor: pointer;
5     counter-increment: footnote;
6     vertical-align: super;
7     color: blue;
8     font-size: .8em;
9
10     &::before, {
11         content: "[" counter(footnote) "]";
12     }
13 }
14
15 .canvas-widget-hide-button {
16     @line_height: 12px;
17     @padding: 2px;
18     @temporary_footnote_hack: 10px;
19
20     position: absolute;
21     top: -(@line_height + 2 * @padding) + @temporary_footnote_hack;
22     right: 0;
23     line-height: @line_height;
24     padding: @padding;
25     font-weight: bold;
26     color: white;
27     background-image: linear-gradient(to bottom,#ee5f5b,#bd362f);
28     border-radius: 1px;
29     cursor: pointer;
30 }
31
32 .canvas-widget-comment-adnotation {
33     position:absolute;
34     top: 10px;
35     right:10px;
36     font-size: 10px;
37     color: lighten(@black, 10%);
38     z-index:1000;
39 }