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
hide sidebar button styling
zadama1181623b7bb
diff --git a/src/public/stylesheets/desktop.css b/src/public/stylesheets/desktop.cssindex cb54303043..eada71e043 100644--- a/src/public/stylesheets/desktop.css+++ b/src/public/stylesheets/desktop.css@@ -381,6 +381,14 @@ body {.hide-sidebar-button {color: var(--main-text-color);+ background: none;+ border: 1px solid transparent;+ padding: 2px 8px 2px 8px;+ border-radius: 2px;+}++.hide-sidebar-button:hover {+ border-color: var(--button-border-color);}.note-detail-sidebar {diff --git a/src/views/sidebar.ejs b/src/views/sidebar.ejsindex 8849711c8b..24c83e6848 100644--- a/src/views/sidebar.ejs+++ b/src/views/sidebar.ejs@@ -1,6 +1,6 @@<div class="note-detail-sidebar hide-toggle" style="width: <%= sidebarWidthPercent %>%; min-width: <%= sidebarMinWidth %>px">- <div style="text-align: center; margin-bottom: 10px;">- <button class="hide-sidebar-button" style="background: none; border: none;">hide sidebar <span class="bx bx-chevrons-right"></span></button>+ <div style="text-align: center; margin-bottom: 5px;">+ <button class="hide-sidebar-button">hide sidebar <span class="bx bx-chevrons-right"></span></button></div><div class="note-detail-widget-container"></div>