this post was submitted on 23 Sep 2024
4 points (100.0% liked)
Firefox Customs
4 readers
10 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
@[email protected] I'm gonna need your help again, sorry. I used your code to gradient border around selected tab and works fine but I see a little flash in certain situations that makes me nuts; this is the code:
When I click to select the tab, sometimes the tab is first colored with the border color and then it displays correctly, Here is a SS with the problem, there is a way to delay the colored after the tab is completely charged or some trick?
At first glance that sounds like for some reason the tab selection is super slow occasionally. The
selected
attribute on.tabbrowser-tab
happens very soon after you click the tab, but the other stuff happens and eventually the.tab-background
gets its selected styling. Sounds like that would sometime take several frames during which the background-color is not covered by normal selected-tab styling.You can try to replace
[selected]
there with[visuallyselected]
which gets added a bit later, but if there's some weird latency going on then that might still be too soon.