mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
06f6844509
* refactor(theme-chalk): rewrite palette & remove -base suffix * refactor(theme-chalk): container as default bg-color * refactor(theme-chalk): add fill-color-blank * fix(docs): fill-color-light for code-bg
26 lines
447 B
SCSS
26 lines
447 B
SCSS
// scrollbar
|
|
* {
|
|
scrollbar-color: var(--el-scrollbar-bg-color) var(--el-fill-color-light);
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
::-webkit-scrollbar:horizontal {
|
|
height: 6px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
border-radius: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
border-radius: 10px;
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
&:hover {
|
|
cursor: pointer;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
}
|
|
}
|