-
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
Custom background of the sidebar #2731
Comments
TST is designed to apply Firefox's theme. If you install any theme including background image, it will be applied to the sidebar also. And you can set your custom background image with a user style, like: #background {
background: url("https://example.com/something-image.jpg");
} For more details please read documents about CSS background images. Direct reference of remote images will grow traffics needlessly, so I recommend you to embed the image as a data: URI. You'll get data: URI of an image by something converter like: https://ezgif.com/image-to-datauri (Please remind that you can use only small images due to restrictions of the quota for a Firefox addon.) |
I have no plan to add a special option to customize background image because there are two main reasons:
Ah, but I've realized that embedding data URI of a dropped image will convenient. I'll try it later. |
Thank you for your reply. #background { Thank you. Happy Today :) |
You want to apply the CSS code in the TST options under: Advanced -> Extra Style Rules. (Not in your chrome/userChrome.css file) |
After the commit ccae58d TST allows you to embed the data: URI of a dropped image on the style editor field. However, due to a bug of Firefox itself the feature does not work at the about:addons page, instead you need to open TST's options page in a separate tab. |
I've done more changes. Now the button "Load from File" allows you to embed data: URI of images. |
Thank You. #background { |
OK, I've added a section in the code snippets: https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#custom-background-of-the-tab-bar-2731 |
After installing the tree style tabs I removed the default tab bar in Firefox. Since then I always use Firefox with a tree style tab on the right. By the way, it is not visually beautiful. It would be nice if the tree style tab had a background theme function.
Thanks.
The text was updated successfully, but these errors were encountered: