Files: 5f97c9299ad9c3dffb16c07de00d5b45e15a80a7 / app / styles / mcss / scrollbar.mcss
345 bytesRaw
1 | /* reference: https://css-tricks.com/custom-scrollbars-in-webkit/ */ |
2 | |
3 | ::-webkit-scrollbar { |
4 | width: 8px |
5 | height: 8px |
6 | } |
7 | |
8 | ::-webkit-scrollbar-thumb { |
9 | background-color: var(--scrollbar-color) |
10 | |
11 | :hover { |
12 | background-color: var(--scrollbar-color-hover) |
13 | } |
14 | } |
15 | |
16 | ::-webkit-scrollbar-track { |
17 | background-color: rgba(0,0,0,0.1) |
18 | margin: .5rem |
19 | } |
20 |
Built with git-ssb-web