feat(ui): New sidebar & search UI (#831)

This commit is contained in:
Alex
2026-05-04 09:46:48 +01:00
committed by GitHub
parent c9b2a5734e
commit f3138a88c5
182 changed files with 8318 additions and 4660 deletions
@@ -5,6 +5,8 @@
flex-direction: row;
min-width: 0;
width: 100%;
height: 100%;
min-height: 0;
}
.book-browser-main {
@@ -13,6 +15,16 @@
flex: 1 1 0;
min-width: 0;
width: auto;
min-height: 0;
}
.book-browser-content {
position: relative;
display: flex;
flex: 1 1 auto;
flex-direction: column;
min-width: 0;
min-height: 0;
}
// Header bar
@@ -22,16 +34,13 @@
justify-content: space-between;
gap: 0.25rem;
padding: 0.35rem;
border-radius: 0.75rem 0.75rem 0 0;
margin-bottom: 0.5rem;
margin-right: 2px;
background-color: var(--card-background);
border: 1px solid var(--p-content-border-color);
border-bottom: 1px solid var(--p-content-border-color);
@media (width >= 768px) {
gap: 1rem;
padding: 0.5rem 1rem;
margin-bottom: 1rem;
}
}
@@ -337,15 +346,10 @@
// Virtual scroller and grid
.virtual-scroller {
width: 100%;
height: calc(100dvh - 10.9rem);
padding: 1rem 0;
height: 100%;
padding: 1rem;
box-sizing: border-box;
overflow-y: auto;
@media (width <= 768px) {
height: calc(100dvh - 9rem);
padding: 0.75rem;
}
}
.virtual-loader-cell {
@@ -385,8 +389,8 @@
border-radius: 0.5rem;
}
// Topbar items (icon buttons)
.topbar-item {
// Toolbar actions (icon buttons)
.toolbar-item {
display: inline-flex;
align-items: center;
justify-content: center;