This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
Oldphaloskepsis/plugins/jetpack/scss/_utilities/mixins/_custom-scrollbar.scss

17 lines
532 B
SCSS
Raw Permalink Normal View History

2017-01-12 23:10:07 +00:00
// ==========================================================================
// Custom scrollbars
// ==========================================================================
@mixin custom-scrollbar($width: .8em, $track: rgba(217, 217, 217, .5), $thumb: rgba(184, 184, 184, .5)){
::-webkit-scrollbar {
width: $width;
}
::-webkit-scrollbar-track {
background-color: $track;
}
::-webkit-scrollbar-thumb {
background: $thumb;
box-shadow: inset .05em .05em 0 rgba(0, 0, 0, .1), inset 0 -.05em 0 rgba(0, 0, 0, .07);
}
}