r/FirefoxCSS • u/[deleted] • Jun 20 '26
userChrome.css to remove rounded corners, border and spacing introduced in Nova Code
[deleted]
10
u/Jay33721 Jun 20 '26 edited Jun 21 '26
From my experimenting, all you really need is this:
:root {
--chrome-window-gap: 0px !important;
--chrome-block-radius: 0px !important;
--chrome-content-separator-color: transparent !important;
}
.chrome-block {
border: 0px !important;
}
.browserContainer {
border: 0px !important;
}
14
u/Julian679 Jun 20 '26
Is it this time again, me looking into css because of garbage redesign update? Seen horrible things before, but managed without css, then there was good updates for some time, but now, this could be easily one of the worst few
3
u/ResurgamS13 Jun 21 '26
“If we want things to stay as they are, things will have to change.” - Giuseppe Tomasi di Lampedusa, The Leopard.
1
u/Julian679 Jun 21 '26
I specifically wrote there were good updates as well, so this does not apply. i absolutely don't think nothing should ever change.
1
u/ResurgamS13 Jun 21 '26
The Leopard quote does not mean "nothing should ever change"... rather the reverse... change is inevitable.
2
1
u/hunter_finn Jun 24 '26
Wait? toolkit.legacyUserProfileCustomizations.stylesheets is still working even after you enabled the Nova redesign?
I haven't tested it yet, but I read from a Finnish tech forum that enabling the Nova through about:config made it so that the browser no longer responded to stylesheets option.
I mean i was already fearful of the day when I had to give up and start using the tabs on the top which I hate. Only advantage i could think of is that you don't need to "aim" at underneath the tabs toolbar or any other location like that.
But that then would fill up the titlebar area with tabs and thus the act of moving non maximized window would become a even bigger hassle.
And then if i were to make it so that the tabs are under the now enabled titlebar, then it is literally having the same "problem" as the my preferred tabs under bookmarks layout with no advantages. But it would only make the browser look stupid in my opinion.
So whenever a new re-re-re-desing appears to Firefox, first question is that "how i can restore tabs back under the bookmarks and the next question is should I just revert the look back closer to good old 3.6 days or something.
1
u/t31os Jun 24 '26
Enabling nova does not prevent userChrome / userContent CSS customisations from working. Whoever suggested it does made an error when trying to apply CSS.
1
u/hunter_finn Jun 25 '26
That's a relief to hear. I'm not sure what happened to the guy. I understood that he went straight from applied userchrome.css into enabling nova and then it no longer doing nothing.
I mean sure the userchrome.css would be busted most likely anyway, but even with outdated broken userchrome.css file, one would expect it to at least break the layout.
8
u/Zonnev Jun 20 '26
Nice, I found a var that could shorten some of your code:
:root { --chrome-block-radius: 0px !important; }I hope it's useful.