Add Scrollbar styling

This commit is contained in:
Stamm
2020-03-12 11:45:54 +01:00
parent 5ff7d42355
commit 4de6315dda
6 changed files with 68 additions and 35 deletions

20
src/theme/_scroll.scss Normal file
View File

@ -0,0 +1,20 @@
::-webkit-scrollbar {
margin-left: 4px;
}
::-webkit-scrollbar-track {
background: red;
background: darken-brighten-color($background, 5%);
}
::-webkit-scrollbar-thumb {
background: darken-brighten-color($background, 20%);
}
::-webkit-scrollbar-thumb:hover {
background: darken-brighten-color($background, 25%);
}
::-webkit-scrollbar-thumb:active {
background: darken-brighten-color($background, 30%);
}