this post was submitted on 21 Feb 2024
6 points (100.0% liked)
Firefox Customs
3 readers
9 users here now
Post your unsupported Firefox customizations here!
From the makers of r/FirefoxCSS
Links
Related
Rules
- Posts must have flair!
- Posts cannot be memes/shitposts. They should be about Firefox customization with CSS.
- Please be civil. Bear in mind that many users come here for help and would be turned off by insults and rudeness.
- When posting large amount of code use a service dedicated to hosting text snippets, such as pastebin, hastebin, github gist or equivalent. Relatively short snippets can be wrapped in code-block for inline viewing.
- Do NOT use url-shorteners or link to compressed downloads (such as zip or rar) when sharing code.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Interesting. I wonder what the difference would be - I've tried that style on Win10 with Firefox 123 with new profile and I can't reproduce this issue, not on 100% scaling or with 250% like in your example.
If it's the box-shadow causing the issue, in my testing it will only be visible in (most?) 3rd party themes, I couldn't see it in the official Fx and system(Mac) themes either.
On the other hand, that shadow should then go all across the bar, not just show under the selected tab. Unless the chosen theme or his custom css moved things around a bit.
@hansman: Thanks for replies and CSS suggestions... will try those later today. :)
As in my reply to MrOtherGuy... none of my own CSS in use or even present in the two clean profiles used to create the 2 images... both new 'out-of-the-box profiles' of Firefox 123.0 and LibreWolf 122.0.1-2... with just MrOtherGuy's 'non_floating_sharp_tabs.css' style and NH0jNG's Gradient Blue theme (which I've used for years) added... nothing else.
Which to my logic, if not a code change in Fx123.0... that leaves the only possibility being some conflict, since Fx123.0 was released, with some aspect of the settings within the Gradient Blue theme?
Well, have you tried the code?
It might interfere with the css style, which is creating its own navbar shadow, but that might be (partially?) overriden by current Fx versions anyways. The issue has been discussed in a couple of other forums, seems like the code for that shadow has changed recently.
Again, maybe give this a shot, which has worked for some other users; to be safe put it at the bottom of your userChrome.css, shouldn't matter though:
@hansman: Yes... just tested your code posted above ( #nav-bar:-moz-lwtheme { box-shadow: none !important; } ). It works! Hurrahs and BZ! (Bravo Zulu). :D
So the reappeared underline is caused by some Tab Bar coding change in Fx123.0 Re: Active Tab shadow.
Code successfully removes the new 'Active Tab underline effect' in both my own custom CSS profile... AND with the example used in this thread... i.e. a clean profile with just MrOtherGuy's 'non_floating_sharp_tabs.css' style and NH0jNG's Gradient Blue toolbar theme added... see new image of that combination in a Fx123.0 test profile attached below... properly 'connected tabs' re-established. :)
PS. Would be interested to find and read comments where this problem mentioned elsewhere Re: your comment "The issue has been discussed in a couple of other forums, seems like the code for that shadow has changed recently."
Image. Fx123.0 test profile (non_floating_sharp_tabs.css + Gradient Blue toolbar theme) with hansman's fix:
Glad it's working!
As for discussions on it, I've linked to a couple in my first reply, and there's one in a German forum.
Credit for the solution goes to this poster; the related Fx code might be this one.