1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-23 01:29:41 +01:00

custom scrollbar

This commit is contained in:
Matthias Kretschmann 2018-10-17 20:08:14 +02:00
parent 0f61672a3f
commit 8e0cdd1647
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -11,6 +11,28 @@
&::-moz-scrollbar {
display: none;
}
&::-webkit-scrollbar {
width: 6px;
height: 6px;
}
&::-webkit-scrollbar-thumb {
background: lighten($brand-grey-light, 25%);
:global(.dark) & {
background: lighten($body-background-color--dark, 15%);
}
}
// stylelint-disable-next-line no-descending-specificity
&::-webkit-scrollbar-track {
background: darken($body-background-color, 2%);
:global(.dark) & {
background: lighten($body-background-color--dark, 2%);
}
}
}
.item {