From 1fdc3412b370fb6aeea35733c77187fb81d38901 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Mon, 26 May 2014 15:23:29 +0200 Subject: Split SVG styling to separate file Might be useful if a SVG element gets exported. --- svg.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 svg.css (limited to 'svg.css') diff --git a/svg.css b/svg.css new file mode 100644 index 0000000..aca104a --- /dev/null +++ b/svg.css @@ -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; +} -- cgit v1.2.1