From f0bb31c2e2262955030ea34d9cb4b848e6219e55 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 8 Mar 2016 18:42:34 -0800 Subject: [PATCH] Add custom styles to scroll bar --- renderer/index.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/renderer/index.css b/renderer/index.css index 21899388..42c59663 100644 --- a/renderer/index.css +++ b/renderer/index.css @@ -26,6 +26,25 @@ body { line-height: 1.5em; } +::-webkit-scrollbar { + width: 10px; + background-color: rgb(40, 40, 40); +} + +::-webkit-scrollbar-corner { + background-color: rgb(40, 40, 40); +} + +::-webkit-scrollbar-thumb { + border: 1px solid rgb(40, 40, 40); + border-radius: 10px; + background: linear-gradient(to right, rgb(90, 90, 90), rgb(80, 80, 80)) +} + +::-webkit-scrollbar-track { + background-color: rgb(40, 40, 40); +} + .loading { display: flex; flex-direction: column;