3 ms·
I did some digging for you in the browser console. userChrome.css can't touch TST's content. TST is in a separate document (sidebar.html). I'm sure the tabs in
by DiThi 9y ago
I did some digging for you in the browser console. userChrome.css can't touch TST's content. TST is in a separate document (sidebar.html). I'm sure the tabs in TST aren't the actual browser tabs, but they're made to look exactly the same as before. Talk to TST's author, or modify the addon yourself, it must have a CSS file, the tabs are "li.tab" (<li> elements, tab class). The active one is "li.tab.active".
document.querySelector('#sidebar')._contentWindow[0].document.querySelectorAll('.tab.active')
- CWuestefeld 9y agoThanks. Actually, it turns out that the latest version contains a mini-editor for the appropriate file (whichever it is). And it includes a link [1] to further documentation about what to do with it. [1] https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#for-version-2x https://github.com/piroor/treestyletab/wiki/Code-snippets-fo...