pinafore/scss/custom-scrollbars.scss
Nolan Lawson bb7fe6e30a
chore: make build process faster/simpler (#833)
This gets rid of the awkward checking-in of `template.html` to git (when
it's a built file) and also makes the rebuilds faster and more
consistent by running everything through the same pipeline. So inline
CSS, SVG, and JS are all partially built on-the-fly.

I've basically reinvented gulp, but it's pretty lightweight and
zero-dep, so I'm happy with it.
2018-12-17 17:21:29 -08:00

35 lines
991 B
SCSS

html {
// Firefox with scrollbar config changes as of 2018-11
scrollbar-face-color: var(--scrollbar-face-color);
scrollbar-track-color: var(--scrollbar-track-color);
// Firefox nightly as of 2018-11, new standard version
// https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color
scrollbar-color: var(--scrollbar-face-color) var(--scrollbar-track-color);
}
::-webkit-scrollbar {
width: var(--scrollbar-width);
height: var(--scrollbar-height);
}
::-webkit-scrollbar-thumb {
background: var(--scrollbar-face-color);
border-radius: var(--scrollbar-border-radius);
}
::-webkit-scrollbar-thumb:hover {
background: var(--scrollbar-face-color-hover);
}
::-webkit-scrollbar-thumb:active {
background: var(--scrollbar-face-color-active);
}
::-webkit-scrollbar-track, ::-webkit-scrollbar-track:hover, ::-webkit-scrollbar-track:active {
background: var(--scrollbar-track-color);
}
::-webkit-scrollbar-corner {
background: var(--scrollbar-background-color);
}