0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-06 23:38:48 +02:00

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 2026-01-16 05:45:48 +08:00
parent b9ab482b75
commit 4f3d5f2968
No known key found for this signature in database
GPG Key ID: 092D4EC7F4DECB68

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) */