mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-13 07:56:14 +01:00
This commit is contained in:
parent
e8f1808cb0
commit
452b79c601
8 changed files with 121 additions and 51 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue