web: add custom scrollbar

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2023-01-04 11:53:01 +01:00
parent e887a315be
commit 119a268eb7
No known key found for this signature in database
1 changed files with 11 additions and 0 deletions

View File

@ -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;