From 2a3a9667c70475bf8ef402b41e4dbd3f69b09827 Mon Sep 17 00:00:00 2001 From: Piro / SHIMODA Hiroshi Date: Sat, 3 Mar 2012 06:49:16 +0900 Subject: [PATCH] Fix broken appearance of pinned tabs with "Metal" theme on Mac OS X --- skin/classic/treestyletab/metal/tab-base.css | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/skin/classic/treestyletab/metal/tab-base.css b/skin/classic/treestyletab/metal/tab-base.css index 46220eda..34e95a04 100644 --- a/skin/classic/treestyletab/metal/tab-base.css +++ b/skin/classic/treestyletab/metal/tab-base.css @@ -103,6 +103,7 @@ /* background, left */ .tabbrowser-tabs[treestyletab-mode="vertical"] + .tabbrowser-tab:not([pinned]) .tab-stack { -moz-border-image: url("tab-active-l.png") 10 5 10 10 / 10px 5px 10px 10px !important; /** @@ -116,6 +117,7 @@ /* background, right */ .tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] + .tabbrowser-tab:not([pinned]) .tab-stack { -moz-border-image: url("tab-active-r.png") 10 10 10 5 / 10px 10px 10px 5px !important; -moz-border-image-slice: 10 10 10 5 fill !important; @@ -123,14 +125,16 @@ /* foreground, left */ .tabbrowser-tabs[treestyletab-mode="vertical"] - .tabbrowser-tab[selected="true"] .tab-stack { + .tabbrowser-tab[selected="true"]:not([pinned]) + .tab-stack { -moz-border-image: url("tab-active-selected-l.png") 10 5 10 10 / 10px 5px 10px 10px !important; -moz-border-image-slice: 10 5 10 10 fill !important; } /* foreground, right */ .tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] - .tabbrowser-tab[selected="true"] .tab-stack { + .tabbrowser-tab[selected="true"]:not([pinned]) + .tab-stack { -moz-border-image: url("tab-active-selected-r.png") 10 10 10 5 / 10px 10px 10px 5px !important; -moz-border-image-slice: 10 10 10 5 fill !important; } @@ -252,6 +256,7 @@ /* background, left */ :root:-moz-window-inactive .tabbrowser-tabs[treestyletab-mode="vertical"] + .tabbrowser-tab:not([pinned]) .tab-stack { -moz-border-image: url("tab-inactive-l.png") 10 5 10 10 / 10px 5px 10px 10px !important; -moz-border-image-slice: 10 5 10 10 fill !important; @@ -260,6 +265,7 @@ /* background, right */ :root:-moz-window-inactive .tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] + .tabbrowser-tab:not([pinned]) .tab-stack { -moz-border-image: url("tab-inactive-r.png") 10 10 10 5 / 10px 10px 10px 5px !important; -moz-border-image-slice: 10 10 10 5 fill !important; @@ -268,7 +274,8 @@ /* foreground, left */ :root:-moz-window-inactive .tabbrowser-tabs[treestyletab-mode="vertical"] - .tabbrowser-tab[selected="true"] .tab-stack{ + .tabbrowser-tab[selected="true"]:not([pinned]) + .tab-stack{ -moz-border-image: url("tab-inactive-selected-l.png") 10 5 10 10 / 10px 5px 10px 10px !important; -moz-border-image-slice: 10 5 10 10 fill !important; } @@ -276,7 +283,8 @@ /* foreground, right */ :root:-moz-window-inactive .tabbrowser-tabs[treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] - .tabbrowser-tab[selected="true"] .tab-stack{ + .tabbrowser-tab[selected="true"]:not([pinned]) + .tab-stack{ -moz-border-image: url("tab-inactive-selected-r.png") 10 10 10 5 / 10px 10px 10px 5px !important; -moz-border-image-slice: 10 10 10 5 fill !important; }