Add custom scroll bar styles
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Shahan Nedadahandeh 2022-12-27 03:46:36 -05:00
parent 519f925155
commit 96bdea5557
2 changed files with 17 additions and 3 deletions

View File

@ -33,8 +33,7 @@
.sideBarShown {
composes: sideBarCommon;
/* -1% to hide slight line tip showing in some browsers */
transform: translateX(-1%);
transform: translateX(0);
}
.sideBarHidden {

View File

@ -2,7 +2,8 @@ html {
scroll-behavior: smooth;
}
html, body {
html,
body {
overflow-x: hidden;
}
@ -150,4 +151,18 @@ a:hover {
--card-background: var(--dark--card-background);
--label: var(--dark--label);
}
}
body::-webkit-scrollbar {
width: 1em;
}
body::-webkit-scrollbar-track {
/* box-shadow: inset 0 0 6px var(--primary-background); */
background: var(--card-background);
}
body::-webkit-scrollbar-thumb {
background-color: var(--tertiary-background);
/* outline: 1px solid var(--primary-accent); */
}