Add styles for sidebar collapse and topbar in workspace

This commit is contained in:
2026-01-31 12:26:41 +01:00
parent 1d1e544d35
commit f125f81576

View File

@@ -42,6 +42,10 @@ body {
min-height: 100vh;
}
.app--sidebar-collapsed {
grid-template-columns: 1fr;
}
.sidebar {
display: flex;
flex-direction: column;
@@ -61,6 +65,13 @@ body {
padding-right: 24px;
}
.sidebar__title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.sidebar__footer {
display: flex;
flex-direction: column;
@@ -227,6 +238,13 @@ body {
overflow: hidden;
}
.workspace__topbar {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
}
.workspace__content {
display: grid;
grid-template-columns: 1fr;
@@ -300,6 +318,17 @@ body {
transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.icon-button--ghost {
border-color: transparent;
background: transparent;
}
.icon-button--ghost:hover {
border-color: rgba(255, 255, 255, 0.12);
background: var(--bg-elevated);
color: var(--ink);
}
.icon-button__img {
width: 18px;
height: 18px;