Don't set margin to indicate grouped tabs for parent tabs next to hidden tabs (#463)

This commit is contained in:
Piro / YUKI Hiroshi 2013-02-27 04:06:50 +09:00
parent a8793c7c06
commit 4487c1881e

View File

@ -492,17 +492,17 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
/* horizontal tab bar */
.tabbrowser-tabs[treestyletab-mode="horizontal"]
.tabbrowser-tab:not([treestyletab-nest="0"]) + .tabbrowser-tab[treestyletab-nest="0"],
.tabbrowser-tab:not([treestyletab-nest="0"]):not([hidden="true"]) + .tabbrowser-tab[treestyletab-nest="0"],
.tabbrowser-tabs[treestyletab-mode="horizontal"]
.tabbrowser-tab[treestyletab-nest="0"] + .tabbrowser-tab[treestyletab-nest="0"][treestyletab-children] {
.tabbrowser-tab[treestyletab-nest="0"]:not([hidden="true"]) + .tabbrowser-tab[treestyletab-nest="0"][treestyletab-children] {
margin-left: 0.8em !important;
}
/* vertical tab bar */
.tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-max-tree-level="0"]
.tabbrowser-tab:not([treestyletab-nest="0"]) + .tabbrowser-tab[treestyletab-nest="0"],
.tabbrowser-tab:not([treestyletab-nest="0"]):not([hidden="true"]) + .tabbrowser-tab[treestyletab-nest="0"],
.tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-max-tree-level="0"]
.tabbrowser-tab[treestyletab-nest="0"] + .tabbrowser-tab[treestyletab-nest="0"][treestyletab-children] {
.tabbrowser-tab[treestyletab-nest="0"]:not([hidden="true"]) + .tabbrowser-tab[treestyletab-nest="0"][treestyletab-children] {
margin-top: 0.8em !important;
}