orcashub-discourse-theme/scss/sidebar-desktop.scss

40 lines
845 B
SCSS
Raw Permalink Normal View History

// sidebar
@mixin box-shadow($value: 0px) {
2024-03-05 11:21:17 -08:00
box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
rgba(0, 0, 0, 0) 0px 0px 0px 0px,
rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
rgba(0, 0, 0, 0.1) 0px 1px 2px -1px;
}
#main-outlet-wrapper {
.sidebar-wrapper {
margin: 30px 0 50px;
background-color: var(--secondary);
2024-02-17 07:47:28 -08:00
border-radius: .5rem;
top: calc(var(--header-offset) + 30px);
height: calc(100vh - (var(--header-offset) + 80px));
@include box-shadow;
}
.sidebar-footer-wrapper {
background: var(--secondary);
}
}
body.has-sidebar-page {
#main-outlet-wrapper {
padding-left: 8px;
}
#main-outlet {
max-width: unset;
}
}
.desktop-view .sidebar-footer-wrapper .sidebar-footer-container::before {
background: linear-gradient(
to bottom,
transparent,
rgba(var(--secondary), 1)
);
}