From a0d45300b630695dd62d0649d9e47e1432a0aa06 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 29 May 2018 02:36:57 +0900 Subject: [PATCH] :art: --- src/client/app/desktop/style.styl | 53 ++++++++++--------------------- 1 file changed, 16 insertions(+), 37 deletions(-) diff --git a/src/client/app/desktop/style.styl b/src/client/app/desktop/style.styl index ea48fbee3..f2a60955f 100644 --- a/src/client/app/desktop/style.styl +++ b/src/client/app/desktop/style.styl @@ -6,44 +6,27 @@ *::input-placeholder color #D8CBC5 -* - &:focus - outline none - - &::scrollbar - width 5px - background transparent - - &:horizontal - height 5px - - &::scrollbar-button - width 0 - height 0 - background rgba(0, 0, 0, 0.2) - - &::scrollbar-piece - background transparent - - &:start - background transparent - - &::scrollbar-thumb - background rgba(0, 0, 0, 0.2) - - &:hover - background rgba(0, 0, 0, 0.4) - - &:active - background $theme-color - - &::scrollbar-corner - background rgba(0, 0, 0, 0.2) +*:focus + outline none html height 100% background #f7f7f7 + &, * + &::-webkit-scrollbar + width 6px + height 6px + + &::-webkit-scrollbar-thumb + background rgba(0, 0, 0, 0.2) + + &:hover + background rgba(0, 0, 0, 0.4) + + &:active + background $theme-color + &[data-darkmode] background #191B22 @@ -51,10 +34,6 @@ html &::-webkit-scrollbar-track background-color #282C37 - &::-webkit-scrollbar - width 6px - height 6px - &::-webkit-scrollbar-thumb background-color #454954