Lidarr/frontend/src/Styles/Mixins/scroller.css

27 lines
507 B
CSS
Raw Normal View History

2017-10-02 03:05:28 +00:00
@define-mixin scrollbar {
2017-09-04 02:20:56 +00:00
&::-webkit-scrollbar {
width: 10px;
height: 10px;
2017-09-04 02:20:56 +00:00
}
}
2017-10-02 03:05:28 +00:00
@define-mixin scrollbarTrack {
&::-webkit-scrollbar-track {
2017-09-04 02:20:56 +00:00
background-color: transparent;
}
}
2017-10-02 03:05:28 +00:00
@define-mixin scrollbarThumb {
2017-09-04 02:20:56 +00:00
&::-webkit-scrollbar-thumb {
min-height: 100px;
2017-09-04 02:20:56 +00:00
border: 1px solid transparent;
border-radius: 5px;
background-color: $scrollbarBackgroundColor;
background-clip: padding-box;
&:hover {
background-color: $scrollbarHoverBackgroundColor;
}
}
}