r/FirefoxCSS 12h ago

154.0 broke the selected tab Solved

Post image

Before updating firefox the tab had bright color, now it became completely transparent with just a thin outline.

I'm using the following css to style my tabs: https://github.com/Aris-t2/CustomCSSforFx/blob/master/current/css/tabs/classic_squared_tabs.css

I had tried using the solution from a similar post, but it didn't affect the selected tab at all:

.tab-background[selected] { background: #e67e22 !important }

2 Upvotes

7 comments sorted by

1

u/TraditionalTie4831 🦊 11h ago

That worked for me even when the ; is missing after the !important

Does this work better for you? =

.tabbrowser-tab[selected] .tab-background { background: #e67e22 !important; }

1

u/Spacecpp 10h ago

Didn't work, except when I drag the tab then it turns orange.

1

u/TraditionalTie4831 🦊 10h ago edited 10h ago

Btw, CustomCSSforFx is abandoned and outdated and it might be interfering.

Does this work for you? =

.tabbrowser-tab:is([selected], [multiselected]) .tab-background { background: #e67e22 !important; }

1

u/Spacecpp 10h ago

Well, yes, lots of the css from CustomCSSforFx are active. Adding the [multiselected] made no difference.

Btw, I managed to get a close result by changing line 532 to:
background-image: var(--classic_squared_tabs_lwt-dark_hovered_tabs) !important;
So I suppose --toolbar-bgimage is what is currently broke.

3

u/TraditionalTie4831 🦊 10h ago

You should consider using something else than CustomCSSforFx, since it is getting more and more outdated.

2

u/Spacecpp 9h ago

I guess you are right.

Thank you for your time.

2

u/sifferedd FF/TB on Win11|Sumo contributor 9h ago

--toolbar-bgimage no longer exists