From 61b2e5b058a97fdd8c667ecea07a42c259d4b0ca Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 27 Feb 2015 09:04:37 +0200 Subject: client: highlight user selected nodes (aka root selection); Fixes #341 --- res/client/css/by-view/graph-view.scss | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'res/client/css/by-view') diff --git a/res/client/css/by-view/graph-view.scss b/res/client/css/by-view/graph-view.scss index aad43167..f7729906 100644 --- a/res/client/css/by-view/graph-view.scss +++ b/res/client/css/by-view/graph-view.scss @@ -148,6 +148,20 @@ -webkit-filter: blur(10px); } +.node.first-selected .circle { + stroke: $yellow; + stroke-opacity: 1; + stroke-width: 3px; + z-index: 1; +} + +.node.root-selected .circle { + stroke: $cyan; + stroke-opacity: 1; + stroke-width: 2px; + z-index: 1; +} + .graph.link.temp_and { stroke-dasharray: 3,3; } @@ -157,7 +171,7 @@ stroke: $cyan; stroke-opacity: 0.5; stroke-width: 2px; - z-index:1; + z-index: 1; } .link.enter, .link.exit, .link.selected { @@ -165,7 +179,7 @@ stroke: $cyan; stroke-opacity: 0.5; stroke-width: 2px; - z-index:1; + z-index: 1; } #editbox input{ -- cgit v1.3.1