From 2a5dd790c7b7f4542967bd73553689e5a616b5b4 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Fri, 8 Jun 2012 17:29:13 +0200 Subject: [PATCH] move uplink color to css --- html/force-big.css | 6 ++---- html/force-light.css | 4 ++++ html/force.js | 1 - 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/html/force-big.css b/html/force-big.css index a555f35..777d1b5 100644 --- a/html/force-big.css +++ b/html/force-big.css @@ -32,10 +32,8 @@ stroke-width: 5px; } -.link .label { - fill: transparent; - stroke: #C83771; - stroke-width: 15px; +.uplinks path, .uplinks text { + fill: #0ff; } .strength { diff --git a/html/force-light.css b/html/force-light.css index 8c9c2c5..363c80f 100644 --- a/html/force-light.css +++ b/html/force-light.css @@ -22,6 +22,10 @@ stroke-width: 5px; } +.uplinks path { + fill: #333; +} + .node ellipse { stroke: #AEC7E8; } diff --git a/html/force.js b/html/force.js index 23779fb..f09206b 100644 --- a/html/force.js +++ b/html/force.js @@ -433,7 +433,6 @@ function update() { + "c 7.5369165,0.200772 12.1529864,-1.294922 12.3338513,-10.639456" + "l 2.2140476,1.018191 -3.3137621,-5.293097 -3.2945999,5.20893 2.4339957,-0.995747" + "c -0.4041883,5.76426 -1.1549641,10.561363 -10.3735326,10.701179 z") - .style("fill", "#333") uplink_info.append("text") .attr("text-anchor", "middle")