2022-07-18 22:35:02 -04:00
|
|
|
.menu-panel {
|
|
|
|
&.user-menu.revamped {
|
|
|
|
width: unset;
|
|
|
|
}
|
|
|
|
|
2024-07-10 15:50:34 -04:00
|
|
|
&.drop-down {
|
|
|
|
.panel-body {
|
|
|
|
max-width: calc(100vw - 2em);
|
|
|
|
}
|
2022-07-18 22:35:02 -04:00
|
|
|
}
|
2019-11-03 18:47:53 -05:00
|
|
|
}
|
2022-08-16 01:45:32 -04:00
|
|
|
|
|
|
|
// Sidebar-hamburger hybrid
|
|
|
|
|
|
|
|
.hamburger-panel .revamped {
|
2023-06-06 09:24:56 -04:00
|
|
|
--d-sidebar-highlight-background: var(--d-hover);
|
2022-08-18 03:03:28 -04:00
|
|
|
--d-sidebar-row-horizontal-padding: 0.5rem;
|
2022-09-29 00:28:01 -04:00
|
|
|
--d-sidebar-row-height: 30px;
|
|
|
|
// 1.25rem gets text left-aligned with the hamburger icon
|
|
|
|
--d-sidebar-row-horizontal-padding: 0.66rem;
|
2023-05-24 11:00:20 -04:00
|
|
|
width: 360px;
|
2022-08-18 03:03:28 -04:00
|
|
|
|
2022-08-16 01:45:32 -04:00
|
|
|
.panel-body-content {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0; // prevent content blowing out width
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-section-wrapper {
|
|
|
|
.sidebar-section-header-button {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-section-link.active {
|
|
|
|
font-weight: normal;
|
2023-05-25 11:21:30 -04:00
|
|
|
background: var(--d-hover);
|
2022-08-16 01:45:32 -04:00
|
|
|
}
|
2022-08-23 21:33:15 -04:00
|
|
|
|
|
|
|
.sidebar-section-header-wrapper .select-kit .btn:hover {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2023-05-01 10:41:28 -04:00
|
|
|
|
|
|
|
&.sidebar-section {
|
|
|
|
padding-top: 0.5em;
|
|
|
|
.sidebar-section-header-wrapper {
|
2023-05-24 11:00:20 -04:00
|
|
|
margin: 0 0 0.5em;
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
.d-icon-globe {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2023-05-01 10:41:28 -04:00
|
|
|
}
|
|
|
|
ul {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
li {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-05-17 22:16:21 -04:00
|
|
|
|
|
|
|
.sidebar-section-message {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2023-05-01 10:41:28 -04:00
|
|
|
}
|
|
|
|
|
2022-08-23 21:33:15 -04:00
|
|
|
.sidebar-section-link-wrapper
|
|
|
|
.sidebar-section-link-hover:hover
|
|
|
|
.sidebar-section-hover-button {
|
|
|
|
background: transparent;
|
2022-08-16 01:45:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-footer-wrapper {
|
2022-08-23 21:33:15 -04:00
|
|
|
padding: 0;
|
2023-05-01 10:41:28 -04:00
|
|
|
margin-top: 1em;
|
2022-08-23 21:33:15 -04:00
|
|
|
.sidebar-footer-container {
|
|
|
|
padding: 0;
|
2023-05-01 10:41:28 -04:00
|
|
|
border: none;
|
|
|
|
background: var(--secondary);
|
2022-08-23 21:33:15 -04:00
|
|
|
&:before {
|
2023-05-01 10:41:28 -04:00
|
|
|
top: -1.5em;
|
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
transparent,
|
|
|
|
rgba(var(--secondary-rgb), 1)
|
|
|
|
);
|
2022-08-23 21:33:15 -04:00
|
|
|
}
|
|
|
|
}
|
2022-08-16 01:45:32 -04:00
|
|
|
}
|
|
|
|
}
|
2023-05-01 10:41:28 -04:00
|
|
|
|
|
|
|
.sidebar-hamburger-dropdown {
|
|
|
|
.discourse-no-touch & {
|
|
|
|
.sidebar-section-wrapper .sidebar-section-header-wrapper:hover,
|
|
|
|
.sidebar-section-wrapper .sidebar-section-header-wrapper:focus-within {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|