diff options
author | Sorin Davidoi <sorin.davidoi@protonmail.com> | 2018-09-09 02:08:49 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-09-09 02:08:49 +0200 |
commit | 8fefcb86eacb469530fc52c6d03b74fe83c3d01d (patch) | |
tree | 87ebdbed8740b050f138dc0bfc2f81c96ff47ce3 | |
parent | 6f3d934bc1c11e7c316e5956c59d4e37541c8737 (diff) |
feat(css): Styled scrollbars in Firefox Nightly (#8653)
You currently need to enable `layout.css.scrollbar-colors.enabled` in `about:config` in Firefox Nightly.
-rw-r--r-- | app/javascript/styles/mastodon/reset.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/reset.scss b/app/javascript/styles/mastodon/reset.scss index ff3b2c022..a140e8bc7 100644 --- a/app/javascript/styles/mastodon/reset.scss +++ b/app/javascript/styles/mastodon/reset.scss @@ -53,6 +53,11 @@ table { border-spacing: 0; } +html { + scrollbar-face-color: lighten($ui-base-color, 4%); + scrollbar-track-color: rgba($base-overlay-background, 0.1); +} + ::-webkit-scrollbar { width: 12px; height: 12px; |