2022-07-22 13:06:47 +08:00
|
|
|
.sidebar-footer-wrapper {
|
2022-08-24 09:33:15 +08:00
|
|
|
box-sizing: border-box;
|
2023-06-07 02:46:08 +08:00
|
|
|
background: var(--d-sidebar-background);
|
2022-08-24 09:33:15 +08:00
|
|
|
width: 100%;
|
|
|
|
position: sticky;
|
|
|
|
bottom: 0;
|
2022-07-22 13:06:47 +08:00
|
|
|
|
|
|
|
.sidebar-footer-container {
|
|
|
|
display: flex;
|
2022-07-27 11:16:34 +08:00
|
|
|
align-items: stretch;
|
2022-08-24 09:33:15 +08:00
|
|
|
position: relative;
|
|
|
|
padding: 0.5em 0.8em;
|
2023-03-21 09:46:13 +08:00
|
|
|
padding-bottom: max(env(safe-area-inset-bottom), 0.5em);
|
2022-08-24 09:33:15 +08:00
|
|
|
&:before {
|
|
|
|
// fade to make scroll more apparent
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
height: 1.5em;
|
2023-06-06 21:24:56 +08:00
|
|
|
top: -1.5em;
|
2022-08-24 09:33:15 +08:00
|
|
|
left: -0.5em;
|
|
|
|
right: -0.5em;
|
|
|
|
width: calc(100% + 0.5em);
|
|
|
|
pointer-events: none;
|
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
2023-06-06 21:24:56 +08:00
|
|
|
rgba(var(--secondary-rgb), 0),
|
|
|
|
rgba(var(--secondary-rgb), 1)
|
2022-08-24 09:33:15 +08:00
|
|
|
);
|
|
|
|
}
|
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);
|
2023-06-06 21:24:56 +08:00
|
|
|
color: var(--d-sidebar-link-color);
|
2022-07-27 11:16:34 +08:00
|
|
|
padding: 0 0.5em;
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2023-06-06 21:24:56 +08:00
|
|
|
background: var(--d-sidebar-highlight-background);
|
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);
|
2023-06-06 21:24:56 +08:00
|
|
|
color: var(--d-sidebar-link-icon-color);
|
2022-07-22 13:06:47 +08:00
|
|
|
}
|
2022-07-27 11:16:34 +08:00
|
|
|
&:focus,
|
2022-07-22 13:06:47 +08:00
|
|
|
&:hover {
|
2023-06-06 21:24:56 +08:00
|
|
|
background: var(--d-sidebar-highlight-background);
|
2022-07-22 13:06:47 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|