Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Port to Mozilla Firefox #4

Closed
jenabaivab opened this issue Feb 25, 2021 · 7 comments
Closed

[Request] Port to Mozilla Firefox #4

jenabaivab opened this issue Feb 25, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@jenabaivab
Copy link

Hello,

Is there any chance you would consider porting this extension to Firefox please ?
There is nothing this simple in the mozilla addon store.

@luandersonn
Copy link
Owner

luandersonn commented Feb 27, 2021

Hello, @jenabaivab!

Unfortunately, Firefox's scrollbar is not fully customizable like Chromium's scrollbar. I tried to make a port last week. The only way to fully customize it is to use Javascript. Using only CSS, I can change only the width (default and thin) and color:

Default (Firefox already has a built-in dark scrollbar)

02-26-21 - 23h-05m-22s

Modern

02-26-21 - 23h-05m-29s

@luandersonn luandersonn added the enhancement New feature or request label Feb 27, 2021
@jenabaivab
Copy link
Author

There is another extension called Custom scrollbars, maybe that repo can serve as a guide.
Also, could you please share the code for the above modern scrollbar? Wish we could make them rounded around the edge as well.

@luandersonn
Copy link
Owner

@jenabaivab Add this on css/scrollbar.css file

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(127, 127, 127, 0.6) transparent;
}`

@jenabaivab
Copy link
Author

@luandersonn I am actually using a material skin for firefox right now. You can find the chrome folder I have in my root profile directory uploaded here. What changes do I have to make in this please?

chrome.zip

@luandersonn
Copy link
Owner

Sorry, I didn't understand

@jenabaivab
Copy link
Author

Apologies, I have managed to get material scrollbar thanks to your code above. Thank you for that that. You can close this issue if you want.

@luandersonn
Copy link
Owner

Great news.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants