Added a scrollbar that adapts dynamically to situations...

Added a scrollbar that adapts dynamically to situations. This scrollbar adapts to darkmode and to using mobile devices.
This commit is contained in:
T.A.C.T.I.C.A.L 2020-04-22 14:23:56 +02:00 committed by GitHub
parent 42366174e5
commit 9f312e1c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,3 +41,14 @@ rt
.spacer
flex 1
@media (hover : hover) and (pointer : fine)
body
scrollbar-color text-color bg-color
::-webkit-scrollbar
width 8px
::-webkit-scrollbar-track
background var(--bg-color)
border-radius 20px
::-webkit-scrollbar-thumb
background var(--text-color)
border-radius 20px