Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(scrollbars): webkit scrollbar styling for desktop
- Loading branch information
1 parent
e6e2e42
commit c7f2268
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
// Scrollbars | ||
// -------------------------------------------------- | ||
// Styling for dekstop webkit browsers | ||
// These do not apply for mobile browsers | ||
|
||
::-webkit-scrollbar { | ||
width: 9px; | ||
} | ||
|
||
::-webkit-scrollbar-thumb:vertical, | ||
::-webkit-scrollbar-thumb:horizontal { | ||
background: rgba(0, 0, 0, 0.4); | ||
border: 2px solid transparent; | ||
border-radius: 20px; | ||
background-clip: padding-box; | ||
min-height: 10px; | ||
} | ||
|
||
::-webkit-scrollbar-thumb:vertical:active, | ||
::-webkit-scrollbar-thumb:horizontal:active { | ||
background: rgba(0, 0, 0, 0.6); | ||
border: 2px solid transparent; | ||
border-radius: 20px; | ||
background-clip: padding-box; | ||
min-height: 10px; | ||
} |