From 65a82f32bec14dc05c201150b8b1c071d3918697 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 28 Dec 2018 21:34:35 +0900 Subject: [PATCH] Supports CSS Scrollbars (#3783) * Supports CSS Scrollbars * fix --- src/client/app/desktop/style.styl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/client/app/desktop/style.styl b/src/client/app/desktop/style.styl index 96481a9808..6ef9e329c1 100644 --- a/src/client/app/desktop/style.styl +++ b/src/client/app/desktop/style.styl @@ -12,6 +12,14 @@ html 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 width 6px height 6px