Files: 2b05be8ee023fdd9580d6a845ba074a425756685 / 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