mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-23 01:29:41 +01:00
custom scrollbar
This commit is contained in:
parent
0f61672a3f
commit
8e0cdd1647
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user