搜尋 Mozilla 技術支援網站

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

了解更多

change findbar text background color.

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

more options

I don't like the dark red background used by FF when text is not found with the find bar (it is hard to see with the forced dark theme). I would like to change the color for a lighter red, or maybe just have the cyan border turning red. and also change the default cyan border for another color.

But i don't know the css code for this.

I don't like the dark red background used by FF when text is not found with the find bar (it is hard to see with the forced dark theme). I would like to change the color for a lighter red, or maybe just have the cyan border turning red. and also change the default cyan border for another color. But i don't know the css code for this.

所有回覆 (4)

more options

i would also like to change the background pages default color (it is currently dark, and i don't like the black flickering each time i want to refresh or change webpage with light theme like google or 90% of every websites on internet.

由 thor94 於 修改

more options

As to your first question, you could ask on the Reddit FirefoxCSS sub if you don't get an answer here. For the second, there is a preference in about:config layout.css.prefers-color-scheme.content-override Dark (0), light (1), system (2) or browser (3) If that doesn't work, you may have to change your theme.

more options

I don't want change the theme, it is the reason why i would also like the chromecss code to only change the page current default color (which is dark) to white.

And it is stupid to link the color mode to the theme text color, because white text is also used for almost all pastel color themes which are light.

more options

I take it the preference doesn't help. You could try this in userChrome.css. https://support.mozilla.org/en-US/questions/1364054#answer-1473397

:host, :root {
color-scheme: light light !important;
}