move uplink color to css

This commit is contained in:
Nils Schneider 2012-06-08 17:29:13 +02:00
parent 0dfcd6dc74
commit 2a5dd790c7
3 changed files with 6 additions and 5 deletions

View file

@ -32,10 +32,8 @@
stroke-width: 5px; stroke-width: 5px;
} }
.link .label { .uplinks path, .uplinks text {
fill: transparent; fill: #0ff;
stroke: #C83771;
stroke-width: 15px;
} }
.strength { .strength {

View file

@ -22,6 +22,10 @@
stroke-width: 5px; stroke-width: 5px;
} }
.uplinks path {
fill: #333;
}
.node ellipse { .node ellipse {
stroke: #AEC7E8; stroke: #AEC7E8;
} }

View file

@ -433,7 +433,6 @@ function update() {
+ "c 7.5369165,0.200772 12.1529864,-1.294922 12.3338513,-10.639456" + "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" + "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") + "c -0.4041883,5.76426 -1.1549641,10.561363 -10.3735326,10.701179 z")
.style("fill", "#333")
uplink_info.append("text") uplink_info.append("text")
.attr("text-anchor", "middle") .attr("text-anchor", "middle")