webkit-scrollbar styles added.

This commit is contained in:
mustafahlvc 2017-08-15 10:34:57 +03:00
parent 92c8417a9a
commit a9e5115558
2 changed files with 20 additions and 0 deletions

View File

@ -18,6 +18,7 @@
// Partials // Partials
@import "partials/reset"; @import "partials/reset";
@import "partials/normalize"; @import "partials/normalize";
@import "partials/scrollbars";
@import "partials/helpers"; @import "partials/helpers";
@import "partials/global"; @import "partials/global";
@import "partials/icons"; @import "partials/icons";

View File

@ -0,0 +1,19 @@
::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: rgba(0, 0, 0, 0);
opacity: 0;
border-radius: 100px;
&:hover {
background-color: #EEE;
opacity: 0.9;
}
}
::-webkit-scrollbar-thumb {
background-color: #AAA;
border-radius: 100px;
&:active {
background: #999;
}
}