mirror of
https://github.com/go-gitea/gitea.git
synced 2026-01-23 17:29:46 +01: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:
parent
fd754aa367
commit
dc873a7e70
@ -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) */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user