Minimal scrollbar + README.md update (#34)

* Minimal scrollbar

* Removes (now) unnecessary note about scrollbar
This commit is contained in:
Marco Antônio Ribeiro de Toledo 2020-09-05 09:11:02 -03:00 committed by GitHub
parent a3a64ec44e
commit fd0ea26b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 11 deletions

View File

@ -111,11 +111,6 @@
3. Go to `System Settings > KWin Scripts > Enable Force Blur`.
4. Change its settings. If there's no settings/settings icon, Logout. Re-login.
### Where is the scrollbar?
1. You can adjust the value of `scrollbar-width` in `userContent.css`.
2. Restart Firefox.
### How can I set or change the colors for the Default color mode?
1. The default mode are from Firefox and it uses the system colors. Although I only tried and tested it with `GTK3`, it should work with any platforms or environment as long as Firefox can detect your system colors.

View File

@ -8,14 +8,16 @@
}
}
/* Hide scrollbar */
:root{
scrollbar-width: none !important;
/* Sets up minimal scrollbar */
:root {
scrollbar-width: thin !important;
scrollbar-color: rgb(161, 161, 161) transparent !important;
}
/* Hide incognito scrollbar */
/* Sets up minimal incognito scrollbar */
@-moz-document url(about:privatebrowsing) {
:root{
scrollbar-width: none !important;
scrollbar-width: thin !important;
scrollbar-color: rgb(161, 161, 161) transparent !important;
}
}