2018-12-11 12:15:20 -05:00
|
|
|
.hamburger-panel .menu-panel.slide-in {
|
|
|
|
left: 0;
|
2022-09-14 23:35:33 -04:00
|
|
|
|
2020-08-15 20:31:22 -04:00
|
|
|
.panel-body {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.panel-body-contents {
|
|
|
|
max-height: unset;
|
|
|
|
}
|
2018-12-11 12:15:20 -05:00
|
|
|
}
|
|
|
|
.header-cloak {
|
2021-06-07 15:31:16 -04:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2018-12-11 12:15:20 -05:00
|
|
|
position: fixed;
|
|
|
|
background-color: black;
|
2021-06-07 15:31:16 -04:00
|
|
|
--opacity: 0.5;
|
|
|
|
opacity: var(--opacity);
|
2018-12-11 12:15:20 -05:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
display: none;
|
|
|
|
touch-action: pan-y pinch-zoom;
|
2020-06-01 09:39:38 -04:00
|
|
|
|
2021-06-07 15:31:16 -04:00
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
|
|
&.animate {
|
|
|
|
transition: opacity 0.1s linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-panel.slide-in {
|
2021-06-09 10:26:52 -04:00
|
|
|
transform: translateX(var(--offset));
|
2021-06-07 15:31:16 -04:00
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
|
|
&.animate {
|
|
|
|
transition: transform 0.1s linear;
|
|
|
|
}
|
2018-12-11 12:15:20 -05:00
|
|
|
}
|
2021-06-09 10:26:52 -04:00
|
|
|
&.moving,
|
|
|
|
&.animate {
|
|
|
|
// PERF: only render first 20 items in a list to allow for smooth
|
|
|
|
// pan events
|
|
|
|
li:nth-child(n + 20) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-12-11 12:15:20 -05:00
|
|
|
}
|
2020-03-23 13:25:33 -04:00
|
|
|
|
2020-05-29 02:05:21 -04:00
|
|
|
.user-menu .quick-access-panel.quick-access-profile li:not(.show-all) {
|
2020-08-03 22:57:10 -04:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2020-05-29 02:05:21 -04:00
|
|
|
|
2021-01-20 12:50:36 -05:00
|
|
|
a,
|
|
|
|
button {
|
2020-05-29 02:05:21 -04:00
|
|
|
// accounts for menu "ears" 4px + border 1px
|
|
|
|
padding: 0.75em calc(0.5em + 4px + 1px);
|
2021-06-07 13:22:28 -04:00
|
|
|
margin: 0.25em;
|
2022-02-15 20:13:11 -05:00
|
|
|
@media screen and (max-height: 500px) {
|
2021-02-18 18:47:37 -05:00
|
|
|
// reduce padding to avoid scroll
|
2022-02-15 20:13:11 -05:00
|
|
|
padding-top: 0.25em;
|
|
|
|
padding-bottom: 0.25em;
|
2021-02-18 18:47:37 -05:00
|
|
|
}
|
2020-05-29 02:05:21 -04:00
|
|
|
}
|
2020-03-23 13:25:33 -04:00
|
|
|
}
|
2020-11-17 15:42:03 -05:00
|
|
|
|
|
|
|
.panel-body-contents {
|
2020-12-10 08:11:58 -05:00
|
|
|
// 2em padding very useful for iOS Safari's overlayed bottom nav
|
2022-09-14 23:35:33 -04:00
|
|
|
// padding-bottom: calc(env(safe-area-inset-bottom) + 2em);
|
2022-07-18 22:35:02 -04:00
|
|
|
|
|
|
|
.user-menu.revamped & {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-11-17 15:42:03 -05:00
|
|
|
}
|
2022-08-18 03:03:28 -04:00
|
|
|
|
2022-10-06 17:53:06 -04:00
|
|
|
.tabs-list .btn {
|
2022-10-12 10:50:02 -04:00
|
|
|
.user-menu.revamped & {
|
2022-10-06 17:53:06 -04:00
|
|
|
padding: 1.2em 1.4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-18 03:03:28 -04:00
|
|
|
.hamburger-panel .revamped {
|
2022-09-14 23:35:33 -04:00
|
|
|
--d-sidebar-row-horizontal-padding: 1rem;
|
2022-08-18 03:03:28 -04:00
|
|
|
--d-sidebar-highlight-color: var(--primary-low);
|
2022-09-29 00:28:01 -04:00
|
|
|
--d-sidebar-row-font-size: var(--font-0);
|
|
|
|
--d-sidebar-row-height: 32px;
|
|
|
|
--d-sidebar-section-header-text-font-size: var(--font-0);
|
2022-09-14 23:35:33 -04:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.panel-body-contents {
|
|
|
|
.sidebar-hamburger-dropdown {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-09-29 00:28:01 -04:00
|
|
|
padding-top: 0.5em;
|
2022-09-14 23:35:33 -04:00
|
|
|
}
|
|
|
|
}
|
2022-08-18 03:03:28 -04:00
|
|
|
|
|
|
|
.sidebar-row {
|
2022-09-29 00:28:01 -04:00
|
|
|
&.sidebar-section-message-wrapper {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-section-message {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-08-18 03:03:28 -04:00
|
|
|
}
|
2022-08-23 21:33:15 -04:00
|
|
|
|
2022-08-28 22:27:58 -04:00
|
|
|
.sidebar-section-wrapper {
|
2022-09-29 00:28:01 -04:00
|
|
|
margin-bottom: 1.2em;
|
2022-08-23 21:33:15 -04:00
|
|
|
}
|
2022-09-14 23:35:33 -04:00
|
|
|
|
|
|
|
.sidebar-footer-wrapper {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2022-09-20 19:03:40 -04:00
|
|
|
.sidebar-footer-container {
|
|
|
|
&:before {
|
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
rgba(var(--primary-very-low-rgb), 0),
|
|
|
|
rgba(var(--primary-very-low-rgb), 1)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-14 23:35:33 -04:00
|
|
|
.sidebar-sections {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2022-09-29 00:28:01 -04:00
|
|
|
|
|
|
|
.sidebar-section-content {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2022-08-18 03:03:28 -04:00
|
|
|
}
|