2020-05-29 14:05:21 +08:00
|
|
|
.user-menu .quick-access-panel.quick-access-profile li:not(.show-all) {
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2020-05-29 14:05:21 +08:00
|
|
|
|
2021-01-21 01:50:36 +08:00
|
|
|
a,
|
|
|
|
button {
|
2020-05-29 14:05:21 +08:00
|
|
|
// accounts for menu "ears" 4px + border 1px
|
|
|
|
padding: 0.75em calc(0.5em + 4px + 1px);
|
2021-06-08 01:22:28 +08:00
|
|
|
margin: 0.25em;
|
2022-02-16 09:13:11 +08:00
|
|
|
@media screen and (max-height: 500px) {
|
2021-02-19 07:47:37 +08:00
|
|
|
// reduce padding to avoid scroll
|
2022-02-16 09:13:11 +08:00
|
|
|
padding-top: 0.25em;
|
|
|
|
padding-bottom: 0.25em;
|
2021-02-19 07:47:37 +08:00
|
|
|
}
|
2020-05-29 14:05:21 +08:00
|
|
|
}
|
2020-03-24 01:25:33 +08:00
|
|
|
}
|
2020-11-18 04:42:03 +08:00
|
|
|
|
|
|
|
.panel-body-contents {
|
2020-12-10 21:11:58 +08:00
|
|
|
// 2em padding very useful for iOS Safari's overlayed bottom nav
|
2022-09-15 11:35:33 +08:00
|
|
|
// padding-bottom: calc(env(safe-area-inset-bottom) + 2em);
|
2022-07-19 10:35:02 +08:00
|
|
|
|
|
|
|
.user-menu.revamped & {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-11-18 04:42:03 +08:00
|
|
|
}
|
2022-08-18 15:03:28 +08:00
|
|
|
|
2022-10-07 05:53:06 +08:00
|
|
|
.tabs-list .btn {
|
2022-10-12 22:50:02 +08:00
|
|
|
.user-menu.revamped & {
|
2022-10-07 05:53:06 +08:00
|
|
|
padding: 1.2em 1.4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-18 15:03:28 +08:00
|
|
|
.hamburger-panel .revamped {
|
2022-09-15 11:35:33 +08:00
|
|
|
--d-sidebar-row-horizontal-padding: 1rem;
|
2022-08-18 15:03:28 +08:00
|
|
|
--d-sidebar-highlight-color: var(--primary-low);
|
2022-09-29 12:28:01 +08: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-15 11:35:33 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.panel-body-contents {
|
|
|
|
.sidebar-hamburger-dropdown {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-09-29 12:28:01 +08:00
|
|
|
padding-top: 0.5em;
|
2022-11-15 22:37:00 +08:00
|
|
|
flex: 1 1 auto;
|
2022-09-15 11:35:33 +08:00
|
|
|
}
|
|
|
|
}
|
2022-08-18 15:03:28 +08:00
|
|
|
|
|
|
|
.sidebar-row {
|
2022-09-29 12:28:01 +08:00
|
|
|
&.sidebar-section-message-wrapper {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-section-message {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-08-18 15:03:28 +08:00
|
|
|
}
|
2022-08-24 09:33:15 +08:00
|
|
|
|
2022-08-29 10:27:58 +08:00
|
|
|
.sidebar-section-wrapper {
|
2022-09-29 12:28:01 +08:00
|
|
|
margin-bottom: 1.2em;
|
2022-08-24 09:33:15 +08:00
|
|
|
}
|
2022-09-15 11:35:33 +08:00
|
|
|
|
|
|
|
.sidebar-footer-wrapper {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2022-09-21 07:03:40 +08: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-15 11:35:33 +08:00
|
|
|
.sidebar-sections {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
box-sizing: border-box;
|
2022-11-15 22:37:00 +08:00
|
|
|
flex: 1 1 auto;
|
2022-09-15 11:35:33 +08:00
|
|
|
}
|
2022-09-29 12:28:01 +08:00
|
|
|
|
|
|
|
.sidebar-section-content {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2022-08-18 15:03:28 +08:00
|
|
|
}
|