From 8523c418c215540038dd5f0dea533704249da25e Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Mon, 10 Oct 2022 13:33:37 +0200 Subject: [PATCH] change(ui) - scrollbar visibility --- frontend/app/styles/reset.css | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/frontend/app/styles/reset.css b/frontend/app/styles/reset.css index 00c96826b..c551e31dc 100644 --- a/frontend/app/styles/reset.css +++ b/frontend/app/styles/reset.css @@ -30,9 +30,30 @@ input:focus { border: solid thin $teal !important; } -body ::-webkit-scrollbar { +/* body ::-webkit-scrollbar { width: 2px; height: 2px; +} */ + +* { + &::-webkit-scrollbar { + width: 2px; + } + + &::-webkit-scrollbar-thumb { + background: transparent; + } + &::-webkit-scrollbar-track { + background: transparent; + } + &:hover { + &::-webkit-scrollbar-track { + background: #f3f3f3; + } + &::-webkit-scrollbar-thumb { + background: $gray-medium; + } + } } h1, h2, h3, h4, h5 {