Supports CSS Scrollbars (#3783)

* Supports CSS Scrollbars

* fix
This commit is contained in:
MeiMei 2018-12-28 21:34:35 +09:00 committed by syuilo
parent eead9fad03
commit 65a82f32be
1 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,14 @@ html
background var(--bg) background var(--bg)
&, * &, *
scrollbar-color var(--scrollbarHandle) var(--scrollbarTrack)
&:hover
scrollbar-color var(--scrollbarHandleHover) var(--scrollbarTrack)
&:active
scrollbar-color var(--primary) var(--scrollbarTrack)
&::-webkit-scrollbar &::-webkit-scrollbar
width 6px width 6px
height 6px height 6px