From 13e3769e1ff9a5f599f22b3d1d3d9eb872117b32 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 5 Apr 2015 15:32:56 +0300 Subject: client: graph construction: text below circles. resolve #429 remind myself svg doesn't respect z-index, flatten back the svg structure: svg - zoom - graph g path 1 link text 1 node text 1 node text 2 node circle 1 node circle 2 per SVG 1.1 spec the last node is the top most. --- res/client/css/style.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'res/client/css/style.css') diff --git a/res/client/css/style.css b/res/client/css/style.css index deac4b58..9961a801 100644 --- a/res/client/css/style.css +++ b/res/client/css/style.css @@ -873,7 +873,8 @@ p { .circle:hover { stroke: #ff8b11; stroke-opacity: 1; - stroke-width: 5px; } + stroke-width: 5px; + opacity: 1.0; } .nodetext { fill: #363636; @@ -888,6 +889,11 @@ p { font-size: 18px; background-color: transparent; } +.linklabel { + stroke: #363636; + font-size: 14px; + background-color: transparent; } + .svg-input-fo-link { stroke: #363636; } @@ -903,12 +909,6 @@ p { stroke-opacity: 0.5; z-index: 1; } -.linklabel { - font-size: 14px; - fill: black; - stroke: transparent; - text-shadow: 2px 2px yellow; } - .ghostlink { opacity: 0.0; fill: white; -- cgit v1.3.1