improve the style of the toc: no pointer for entries without link
Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/79bcc8c3 Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/79bcc8c3 Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/79bcc8c3 Branch: refs/heads/master Commit: 79bcc8c3adc2ac120859841d975c90d326a7ade5 Parents: 409854d Author: Nicolas LaleveÌe <nicolas.lale...@hibnet.org> Authored: Sun Jun 25 01:08:37 2017 +0200 Committer: Nicolas LaleveÌe <nicolas.lale...@hibnet.org> Committed: Sun Jun 25 01:08:37 2017 +0200 ---------------------------------------------------------------------- asciidoc/style/tree.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/79bcc8c3/asciidoc/style/tree.css ---------------------------------------------------------------------- diff --git a/asciidoc/style/tree.css b/asciidoc/style/tree.css index a9dce80..4bf126d 100644 --- a/asciidoc/style/tree.css +++ b/asciidoc/style/tree.css @@ -33,13 +33,15 @@ padding-left: 22px; margin-bottom: 3px; } -.treeview li.submenu{ +.treeview li.submenu { background: white url(../images/closed.gif) no-repeat left 1px; -cursor: hand !important; -cursor: pointer !important; } -.treeview li.collapsable, .treeview li.open { +.treeview .hitarea { + cursor: pointer; +} + +.treeview li.collapsable, .treeview li.open { background: white url(../images/open.gif) no-repeat left 1px; }