Style scrollbars.

This commit is contained in:
Mike Cao 2023-03-31 21:31:58 -07:00
parent 14802afe8b
commit 17601c4dea
8 changed files with 56 additions and 15 deletions

View file

@ -63,3 +63,36 @@ svg {
width: 100%;
height: 100%;
}
::-webkit-scrollbar {
width: 16px;
height: 16px;
background: transparent;
}
::-webkit-scrollbar-track {
background: transparent;
border-right: 2px solid var(--base200);
}
::-webkit-scrollbar-track:hover {
border-right: 2px solid var(--base300);
}
::-webkit-scrollbar-thumb {
position: relative;
border-right: 2px solid var(--base600);
}
::-webkit-scrollbar-thumb:hover {
border-right: 8px solid var(--base700);
}
::-webkit-scrollbar-thumb:horizontal {
position: relative;
border-bottom: 2px solid var(--base600);
}
::-webkit-scrollbar-thumb:horizontal:hover {
border-bottom: 8px solid var(--base700);
}