-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Incorporate scrollbar styling * Restore link to examples styles
- Loading branch information
1 parent
e4f2fcb
commit 4e1cc36
Showing
3 changed files
with
32 additions
and
21 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,31 @@ | ||
/* Apply scrollbar styles globally */ | ||
* { | ||
/* Webkit-based browsers */ | ||
&::-webkit-scrollbar { | ||
width: 8px; | ||
height: 8px; | ||
} | ||
|
||
&::-webkit-scrollbar-track { | ||
background: $bcg-darkest; | ||
} | ||
|
||
&::-webkit-scrollbar-thumb { | ||
background: $text-darkest; | ||
} | ||
|
||
&::-webkit-scrollbar-thumb:hover { | ||
background: $text-active; | ||
} | ||
|
||
&::-webkit-scrollbar-corner { | ||
background: $bcg-dark; | ||
} | ||
|
||
/* Standardized Properties */ | ||
@supports not selector(::-webkit-scrollbar) { | ||
/* Firefox */ | ||
scrollbar-width: thin; | ||
scrollbar-color: $text-darkest $bcg-darkest; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
@import './variables'; | ||
@import './fonts'; | ||
@import './scrollbars'; | ||
@import './pcui-common'; | ||
@import './components'; |