Merge pull request #102 from feross/scrollbar
Add custom styles to scroll bar
This commit is contained in:
@@ -26,6 +26,25 @@ body {
|
|||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 10px;
|
||||||
|
background-color: rgb(40, 40, 40);
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-corner {
|
||||||
|
background-color: rgb(40, 40, 40);
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
border: 1px solid rgb(40, 40, 40);
|
||||||
|
border-radius: 10px;
|
||||||
|
background: linear-gradient(to right, rgb(90, 90, 90), rgb(80, 80, 80))
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background-color: rgb(40, 40, 40);
|
||||||
|
}
|
||||||
|
|
||||||
.loading {
|
.loading {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user