FluentReader/dist/styles/scroll.css
2020-07-16 15:01:40 +08:00

26 lines
566 B
CSS

::-webkit-scrollbar {
width: 16px;
}
::-webkit-scrollbar-thumb {
border: 2px solid transparent;
background-color: #0004;
background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
background-color: #0006;
}
::-webkit-scrollbar-thumb:active {
background-color: #0008;
}
@media (prefers-color-scheme: dark) {
::-webkit-scrollbar-thumb {
background-color: #fff4;
}
::-webkit-scrollbar-thumb:hover {
background-color: #fff6;
}
::-webkit-scrollbar-thumb:active {
background-color: #fff8;
}
}