From 119a268eb798497f2f29e696c6ad6533e34092f7 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 4 Jan 2023 11:53:01 +0100 Subject: [PATCH] web: add custom scrollbar Signed-off-by: Jens Langhammer --- web/src/common/styles/authentik.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web/src/common/styles/authentik.css b/web/src/common/styles/authentik.css index c829003e6..ca72f8430 100644 --- a/web/src/common/styles/authentik.css +++ b/web/src/common/styles/authentik.css @@ -17,6 +17,17 @@ --pf-c-background-image--BackgroundImage--lg: var(--ak-flow-background); } +::-webkit-scrollbar { + width: 5px; + background-color: transparent; +} +::-webkit-scrollbar-thumb { + background-color: var(--ak-accent); +} +::-webkit-scrollbar-track { + background-color: transparent; +} + html { --pf-c-nav__link--PaddingTop: 0.5rem; --pf-c-nav__link--PaddingRight: 0.5rem;