metalテーマの時にタブのクローズボックス周辺に無駄なスペースができてしまっていた問題を解消(Fx3.5 or later)

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7155 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-09 05:37:22 +00:00
parent 22b4979edd
commit afcbb6a283
4 changed files with 14 additions and 13 deletions

View File

@ -133,7 +133,8 @@ tabbrowser[treestyletab-style~="metal"][treestyletab-tabbar-position="right"]
.tabbrowser-tab .tab-close-button { .tabbrowser-tab .tab-close-button {
z-index: 1 !important; /* for Linux */ z-index: 1 !important; /* for Linux */
margin: 0 !important; margin: 0 !important;
padding: 3px 4px 4px !important; /* padding: 3px 4px 4px !important; */
padding: 3px 0 4px !important;
text-align: center !important; text-align: center !important;
} }

View File

@ -98,7 +98,7 @@
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"]
.tab-image-right { .tab-image-right {
border-left-width: 0; border-left-width: 0;
-moz-border-image: url("tab-active-l.png") 10 / 10px 10px 10px 0; -moz-border-image: url("tab-active-l.png") 10 5 10 10 / 10px 5px 10px 0;
} }
@ -107,7 +107,7 @@
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]
.tab-image-left { .tab-image-left {
-moz-border-image: url("tab-active-r.png") 10 / 10px 0 10px 10px; -moz-border-image: url("tab-active-r.png") 10 10 10 5 / 10px 0 10px 5px;
} }
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]
@ -139,7 +139,7 @@
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"]
.tab-image-right[selected="true"] { .tab-image-right[selected="true"] {
-moz-border-image: url("tab-active-selected-l.png") 10 / 10px 10px 10px 0; -moz-border-image: url("tab-active-selected-l.png") 10 5 10 10 / 10px 5px 10px 0;
} }
@ -148,7 +148,7 @@
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]
.tab-image-left[selected="true"] { .tab-image-left[selected="true"] {
-moz-border-image: url("tab-active-selected-r.png") 10 / 10px 0 10px 10px; -moz-border-image: url("tab-active-selected-r.png") 10 10 10 5 / 10px 0 10px 5px;
} }
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]

View File

@ -20,7 +20,7 @@
:root:not([active="true"]) :root:not([active="true"])
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"]
.tab-image-right { .tab-image-right {
-moz-border-image: url("tab-inactive-l.png") 10 / 10px 10px 10px 0; -moz-border-image: url("tab-inactive-l.png") 10 5 10 10 / 10px 5px 10px 0;
} }
@ -30,7 +30,7 @@
:root:not([active="true"]) :root:not([active="true"])
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]
.tab-image-left { .tab-image-left {
-moz-border-image: url("tab-inactive-r.png") 10 / 10px 0 10px 10px; -moz-border-image: url("tab-inactive-r.png") 10 10 10 5 / 10px 0 10px 5px;
} }
:root:not([active="true"]) :root:not([active="true"])
@ -70,7 +70,7 @@
:root:not([active="true"]) :root:not([active="true"])
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"]
.tab-image-right[selected="true"] { .tab-image-right[selected="true"] {
-moz-border-image: url("tab-inactive-selected-l.png") 10 / 10px 10px 10px 0; -moz-border-image: url("tab-inactive-selected-l.png") 10 5 10 10 / 10px 5px 10px 0;
} }
@ -80,7 +80,7 @@
:root:not([active="true"]) :root:not([active="true"])
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]
.tab-image-left[selected="true"] { .tab-image-left[selected="true"] {
-moz-border-image: url("tab-inactive-selected-r.png") 10 / 10px 0 10px 10px; -moz-border-image: url("tab-inactive-selected-r.png") 10 10 10 5 / 10px 0 10px 5px;
} }
:root:not([active="true"]) :root:not([active="true"])

View File

@ -20,7 +20,7 @@
:root:-moz-window-inactive :root:-moz-window-inactive
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"]
.tab-image-right { .tab-image-right {
-moz-border-image: url("tab-inactive-l.png") 10 / 10px 10px 10px 0; -moz-border-image: url("tab-inactive-l.png") 10 5 10 10 / 10px 5px 10px 0;
} }
@ -30,7 +30,7 @@
:root:-moz-window-inactive :root:-moz-window-inactive
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]
.tab-image-left { .tab-image-left {
-moz-border-image: url("tab-inactive-r.png") 10 / 10px 0 10px 10px; -moz-border-image: url("tab-inactive-r.png") 10 10 10 5 / 10px 0 10px 5px;
} }
:root:-moz-window-inactive :root:-moz-window-inactive
@ -70,7 +70,7 @@
:root:-moz-window-inactive :root:-moz-window-inactive
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"]
.tab-image-right[selected="true"] { .tab-image-right[selected="true"] {
-moz-border-image: url("tab-inactive-selected-l.png") 10 / 10px 10px 10px 0; -moz-border-image: url("tab-inactive-selected-l.png") 10 5 10 10 / 10px 5px 10px 0;
} }
@ -80,7 +80,7 @@
:root:-moz-window-inactive :root:-moz-window-inactive
.tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"] .tabbrowser-tabs[treestyletab-style~="metal"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]
.tab-image-left[selected="true"] { .tab-image-left[selected="true"] {
-moz-border-image: url("tab-inactive-selected-r.png") 10 / 10px 0 10px 10px; -moz-border-image: url("tab-inactive-selected-r.png") 10 10 10 5 / 10px 0 10px 5px;
} }
:root:-moz-window-inactive :root:-moz-window-inactive