mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 15:53:45 +08:00
77 lines
1.4 KiB
SCSS
77 lines
1.4 KiB
SCSS
.panel-body-contents {
|
|
// 2em padding very useful for iOS Safari's overlayed bottom nav
|
|
// padding-bottom: calc(env(safe-area-inset-bottom) + 2em);
|
|
|
|
.user-menu.revamped & {
|
|
height: 100%;
|
|
|
|
.quick-access-panel li {
|
|
padding-block: 0.15em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tabs-list .btn {
|
|
.user-menu.revamped & {
|
|
padding: 1.2em 1.4em;
|
|
}
|
|
}
|
|
|
|
.hamburger-panel .revamped {
|
|
--d-sidebar-row-horizontal-padding: 1rem;
|
|
--d-sidebar-highlight-backgrond: var(--primary-low);
|
|
box-sizing: border-box;
|
|
|
|
.panel-body-contents {
|
|
.sidebar-hamburger-dropdown {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-top: 0.5em;
|
|
flex: 1 1 auto;
|
|
}
|
|
}
|
|
|
|
.sidebar-row {
|
|
&.sidebar-section-message-wrapper {
|
|
padding-top: 0;
|
|
padding-bottom: 0.25em;
|
|
}
|
|
}
|
|
|
|
.sidebar-section-wrapper {
|
|
margin-bottom: 1.2em;
|
|
}
|
|
|
|
.sidebar-footer-wrapper {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.sidebar-footer-container {
|
|
&:before {
|
|
background: linear-gradient(
|
|
to bottom,
|
|
rgba(var(--primary-very-low-rgb), 0),
|
|
rgba(var(--primary-very-low-rgb), 1)
|
|
);
|
|
}
|
|
}
|
|
|
|
.sidebar-sections {
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.sidebar-section-content {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.sidebar-section-header-wrapper {
|
|
.d-icon-globe {
|
|
color: var(--primary-medium);
|
|
font-size: var(--font-down-1);
|
|
}
|
|
}
|
|
}
|