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