diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-05-26 15:23:29 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-05-26 15:23:29 +0200 |
commit | 1fdc3412b370fb6aeea35733c77187fb81d38901 (patch) | |
tree | 9ea4eb800dccce14a8f174e9a093a8b1ec3240dc /svg.css | |
parent | 50775bcb4ca05cc8985eebdeaea6f04da70465cc (diff) | |
download | d3viz-1fdc3412b370fb6aeea35733c77187fb81d38901.tar.gz |
Split SVG styling to separate file
Might be useful if a SVG element gets exported.
Diffstat (limited to 'svg.css')
-rw-r--r-- | svg.css | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -0,0 +1,30 @@ +/* style for svg contents */ +.node { + stroke: #fff; + stroke-width: 0.5px; +} +.node.spam { + fill: orange; +} +.node.ham { + fill: #6c6; +} +.node.neighbor { + fill: #fcc; +} +.node.selected { + fill: #f00; +} +.link { + stroke: #ddd; + stroke-opacity: .6; + /* fill none to prevent arcs lines being too thick */ + fill: none; +} +.arrow-head { + fill: #399; + fill-opacity: .6; +} +.link.neighbor { + stroke: #f99; +} |