Add Scrollbar styling
This commit is contained in:
20
src/theme/_scroll.scss
Normal file
20
src/theme/_scroll.scss
Normal 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%);
|
||||
}
|
Reference in New Issue
Block a user