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
@@ -1,24 +1,28 @@
.dashboard-container {
height: calc(100dvh - 6.7rem);
box-sizing: border-box;
height: 100%;
overflow-y: auto;
position: relative;
}
@media (width <= 768px) {
.dashboard-container {
height: calc(100dvh - 5rem);
}
}
.dashboard {
box-sizing: border-box;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100%;
padding: 1.1rem 1.1rem 0;
text-align: center;
position: relative;
z-index: 1;
}
@media (width <= 768px) {
.dashboard {
padding: 0.5rem 0.5rem 0;
}
}
.loading-state {
display: flex;
align-items: center;
@@ -42,7 +46,7 @@
font-size: 1.75rem;
font-weight: 700;
margin-bottom: 2rem;
background: linear-gradient(135deg, #fff, #e2e8f0, var(--p-primary-500));
background: linear-gradient(135deg, var(--text-color), var(--text-color-secondary), var(--primary-color));
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
@@ -51,9 +55,9 @@
.dashboard-no-library {
padding: 3rem;
background: var(--p-surface-900);
background: transparent;
border-radius: 24px;
border: 1px solid var(--p-content-border-color);
border: 1px solid var(--border-subtle);
position: relative;
overflow: hidden;
}
@@ -74,11 +78,11 @@
::ng-deep .p-button {
box-shadow: 0 4px 12px rgb(0 0 0 / 30%);
background: rgb(var(--p-surface-900-rgb), 80%);
border: 1px solid var(--p-content-border-color);
background: transparent;
border: 1px solid var(--border-subtle);
&:hover {
background: rgb(var(--p-surface-800-rgb), 90%);
background: var(--surface-toolbar);
transform: scale(1.05);
transition: all 0.2s ease;
}