mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
25 lines
465 B
SCSS
25 lines
465 B
SCSS
body {
|
|
.be-settings {
|
|
&::before {
|
|
content: "";
|
|
position: fixed;
|
|
width: var(--auto-hide-sidebar-width, 8px);
|
|
height: 100vh;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
> .sidebar {
|
|
transition: transform 0.2s ease-out;
|
|
}
|
|
&:not(:hover) > .sidebar {
|
|
transform: translateX(calc(-100% * var(--direction))) translateY(-50%);
|
|
}
|
|
}
|
|
|
|
&.settings-panel-dock-right .be-settings::before {
|
|
left: unset;
|
|
right: 0;
|
|
}
|
|
}
|