Vanessa 2022-11-14 17:29:41 +08:00
parent e8f1808cb0
commit 452b79c601
8 changed files with 121 additions and 51 deletions

View file

@ -5,12 +5,53 @@
.protyle-scroll {
position: absolute;
right: -80px;
top: 50%;
transform: rotate(90deg);
right: 0;
height: 100%;
top: 0;
width: 24px;
svg {
height: 16px;
width: 16px;
}
.b3-slider {
width: 200px;
&__down,
&__up {
transition: var(--b3-transition);
position: absolute;
opacity: 0;
cursor: pointer;
color: var(--b3-border-color);
&:hover {
color: var(--b3-theme-on-surface);
}
}
&__up {
top: calc(50% - 114px);
}
&__down {
bottom: calc(50% - 135px);
}
&:hover {
.protyle-scroll__down,
.protyle-scroll__up {
opacity: 1;
}
}
&__bar {
position: absolute;
right: -89px;
top: 50%;
transform: rotate(90deg);
z-index: 1;
.b3-slider {
width: 200px;
}
}
}
@ -110,6 +151,7 @@
flex-shrink: 0;
box-sizing: border-box;
min-height: 30px;
z-index: 1;
&__space {
flex: 1;