summaryrefslogtreecommitdiff
path: root/res/client/css/by-view
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-02-27 09:04:37 +0200
committerAlon Levy <alon@pobox.com>2015-02-27 09:04:37 +0200
commit61b2e5b058a97fdd8c667ecea07a42c259d4b0ca (patch)
tree7deef9c0a1dca852966cf882aa0fc3fa469ec6b0 /res/client/css/by-view
parentf74dc040bd252400c982166a37a8468a43d42fac (diff)
client: highlight user selected nodes (aka root selection); Fixes #341
Diffstat (limited to 'res/client/css/by-view')
-rw-r--r--res/client/css/by-view/graph-view.scss18
1 files changed, 16 insertions, 2 deletions
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{