style: enhance sidebar toggle button appearance

- Add border styling to the sidebar toggle button in file view to match other buttons.
- Update hover state to change border color for improved visual feedback.
This commit is contained in:
hamki committed 2026-01-26 16:52:17 +08:00
1 parent b9ab482b75
commit 4f3d5f2968
1 file changed
+11
+11
View File
@@ -177,9 +177,20 @@
background: var(--color-hover);
}
/* Sidebar toggle button styling for file view (not readme) - add border to match other buttons */
.file-header-right #toggle-sidebar-btn {
border: 1px solid var(--color-secondary);
border-radius: var(--border-radius);
}
.file-header-right #toggle-sidebar-btn:hover {
border-color: var(--color-primary);
}
/* Sidebar toggle button active state - when sidebar is visible */
#toggle-sidebar-btn.active {
color: var(--color-primary);
border-color: var(--color-primary);
}
/* Hide sidebar on small screens (phones) */