feat(aio): scroll bar styling

This commit is contained in:
Stefanie Fluin 2017-04-14 16:23:19 -07:00 committed by Pete Bacon Darwin
parent 8f9ba62dc3
commit 49dfc9fe2d
2 changed files with 27 additions and 1 deletions

View File

@ -20,3 +20,4 @@
@import 'api-list'; @import 'api-list';
@import 'hr'; @import 'hr';
@import 'live-example'; @import 'live-example';
@import 'scrollbar';

View File

@ -0,0 +1,25 @@
body::-webkit-scrollbar {
width: 6px;
}
body::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
body::-webkit-scrollbar-thumb {
background-color: $mediumgray;
outline: 1px solid $darkgray;
}
.search-results::-webkit-scrollbar {
width: 4px;
}
.search-results::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
.search-results::-webkit-scrollbar-thumb {
background-color: $mediumgray;
outline: 1px solid slategrey;
}