From 70739041437f11750448a718dd63933d35f4d088 Mon Sep 17 00:00:00 2001 From: Gamosoft Date: Thu, 19 Feb 2026 15:23:46 +0100 Subject: [PATCH] mouse over cosmetic changes --- frontend/index.html | 72 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 55 insertions(+), 17 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index dbe2f90..b9c4330 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -707,11 +707,14 @@ /* Folder tree styling - compact Obsidian-like */ .folder-item { user-select: none; - border-radius: 4px; + border-radius: 6px; + border-left: 3px solid transparent; + margin-left: 2px; } .folder-item:hover { background-color: var(--bg-hover); + border-left-color: var(--accent-primary); } .folder-item.drag-over { @@ -724,11 +727,51 @@ } .note-item { - border-radius: 4px; + border-radius: 6px; + border-left: 3px solid transparent; + margin-left: 2px; } .note-item:hover { background-color: var(--bg-hover); + border-left-color: var(--accent-primary); + transform: translateX(2px); + } + + /* Active/selected note styling */ + .note-item.active, + .note-item[style*="accent-light"] { + border-left-color: var(--accent-primary) !important; + font-weight: 500; + } + + /* Shared hover accent effect for list items */ + .hover-accent { + border-radius: 6px; + border-left: 3px solid transparent; + margin-left: 2px; + transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease; + } + + .hover-accent:not(.active):hover { + background-color: var(--bg-hover); + border-left-color: var(--accent-primary); + transform: translateX(2px); + } + + .hover-accent.active { + border-left-color: var(--accent-primary); + } + + /* Tag chip - same effect but no margin */ + .tag-chip { + border-left: 3px solid transparent; + transition: border-color 0.15s ease, transform 0.1s ease; + } + + .tag-chip:hover { + border-left-color: var(--accent-primary); + transform: translateX(2px); } /* Drag and drop improvements */ @@ -740,12 +783,13 @@ .note-item[draggable="true"]:active, .folder-item[draggable="true"]:active { cursor: grabbing; + transform: scale(0.98); } /* Smooth transitions for drag states */ .folder-item, .note-item { - transition: background-color 0.15s ease, border-color 0.15s ease; + transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease; } /* Better drop zone visibility */ @@ -1467,12 +1511,10 @@