JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
annotations work on dark background
authorJason Woofenden <jason@jasonwoof.com>
Sun, 13 Mar 2016 03:46:41 +0000 (22:46 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Sun, 13 Mar 2016 03:46:41 +0000 (22:46 -0500)
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;'