From 11b7baef1abe55c01738317bbe7099e4cd390092 Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Mon, 5 Dec 2011 14:12:52 +0900 Subject: [PATCH] on Linux, panel was never shown and click events out of panel was unexpectedly eaten --- content/treestyletab/treestyletab.css | 16 +++++----------- content/treestyletab/treestyletab.xul | 2 +- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/content/treestyletab/treestyletab.css b/content/treestyletab/treestyletab.css index 1b6df35b..807b8b36 100644 --- a/content/treestyletab/treestyletab.css +++ b/content/treestyletab/treestyletab.css @@ -136,7 +136,11 @@ tabbrowser[treestyletab-tabbar-autohide-mode="1"][treestyletab-tabbar-autohide=" #treestyletab-autohide-content-area-screen { - background: transparent; + /** + * don't make this completely transparent, because + * mousemove event never fire on 100% transparent panel!! + */ + background: rgba(0, 0, 0, 0.01); border: 0 none; line-height: 0; margin: 0; @@ -148,16 +152,6 @@ tabbrowser[treestyletab-tabbar-autohide-mode="1"][treestyletab-tabbar-autohide=" -moz-border-top-colors: none; } -#treestyletab-autohide-content-area-screen[popup-shown="true"] { - /** - * don't make this completely transparent, because - * mousemove event never fire on 100% transparent panel!! - */ - background: rgba(0, 0, 0, 0.01); - -moz-transition: background-color 0.2s ease-out; - transition: background-color 0.2s ease-out; -} - /* vertical tab bar */ diff --git a/content/treestyletab/treestyletab.xul b/content/treestyletab/treestyletab.xul index e9545f9b..7b9d158b 100644 --- a/content/treestyletab/treestyletab.xul +++ b/content/treestyletab/treestyletab.xul @@ -151,10 +151,10 @@ type="checkbox" autocheck="false" oncommand="TreeStyleTabService.toggleFixed(TreeStyleTabService.getTabBrowserFromChild(this));"/> -