滚动条样式重置
.el-aside.sidebar-container{
&::-webkit-scrollbar-track-piece {
// background: #d3dce6;
background: transparent;
}
&::-webkit-scrollbar {
width: 8px;
}
&::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 20px;
}
}
.el-aside.sidebar-container:hover{
&::-webkit-scrollbar-track-piece {
// background: #d3dce6;
// background: #aeb5bd;
}
&::-webkit-scrollbar {
width: 8px;
}
&::-webkit-scrollbar-thumb {
background: #59626d;
border-radius: 20px;
}
}