Last active
July 28, 2021 04:55
-
-
Save Sporif/ba3c9a9bcec1114f9f6bbd24079be69f to your computer and use it in GitHub Desktop.
Dark scrollbar for Firefox 57. Tested on Windows 10. Requires https://gist.github.com/Sporif/db6b3440fba0b1bcf5477afacf93f875
This file contains hidden or 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
scrollbar, scrollbar *, scrollcorner { | |
-moz-appearance: none !important; | |
--scrollbar-width: 10px; | |
--scrollbar-height: var(--scrollbar-width); | |
} | |
scrollbar, scrollcorner { | |
background: #282828 !important; | |
} | |
scrollbar[orient="vertical"] { | |
width: var(--scrollbar-width) !important; | |
min-width: var(--scrollbar-width) !important; | |
} | |
scrollbar[orient="horizontal"] { | |
height: var(--scrollbar-height) !important; | |
min-height: var(--scrollbar-height) !important; | |
} | |
scrollbar thumb { | |
background: #646464 !important; | |
} | |
scrollbar thumb:hover, | |
scrollbar thumb:active { | |
background: #00ACED !important; | |
} | |
scrollbar:hover scrollbarbutton { | |
background-color: #444444 !important; | |
} | |
scrollbar scrollbarbutton:hover { | |
background: #646464 !important; | |
} | |
scrollbar scrollbarbutton:active { | |
background: #00ACED !important; | |
} |
@e-t-l can you explain what you have done exactly? I'm struggling with FF 68 yet. :(
EDIT: I had to add to include Sporif. But scrollbar arrows disappeared. :(
Okay it worked with sporif's userchrome.css code? I believe they have some info in the comments of that page regarding how to activate the scrollbar arrows. Personally I leave them deactivated so I don't know offhand.
@Sporif I noticed these scrollbars get larger when the webpage is zoomed in. Is there a way to disable this scaling?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@bunnyboothe What do you mean you did everything again? I'm on FF 68.0 and it's still not working for me. I just have default scrollbars right now. Please advise.
EDIT: I made this fix in the userChrome.css and it's all working now :)