Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bundle/config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
BUNDLE_PATH: "vendor/bundle"
BUNDLE_PATH: "~/.gem"
BUNDLE_FROZEN: "false"
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ GEM
concurrent-ruby (~> 1.0)
unicode-display_width (1.8.0)
uri (0.13.0)
wdm (0.2.0)
webrick (1.9.2)
yell (2.2.2)

Expand All @@ -294,6 +295,7 @@ DEPENDENCIES
github-pages (= 232)
html-proofer (~> 3.19.4)
json
wdm (>= 0.1.1)
webrick (~> 1.9)

BUNDLED WITH
Expand Down
2 changes: 2 additions & 0 deletions _sass/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
--nav-bg: #f6fbfe;
--nav-text: #666666;
--nav-selected: #d9edf7;
--nav-hover: #eaf4fb;
--brand-color: #f6fbfe;
--page-header: #888888;
--inline-code-color: #393318;
Expand All @@ -30,6 +31,7 @@
--nav-bg: #202225;
--nav-text: #cccccc;
--nav-selected: #535353;
--nav-hover: #444649;
--brand-color: #000000;
--page-header: #999999;
--inline-code-color: #FFFFFF;
Expand Down
6 changes: 6 additions & 0 deletions navtree.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
}

#nav-tree .item:hover {
background-color: var(--nav-hover);
cursor: pointer;
}

#nav-tree img {
margin:0px;
padding:0px;
Expand Down Expand Up @@ -76,6 +81,7 @@
#nav-tree .item {
margin:0px;
padding:0px;
cursor: pointer;
}

#nav-tree-disabled {
Expand Down
8 changes: 8 additions & 0 deletions navtree.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,14 @@ function newNode(o, po, text, link, childrenData, lastNode)
node.itemDiv = document.createElement("div");
node.itemDiv.className = "item";

node.itemDiv.style.cursor = "pointer";
node.itemDiv.onclick = function(e) {
if (e.target.classList.contains('arrow') ||
e.target.closest('.arrow')) return;
var a = node.itemDiv.querySelector("a");
if (a) a.click();
};

node.labelSpan = document.createElement("span");
node.labelSpan.className = "label";

Expand Down