cartodb-4.42/lib/assets/javascripts/new-dashboard/styles/components/_scrollbar.scss

23 lines
407 B
SCSS
Raw Normal View History

2024-04-06 13:25:13 +08:00
$scrollbar-thumb-color: #AAA;
$scrollbar-track-color: #EEE;
// Chrome / Safari / Opera / Edge
::-webkit-scrollbar {
width: 4px;
height: 8px;
}
::-webkit-scrollbar-track {
background-color: $scrollbar-track-color;
}
::-webkit-scrollbar-thumb {
background-color: $scrollbar-thumb-color;
}
// Firefox
* {
scrollbar-width: thin;
scrollbar-color: $scrollbar-thumb-color $scrollbar-track-color;
}