2022-07-22 13:06:47 +08:00
|
|
|
.sidebar-wrapper {
|
|
|
|
.sidebar-footer-wrapper {
|
|
|
|
.sidebar-footer-container {
|
|
|
|
margin-right: 0.15em;
|
2022-07-27 11:16:34 +08:00
|
|
|
margin-left: 1em;
|
2022-07-22 13:06:47 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-footer-wrapper {
|
|
|
|
border-top: 1.5px solid var(--primary-low);
|
|
|
|
padding: 0.5em 0 0.5em 0.33em;
|
|
|
|
|
|
|
|
.sidebar-footer-container {
|
|
|
|
display: flex;
|
2022-07-27 11:16:34 +08:00
|
|
|
align-items: stretch;
|
2022-07-22 13:06:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-footer-link {
|
2022-07-27 11:16:34 +08:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
height: 100%;
|
2022-07-22 13:06:47 +08:00
|
|
|
font-size: var(--font-down-1);
|
|
|
|
color: var(--primary-high);
|
2022-07-27 11:16:34 +08:00
|
|
|
padding: 0 0.5em;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: var(--d-sidebar-highlight-color);
|
2022-07-22 13:06:47 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-27 11:16:34 +08:00
|
|
|
.sidebar-footer-links-separator {
|
|
|
|
color: var(--primary-low-mid);
|
|
|
|
}
|
|
|
|
|
2022-07-22 13:06:47 +08:00
|
|
|
.sidebar-footer-actions {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-footer-actions-button.btn {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
padding: 0.25em 0.4em;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2022-07-27 11:16:34 +08:00
|
|
|
&:focus,
|
2022-07-22 13:06:47 +08:00
|
|
|
&:hover {
|
2022-07-27 11:16:34 +08:00
|
|
|
background: var(--d-sidebar-highlight-color);
|
2022-07-22 13:06:47 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-footer-wrapper {
|
|
|
|
background: var(--primary-very-low);
|
|
|
|
.desktop-view & {
|
|
|
|
position: sticky;
|
|
|
|
bottom: 0;
|
|
|
|
.sidebar-footer-container {
|
|
|
|
position: relative;
|
|
|
|
&:before {
|
|
|
|
// fade to make scroll more apparent
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
height: 1.5em;
|
|
|
|
top: calc(-2em - 1px);
|
|
|
|
left: -0.5em;
|
|
|
|
right: -0.5em;
|
|
|
|
pointer-events: none;
|
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
2022-07-26 03:03:02 +08:00
|
|
|
transparent,
|
|
|
|
rgba(var(--primary-very-low-rgb), 1)
|
2022-07-22 13:06:47 +08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger-menu.revamped {
|
|
|
|
.sidebar-footer-wrapper {
|
|
|
|
background: var(--secondary);
|
|
|
|
.sidebar-footer-container {
|
|
|
|
&:before {
|
|
|
|
// fade to make scroll more apparent
|
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
2022-07-26 03:03:02 +08:00
|
|
|
transparent,
|
|
|
|
rgba(var(--secondary-rgb), 1)
|
2022-07-22 13:06:47 +08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|