Add styles for sidebar collapse and topbar in workspace
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user