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