109 lines
1.9 KiB
SCSS
109 lines
1.9 KiB
SCSS
@use "@shared/styles/variables" as *;
|
|
|
|
.drawer {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
background: variables.$bg-default;
|
|
border-radius: 0 variables.$radius-lg variables.$radius-lg 0;
|
|
box-shadow: var(--shadow-lg);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 16px 12px;
|
|
border-bottom: 1px solid variables.$border-subtle;
|
|
}
|
|
|
|
.brand {
|
|
@include typography.font-body-16(600);
|
|
color: variables.$text-primary;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.closeButton {
|
|
@include mixins.flex-center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
border-radius: variables.$radius-sm;
|
|
background: transparent;
|
|
color: variables.$text-secondary;
|
|
cursor: pointer;
|
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
|
|
&:hover {
|
|
background-color: variables.$bg-surface;
|
|
color: variables.$text-primary;
|
|
}
|
|
|
|
svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
}
|
|
|
|
.list {
|
|
@include mixins.reset-list;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 8px;
|
|
flex: 1;
|
|
}
|
|
|
|
.item {
|
|
display: flex;
|
|
}
|
|
|
|
.link,
|
|
.button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
border: none;
|
|
border-radius: variables.$radius-sm;
|
|
background: transparent;
|
|
color: variables.$text-secondary;
|
|
text-decoration: none;
|
|
@include typography.font-body-14(500);
|
|
cursor: pointer;
|
|
transition: background-color 0.15s ease, color 0.15s ease;
|
|
|
|
&:hover {
|
|
background-color: variables.$bg-surface;
|
|
color: variables.$text-primary;
|
|
}
|
|
|
|
&:focus-visible {
|
|
outline: 2px solid variables.$color-secondary;
|
|
outline-offset: -2px;
|
|
border-radius: variables.$radius-sm;
|
|
}
|
|
|
|
&.active {
|
|
background-color: variables.$bg-surface;
|
|
color: variables.$text-primary;
|
|
}
|
|
}
|
|
|
|
.icon {
|
|
display: inline-flex;
|
|
flex-shrink: 0;
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.label {
|
|
@include mixins.text-ellipsis;
|
|
}
|