From 4487c1881ec8dc47019137764f8e0969685dff66 Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Wed, 27 Feb 2013 04:06:50 +0900 Subject: [PATCH] Don't set margin to indicate grouped tabs for parent tabs next to hidden tabs (#463) --- content/treestyletab/treestyletab.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/treestyletab/treestyletab.css b/content/treestyletab/treestyletab.css index 0432bab7..c6612b14 100644 --- a/content/treestyletab/treestyletab.css +++ b/content/treestyletab/treestyletab.css @@ -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; }