-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] Add customisable background color for group-tab.html #1494
Comments
Sorry I forgot to set default BG color for the page. Now it has Currently I have no idea to implement color picker for dummy tabs, but you can change its background color via @-moz-document regexp("moz-extension://.+/resources/group-tab.html.*") {
:root {
background: red !important;
}
} |
This isn't working for me, I added it in userContent.css just like you mentioned. |
Did you activate user stylesheets via about:config? Not only userChrome.css but userContent.css also requires manual activation on Firefox 69 and later. See also: https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#on-firefox-69-and-later |
Yes. The single option affects to both userChrome.css and userContent.css. |
but as you can see in the image I shared, it didn't change the background color of treestyletab. :( |
Please look at the title of this issue, the CSS rule example for userContent.css is aimed to be applied to "group" tabs (you can see it via the URI Basically you need to use the "custom user stylesheet" field in TST's options page to customize appearance of the sidebar. And rules for the sidebar may be different from the one for the "group tab" page. You can look how TST applies style definitions to the sidebar with CSS files under the directory: https://github.com/piroor/treestyletab/tree/master/webextensions/sidebar/styles |
oops, sorry, I didn't know what grouptabs were, I thought it meant the grouping of the tabs by treestyletab inside the sidebar. My bad. I can't find the "custom user stylesheet" field anywhere. I do see the "Extra Style Rules for sidebar Contents" field though, is that what you meant? Thanks for the link. :) |
Oops, sorry. Yes that is it. |
ok, thanks. I will look into it. |
Short description
The background color of dummy tabs (group-tab.html) cannot be easily changed from the blinding white. A color picker would be appreciated, or have group-tab.html respect --tabbar-bg css variable.
Environment
The text was updated successfully, but these errors were encountered: