iep-ui
Version:
An enterprise-class UI design language and Vue-based implementation
40 lines (35 loc) • 993 B
text/less
@import '../themes/index';
.reset-component() {
box-sizing: border-box;
margin: 0;
padding: 0;
color: @text-color;
font-size: @font-size-base;
font-variant: @font-variant-base;
line-height: @line-height-base;
list-style: none;
font-feature-settings: @font-feature-settings-base;
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
width: 6px;
background-color: transparent;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
-webkit-box-shadow: none;
border-radius: 4px;
background-color: transparent;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
border-radius: 6px;
-webkit-box-shadow: none;
background-color: rgba(144, 147, 153, .3);
}
/*定义最上方和最下方的按钮*/
::-webkit-scrollbar-button {
display: none;
background-color: #252540;
border: 1px solid #252540;
}