新增:固定 Sider/侧边栏 功能;

This commit is contained in:
iczer
2020-06-21 17:11:21 +08:00
parent 6ef4680adb
commit 9072bc93d7
6 changed files with 38 additions and 25 deletions

View File

@@ -2,3 +2,22 @@
overflow: hidden;
filter: invert(80%);
}
.beauty-scroll{
scrollbar-color: @primary-color @primary-2;
scrollbar-width: thin;
-ms-overflow-style:none;
position: relative;
&::-webkit-scrollbar{
width: 3px;
height: 1px;
}
&::-webkit-scrollbar-thumb {
border-radius: 3px;
background: @primary;
}
&::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
border-radius: 3px;
background: @primary-3;
}
}