in horizontal tab bar, no need to put place holder margin for the twisty about tabs without children

This commit is contained in:
SHIMODA Hiroshi 2012-02-10 15:41:23 +09:00
parent 4fd96587f5
commit c9038bc86e

View File

@ -4,17 +4,22 @@
/* twisty in tabs */
.treestyletab-twisty,
.tabbrowser-tabs[treestyletab-twisty-style="none"]
.treestyletab-twisty,
.tabbrowser-tabs:not([treestyletab-allow-subtree-collapse="true"])
.treestyletab-twisty {
visibility: hidden;
}
.tabbrowser-tabs[treestyletab-allow-subtree-collapse="true"]:not([treestyletab-twisty-style="none"])
.tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-allow-subtree-collapse="true"]:not([treestyletab-twisty-style="none"])
.tabbrowser-tab[treestyletab-children][treestyletab-allow-subtree-collapse="true"]
.treestyletab-twisty,
.tabbrowser-tabs[treestyletab-mode="horizontal"][treestyletab-allow-subtree-collapse="true"]:not([treestyletab-twisty-style="none"])
.tabbrowser-tab[treestyletab-children][treestyletab-allow-subtree-collapse="true"]
.treestyletab-twisty {
visibility: visible;
}
.tabbrowser-tabs[treestyletab-twisty-style="none"]
.treestyletab-twisty,
.tabbrowser-tabs[treestyletab-mode="horizontal"]
.treestyletab-twisty,
.tabbrowser-tab[pinned="true"]
.treestyletab-twisty {
visibility: collapse;
@ -420,9 +425,9 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]),
/* separating of groups */
/* horizontal tab bar */
.tabbrowser-tabs:not([treestyletab-mode="vertical"])
.tabbrowser-tabs[treestyletab-mode="horizontal"]
.tabbrowser-tab:not([treestyletab-nest="0"]) + .tabbrowser-tab[treestyletab-nest="0"],
.tabbrowser-tabs:not([treestyletab-mode="vertical"])
.tabbrowser-tabs[treestyletab-mode="horizontal"]
.tabbrowser-tab[treestyletab-nest="0"] + .tabbrowser-tab[treestyletab-nest="0"][treestyletab-children] {
margin-left: 0.8em !important;
}