Why is Firefox "about:preferences" not affected by CSS while "about:addons" is?
I modify "about:addons" in the same Stylish sheet where I modify other Firefox elements, I just modify, say, ".main-content" and everything is fine. But .main-content of "about:preferences" is not affected. I then go to another Stylish sheet, where I modify web pages, and put
@-moz-document url(about:preferences)
{
.main-content{...}
}
and still nothing happens. I tried to use "about:preferences#general" too, but no way. What do I do wrong?
@-moz-document url(about:preferences)
{
.main-content{...}
}
and still nothing happens. I tried to use "about:preferences#general" too, but no way. What do I do wrong?
Comments
CTR affects the page. You will need the secret code word added.
I also have a similar problem with Back, Forward and Download buttons: whatever way I try to modify them, they are not affected (CTR again?) except by opacity. I want to do two things with them: 1) get rid of the 3D glossy look they get when hovered over and 2) make the arrow images white. Can you help me with that?
I apologize, as I probably can't be much help with image icons. CTR does target the buttons, but mine are white because of the theme I use, and don't have a 3D glossy look. Not sure what that is tbh, it sounds like a Classic Toolbar Buttons extension look. You may have some luck playing with the following code, but hopefully other members will have a better answer.
#navigator-toolbox::after
{ border: none !important; }
In your case, check the theme file for that border/box-shadow.
#nav-bar{
background:transparent!important;
}
(otherwise, this line will be impossible to discern) and your code.
And it's still there. Default theme, with Firefox taking on Windows theme (blue color). That's how it looks now.
Good Luck!
Makondo might have had the answer above. Try this out:
Also, just realized CTR has an option to reverse icon colors.

#main-window #nav-bar {
background: none !important;
border: none !important;
box-shadow: none !important;
}
As to icons, I now see I need to replace the images in order to change the color (I earlier thought that changing something like the buttons' background-color could do it).
https://www.w3schools.com/CSSref/css3_pr_filter.asp
https://developer.mozilla.org/en-US/docs/Web/CSS/filter
https://css-tricks.com/almanac/properties/f/filter/
https://forum.userstyles.org/discussion/29057/helpful-styling-links/p1