From 20ada7e5d8fc5b11df7ce70bdd4f77ee335fde6b Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Fri, 2 Oct 2015 16:24:01 +0900 Subject: [PATCH] Don't show gray rect of pinned tabs on full screen videos See also: #950 --- content/treestyletab/treestyletab.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/treestyletab.css b/content/treestyletab/treestyletab.css index dc353f0c..8ad9ffb8 100644 --- a/content/treestyletab/treestyletab.css +++ b/content/treestyletab/treestyletab.css @@ -596,8 +596,10 @@ toolbar.treestyletab-tabbar-toolbar-ready:not([nowindowdrag="true"]), z-index: 100; } .tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-dom-fullscreen-activated="true"] - .tabbrowser-tab[pinned] { - z-index: -100; + .tabbrowser-tab[pinned], +.tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-dom-fullscreen-activated="true"] + .tabbrowser-tab[pinned] * /* this is required to hide unexpectedly shown gray rect (ex. .tab-background) */ { + visibility: collapse; } .tabbrowser-tabs[treestyletab-mode="vertical"]