feat: Implement initial hidden state for sidebar and enhance visibility handling

This commit is contained in:
Will Miao
2025-08-26 18:02:52 +08:00
parent a98e26139f
commit d2268fc9e0
2 changed files with 58 additions and 4 deletions

View File

@@ -15,6 +15,17 @@
display: flex;
flex-direction: column;
backdrop-filter: blur(8px);
/* Default state: hidden off-screen */
transform: translateX(-100%);
opacity: 0;
pointer-events: none;
}
/* Visible state */
.folder-sidebar.visible {
transform: translateX(0);
opacity: 1;
pointer-events: all;
}
/* Auto-hide states */