You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Mac, the close button goes on the left. Until now I've been using "invert tab contents" pref in legacy TST, which then puts the twisty and favicon on the right. In TST 2, it's possible to move the close button to the left, with the twisty/favicon just to the right of that, which I prefer. I'd like to do that in legacy TST too.
I found the secret pref "extensions.treestyletab.tabbar.invertClosebox". However, this puts the favicon on the left, with the close button to the right of it. Is there any way, for example using userChrome.css, to change the order? I tried but was not successful. Or maybe there's a simple change to the TST source code? I looked at it but I couldn't understand, since I'm not a Javascript programmer.
Steps to reproduce
Start Firefox 56 with clean profile.
Install legacy TST.
Set about:config extensions.treestyletab.tabbar.invertClosebox true
Expected result
Close button is on leftmost side of tab.
Actual result
Close button is to the right of the favicon.
Environment
Platform (OS): macOS
Version of Firefox: 56
Version (or revision) of Tree Style Tab: 1.9
The text was updated successfully, but these errors were encountered:
sumyungguy
changed the title
[legacy] Show close button fully on the left
[legacy] Show close button on the left, then twisty & favicon.
Dec 21, 2017
@piroor, thanks, but the question was about legacy TST, on Firefox/Waterfox 56.
Testing with TST 2 on Firefox Quantum, I am already able to accomplish exactly what I want with custom user styles: close box on left, then combined favicon&twisty, then tab title. I'm happy about that!
Unfortunately I must stay on 56 for daily use. So I hoped to do the same styling with legacy TST. I can already style many things with userChrome.css, like:
/* Display close button only on hover */#TabsToolbar#tabbrowser-tabs[treestyletab-mode="vertical"] .tabbrowser-tab:not([pinned]):not([protected]):not(:hover) .tab-close-button {
visibility: hidden !important;
}
/* Favicon */#TabsToolbar#tabbrowser-tabs[treestyletab-mode="vertical"] .tabbrowser-tab .tab-icon-image {
margin-left:4px!important;
}
But I can't understand how to control the left-right order of the objects, or if it's possible. Is it? It seems it's done with Javascript, that I can't control from css. Maybe from userChrome.js?
Short description
On the Mac, the close button goes on the left. Until now I've been using "invert tab contents" pref in legacy TST, which then puts the twisty and favicon on the right. In TST 2, it's possible to move the close button to the left, with the twisty/favicon just to the right of that, which I prefer. I'd like to do that in legacy TST too.
I found the secret pref "extensions.treestyletab.tabbar.invertClosebox". However, this puts the favicon on the left, with the close button to the right of it. Is there any way, for example using userChrome.css, to change the order? I tried but was not successful. Or maybe there's a simple change to the TST source code? I looked at it but I couldn't understand, since I'm not a Javascript programmer.
Steps to reproduce
Expected result
Close button is on leftmost side of tab.
Actual result
Close button is to the right of the favicon.
Environment
The text was updated successfully, but these errors were encountered: