mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
30 lines
494 B
SCSS
30 lines
494 B
SCSS
@use './vars' as *;
|
|
|
|
// scrollbar
|
|
* {
|
|
scrollbar-color: var(--el-scrollbar-bg-color) var(--el-fill-color-light);
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: $scrollbar-size;
|
|
}
|
|
|
|
::-webkit-scrollbar:horizontal {
|
|
height: $scrollbar-size;
|
|
}
|
|
|
|
::-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);
|
|
}
|
|
}
|