feat: change the page vertical scrollbar styles

This change will make the vertical scrollbar styles to follow the dark
and light color scheme modes. Also, this change will make the vertical
scrollbar to look consistent in both, Chromium and Firefox.
This commit is contained in:
k 2021-06-14 17:11:04 -05:00
parent e90adc4773
commit bd0e6a08c7

View File

@ -1,6 +1,25 @@
html {
font-size: 62.5%;
overflow-y: scroll;
/* scrollbar styles for Firefox */
scrollbar-width: auto;
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
/**/
/* scrollbar styles for Chromium */
&::-webkit-scrollbar {
height: auto;
}
&::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-thumb);
}
&::-webkit-scrollbar-track {
background-color: var(--scrollbar-track);
}
/**/
}
* {