Timvde / UserChrome-Tweaks

A community maintained repository of userChrome.css tweaks for Firefox
GNU General Public License v3.0
1.25k stars 122 forks source link

Configure background color of new tabs while loading (white flash) #121

Closed nicola-zanardi closed 5 years ago

nicola-zanardi commented 5 years ago

This css is to remove/change the default background color of an empty new tab, the current selection is black. It can also be used to remove the annoying white flash that happens when a new tab is opened and a replacement for the new tab is used, like Tabliss

Timvde commented 5 years ago

Is this different from https://github.com/Timvde/UserChrome-Tweaks/blob/master/activitystream/activitystream-dark-userContent.css ?

nicola-zanardi commented 5 years ago

I think so, this is to remove the annoying white flash when opening a new tab.

Before After

Timvde commented 5 years ago

Oh, I guess I had to link to the userChrome.css change instead of the userContent.css, more specifically this commit: https://github.com/Timvde/UserChrome-Tweaks/commit/0b8037a67dd6753665d6eac1159c60d76fb0d91e

You're styling different elements though, so I'm not sure. Could you move it to the activitystream directory in any case? Since this is not directly about the tabs themselves, but more to the new tab page.

nicola-zanardi commented 5 years ago

I realized that my css change also affects the title bar, and it was not the desired effect. I will close this PR and make a new one if I find a fix for it.