piroor/treestyletab

[Feature Request] Disable transparency for Auto Hide tab bar

trismarck opened this issue · 3 comments

For the option:

Auto hide: for Normal Window Mode: Auto Hide tab bar

please provide an option to disable transparency altogether. I guess this would speed up the creation of the tab bar. And, the text under the tab bar is hard to see anyway.

Cheers.

You can customize it by your userCrhome.css. TST's default style is here:

.tabbrowser-tabs[treestyletab-tabbar-autohide]
  .tabbrowser-tab {
    opacity: 0.85 !important;
}
.tabbrowser-tabs[treestyletab-tabbar-autohide]:hover
  .tabbrowser-tab {
    opacity: 0.9 !important;
}
.tabbrowser-tabs[treestyletab-tabbar-autohide]:hover
  .tabbrowser-tab[selected="true"],
.tabbrowser-tabs[treestyletab-tabbar-autohide]:hover
  .tabbrowser-tab:hover {
    opacity: 0.95 !important;
}
.tabbrowser-tabs[treestyletab-tabbar-autohide]:hover
  .tabbrowser-tab[selected="true"]:hover {
    opacity: 0.98 !important;
}

"0" means "completely transparent", "1" means "completely solid".

Sorry, but because there are already too many configuration items, I don't want to add any more extra features that I never use. So such an option won't be introduced in future versions...

Ok, acknowledged. I've changed the configuration according to the above it works. I think it even loads a little faster (which is contrary to what I've initially thought - even if the CSS style is overwritten, because the initial bar was transparent, the window will always be drawn with transparency first (and thus be slower). Thanks again.