From: Jason Woofenden Date: Sun, 13 Mar 2016 03:46:41 +0000 (-0500) Subject: annotations work on dark background X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=commitdiff_plain;h=75c161912d1bb3e184f5f6e3ae2171e6e2ebe3cb annotations work on dark background --- diff --git a/editor.coffee b/editor.coffee index a8b6a27..b73b3d9 100644 --- a/editor.coffee +++ b/editor.coffee @@ -234,7 +234,8 @@ outer_css = (args) -> ret += '.ann_box {' ret += 'z-index: 5;' ret += 'position: absolute;' - ret += 'border: 1px solid rgba(0,0,0,.1);' + ret += 'border: 1px solid rgba(0,0,0,0.1);' + ret += 'outline: 1px solid rgba(255,255,255,0.1);' # in case there's a black background ret += '}' ret += '.ann_tag {' ret += 'z-index: 10;'