From c67dfbc67bc70efd742e7b8f58d99cc0bbf75bd3 Mon Sep 17 00:00:00 2001 From: Aneimytis <5927301+cyrildtm@users.noreply.github.com> Date: Sun, 8 May 2022 00:25:57 -0500 Subject: [PATCH] Make popup scroll bar consistent with website use black/red color scheme and half-rounded shape --- Extensions/combined/popup.css | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/Extensions/combined/popup.css b/Extensions/combined/popup.css index 721b73d..eaf82e3 100644 --- a/Extensions/combined/popup.css +++ b/Extensions/combined/popup.css @@ -148,23 +148,29 @@ button:hover { } ::-webkit-scrollbar { - width: 10px; + width: 1rem; } ::-webkit-scrollbar-track { - background: var(--background); -} - -/* Handle */ -::-webkit-scrollbar-thumb { - background: var(--tertiary); - border-radius: 10px; + background: #111; /* color of the tracking area */ } -/* Handle on hover */ -::-webkit-scrollbar-thumb:hover { - background: var(--lightGrey); +::-webkit-scrollbar-thumb { + background-color: #333; /* color of the scroll thumb */ + border-radius: 1rem 0 0 1rem; /* roundness of the scroll thumb */ + border-bottom: 0.25rem solid #111; /* creates padding around scroll thumb */ + border-left: 0.25rem solid #111; /* creates padding around scroll thumb */ + border-top: 0.25rem solid #111; /* creates padding around scroll thumb */ } + +::-webkit-scrollbar-thumb:hover { + background-color: #f22; /* color of the scroll thumb */ + border-radius: 1rem 0 0 1rem; /* roundness of the scroll thumb */ + border-bottom: 0.25rem solid #111; /* creates padding around scroll thumb */ + border-left: 0.25rem solid #111; /* creates padding around scroll thumb */ + border-top: 0.25rem solid #111; /* creates padding around scroll thumb */ +} + #advancedLegend { color: var(--tertiary) !important; /* margin: auto; */ /* Center the label */