Code for custom style of Nav bar and searchbox stopped working

So, I have this custom styling code I wrote for the browser, because I dont like the grey misty style od the active tab+vav bar+ searchbod etc. It chages the background haze into a semi- clear gradient to that the background style behind can show, but I'll still be able to read the words on the tebs etc.

Two years ago,Firefox had undergone changes that made the code stop working. I asked help in this thread:
https://forum.userstyles.org/discussion/61209/how-do-i-change-the-color-of-the-navigation-bar-and-active-tab-firefox?

And some kind people helped me make the necessary changes to make it work again.
Well, in the last few days I've noticed that the code stopped working again and I have the same problem as the old thread!

I'd be very thankful if you can help me again.

the code I use is this (in the userChrome.css file):
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#main-window[lwtheme="true"]:not([style*="defaultthemes"]) #nav-bar {
background-color: transparent !important;
background-image: linear-gradient(rgba(255,255,255,.4), transparent) !important;
}
#main-window[lwtheme="true"]:not([style*="defaultthemes"]) #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
background-color: transparent !important;
background-image: linear-gradient( transparent,rgba(255,255,255,.4)) !important;

Thank you!!
Sign In or Register to comment.