discourse/app/assets/stylesheets/common/base/sidebar.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
763 B
SCSS
Raw Normal View History

.header-sidebar-toggle {
margin-right: 1em;
margin-left: -10px;
button {
position: relative;
font-size: var(--font-up-2);
.discourse-no-touch & {
&:hover {
background: var(--primary-low);
.d-icon {
color: var(--primary-medium);
}
}
}
}
}
#main-outlet-wrapper {
.sidebar-wrapper {
grid-area: sidebar;
position: sticky;
top: var(--header-offset);
height: calc(100vh - var(--header-offset));
align-self: start;
overflow-y: auto;
background-color: var(--primary-very-low);
}
.sidebar-container {
box-sizing: border-box;
height: 100%;
width: 240px;
padding: 1em;
}
.sidebar-toggle {
display: flex;
justify-content: flex-end;
}
}