From 0453fe04c8abe38f5d36400cfddf0a7b0246b4b2 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Wed, 18 Jul 2018 12:07:58 +0300 Subject: [PATCH] Change scrollbar color instead of hiding it --- theme.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/theme.css b/theme.css index f7e36dc..5dcf9f2 100644 --- a/theme.css +++ b/theme.css @@ -5,10 +5,6 @@ * License: MIT */ -::-webkit-scrollbar { - display: none; -} - /* Samsung Internet and Microsoft Edge (yes, both of them use -webkit- prefix) */ ::-webkit-input-placeholder { color: rgba(131, 148, 150, 0.9); @@ -18,7 +14,6 @@ --link-color: #268bd2; --background-dark-color: #051114; --background-light-color: #002b36; - --highlight-bg-color: #002b36; --highlight-border-color: #268bd2; } @@ -28,6 +23,15 @@ opacity: 1; /* fix opacity in Firefox */ } +::-webkit-scrollbar-thumb:vertical { + background: var(--background-light-color); +} + +html { + scrollbar-track-color: var(--background-dark-color); + scrollbar-face-color: var(--background-light-color); +} + #loading .logo, #windows .logo { display: none;