feat(aio): scroll bar styling
This commit is contained in:
parent
8f9ba62dc3
commit
49dfc9fe2d
|
@ -20,3 +20,4 @@
|
|||
@import 'api-list';
|
||||
@import 'hr';
|
||||
@import 'live-example';
|
||||
@import 'scrollbar';
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue