Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
spacing between action buttons and pointer cursor
azivner33ab70920949
diff --git a/public/stylesheets/style.css b/public/stylesheets/style.cssindex 61c90e2c06..bfe20189f9 100644--- a/public/stylesheets/style.css+++ b/public/stylesheets/style.css@@ -83,6 +83,10 @@ span.fancytree-node.fancytree-active-clone:not(.fancytree-active) .fancytree-tittext-decoration: none;}+.icon-action {+ cursor: pointer;+}+#protect-button, #unprotect-button {display: none;}diff --git a/views/index.ejs b/views/index.ejsindex 1e92f0d62f..ced6e97b44 100644--- a/views/index.ejs+++ b/views/index.ejs@@ -33,22 +33,24 @@</div></div>- <div class="hide-toggle" style="grid-area: tree-actions">- <a onclick="noteTree.createNewTopLevelNote()" title="Create new top level note" class="icon-action">- <img src="images/icons/file-plus.png" alt="Create new top level note"/>- </a>-- <a onclick="noteTree.collapseTree()" title="Collapse tree" class="icon-action">- <img src="images/icons/list.png" alt="Collapse tree"/>- </a>-- <a onclick="noteTree.scrollToCurrentNote()" title="Scroll to current note" class="icon-action">- <img src="images/icons/crosshair.png" alt="Collapse tree"/>- </a>-- <a onclick="searchTree.toggleSearch()" title="Search in notes" class="icon-action">- <img src="images/icons/search.png" alt="Search in notes"/>- </a>+ <div class="hide-toggle" style="grid-area: tree-actions;">+ <div style="display: flex; justify-content: space-evenly; padding: 10px;">+ <a onclick="noteTree.createNewTopLevelNote()" title="Create new top level note" class="icon-action">+ <img src="images/icons/file-plus.png" alt="Create new top level note"/>+ </a>++ <a onclick="noteTree.collapseTree()" title="Collapse tree" class="icon-action">+ <img src="images/icons/list.png" alt="Collapse tree"/>+ </a>++ <a onclick="noteTree.scrollToCurrentNote()" title="Scroll to current note" class="icon-action">+ <img src="images/icons/crosshair.png" alt="Collapse tree"/>+ </a>++ <a onclick="searchTree.toggleSearch()" title="Search in notes" class="icon-action">+ <img src="images/icons/search.png" alt="Search in notes"/>+ </a>+ </div><div id="search-box" style="display: none; padding: 10px; margin-top: 10px;"><p>