X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/c031ffaa79a223a05a4a58de2854c9855e94cc18..fc54b1e72b7ed4992bbc4a2ef3ae7f02393d174d:/src/editor/plugins/core/canvasElements.less diff --git a/src/editor/plugins/core/canvasElements.less b/src/editor/plugins/core/canvasElements.less new file mode 100644 index 0000000..6003476 --- /dev/null +++ b/src/editor/plugins/core/canvasElements.less @@ -0,0 +1,39 @@ +.canvas-widget-footnote-handle { + display: inline; + outline: 0px solid transparent; + cursor: pointer; + counter-increment: footnote; + vertical-align: super; + color: blue; + font-size: .8em; + + &::before, { + content: "[" counter(footnote) "]"; + } +} + +.canvas-widget-hide-button { + @line_height: 12px; + @padding: 2px; + @temporary_footnote_hack: 10px; + + position: absolute; + top: -(@line_height + 2 * @padding) + @temporary_footnote_hack; + right: 0; + line-height: @line_height; + padding: @padding; + font-weight: bold; + color: white; + background-image: linear-gradient(to bottom,#ee5f5b,#bd362f); + border-radius: 1px; + cursor: pointer; +} + +.canvas-widget-comment-adnotation { + position:absolute; + top: 10px; + right:10px; + font-size: 10px; + color: lighten(@black, 10%); + z-index:1000; +} \ No newline at end of file