Apparently, the preference names for the currently selected / focused, highlighted search match have changed. I can't find any CSS code on the web to modify this behavio… (read more)
Apparently, the preference names for the currently selected / focused, highlighted search match have changed. I can't find any CSS code on the web to modify this behavior. Though I made a note years ago about switching from using prefs for it in about:config, to using a CSS style.
The "unfocused" highlighted search matches do allow me to change both FG & (BG=bright pink) colors - to a point.
I think I had to create these prefs, or some of them.
The UNfocused search matches color prefs are:
They allow me to use black (vs. default white) for the text color on the fuchsia BG.
The pref names for focused search match apparently changed, based on an old profile.
ui.textSelectForegroundAttention #FFFFFF (I can change the white FG to anything, but it always defaults to white.
The green BG w/ white FG / text, is really hard for me to read.
Fx won't allow me to change the FG color on the currently focused / selected search match. No matter if I select a BG color that black - or many non-white Foreground colors have a much higher contrast values than the default green BG w/ white FG.
Even if the colors I try have a much higher contrast value than the green / white. http://snook.ca/technical/colour_contrast/colour.html#fg=B6C9D0,bg=0004FF
EXCEPT, for the focused / selected match, if I enter white or very light BG, the super smart code still uses white text, making it invisible.
But it won't let me use green / black, or yell BG with Red or Blk FG.
I think this problem is because of some algorithm Mozilla uses to calculate contrast values, that obviously doesn't work very well.
Anyone know of a way around this issue, or CSS code that might override Mozilla's contrast algorithm?