搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

cannot figure out how to make scale and colorize scrollbars in firefox 98

  • 2 回覆
  • 1 有這個問題
  • 14 次檢視
  • 最近回覆由 stranglehold

more options

Using firefox in linux mint 19.3 mate. Until firefox 97, I could control the size and color of the firefox scrollbars with a system CSS. Since a firefox update to version 98, firefox ignores those settings. Nothing has changed in my firefox settings, my about:config, or system settings. But now the scrollbars are barely visible low contrast narrow bars that are unpleasant to work with, and I can't figure out how to change this. suggestions? tnx

Using firefox in linux mint 19.3 mate. Until firefox 97, I could control the size and color of the firefox scrollbars with a system CSS. Since a firefox update to version 98, firefox ignores those settings. Nothing has changed in my firefox settings, my about:config, or system settings. But now the scrollbars are barely visible low contrast narrow bars that are unpleasant to work with, and I can't figure out how to change this. suggestions? tnx

所有回覆 (2)

more options

You can use a preference in about:config to widen the scrollbars (css is very limited, see links below). My css to set the colours for the scrollbars still works, although not as well since FF89, the difference being that the colour of the thumb darkens when I hover over it and even more when I click on it. The code goes in userContent.css; choose your own colours, of course. I haven't shown any 'namespace' because it would probably have to be moderated as an external link. The preference is widget.non-native-theme.scrollbar.size.override (try 20). https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scrollbars https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-width https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color https://developer.mozilla.org/en-US/docs/Web/CSS/@namespace

  :root { scrollbar-color: #6495ED #D9D9D9 !important; }

由 Terry 於 修改

more options

Thanks for replying. I couldn't fix the problem with CSS, but I found the add-on "Custom Scrollbar", which does the trick, and as an added bonus prevents youtube from changing the scrollbars. It's still no excuse for the developers for disabling our control over scrollbars.