diff --git a/www/graph.css b/www/graph.css index f0491cf..c53e97c 100644 --- a/www/graph.css +++ b/www/graph.css @@ -223,6 +223,7 @@ svg.zoomed.zoomed2 .node text.nodeTitle { } .selectedNode .node:not(.linkedSelected) path { fill: lightgray !important; + opacity: .5; /* same as linkHover/linkedHover but without border */ } @@ -560,3 +561,22 @@ p.subtitle { #alluvial .flow_label text { font-size: 30; } + +#closeSelection{ + pointer-events: none; + opacity: 0; + position: absolute; + top: 0; + right: 0; + background-color: white; + font-size: 200%; + width: 35px; + text-align:center; + z-index: 10; +} + +.selectedNode #closeSelection{ + pointer-events: all;; + opacity: 1; + cursor: pointer; +} \ No newline at end of file diff --git a/www/index.html b/www/index.html index 832dac8..afacb0d 100644 --- a/www/index.html +++ b/www/index.html @@ -9,7 +9,7 @@
- +
×