diff --git a/codex/templates/network_graph.html b/codex/templates/network_graph.html index ea74ce32..2119c589 100644 --- a/codex/templates/network_graph.html +++ b/codex/templates/network_graph.html @@ -96,6 +96,37 @@ margin: 0px; } + /* Right-click "add partners" context menu (Network view). */ + .ctx-menu { + position: absolute; + z-index: 10; + display: none; + min-width: 210px; + background-color: #ffffff; + border: 1px solid #b0b0b0; + border-radius: 4px; + box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25); + font-family: sans-serif; + font-size: 13px; + overflow: hidden; + } + .ctx-menu-header { + padding: 6px 10px; + background-color: #f0f0f0; + color: #555555; + font-size: 11px; + border-bottom: 1px solid #e0e0e0; + white-space: nowrap; + } + .ctx-menu-item { + padding: 8px 12px; + cursor: pointer; + white-space: nowrap; + } + .ctx-menu-item:hover { + background-color: #e8f0fe; + } + @@ -114,6 +145,17 @@
+ +
+
Neuron
+
+   Add upstream partners +
+
+   Add downstream partners +
+
+ \ No newline at end of file