JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
annotations work on dark background
[peach-html5-editor.git] / editor.coffee
index a8b6a27..b73b3d9 100644 (file)
@@ -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;'