fairly simple changes
[fnpeditor.git] / 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 (file)
index 0000000..6003476
--- /dev/null
@@ -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