Files: 1c469b769322d7836a6c25ce1cf7214b51b166dd / 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