25ebc89ffd
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4406 599a83e7-65a4-db11-8015-0010dcdd6dc2
85 lines
3.4 KiB
CSS
85 lines
3.4 KiB
CSS
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
.treestyletab-twisty-container {
|
|
margin: 0 3px 0 -3px;
|
|
-moz-box-pack: start;
|
|
-moz-box-align: center;
|
|
-moz-box-flex: 1;
|
|
}
|
|
|
|
tabbrowser[treestyletab-tab-contents-inverted="true"] .treestyletab-twisty-container {
|
|
margin: 0 -3px 0 3px;
|
|
}
|
|
tabbrowser[treestyletab-twisty-style^="modern"] .treestyletab-twisty-container {
|
|
position: relative;
|
|
margin: 0 14px 0 -14px;
|
|
}
|
|
tabbrowser[treestyletab-twisty-style^="modern"][treestyletab-tab-contents-inverted="true"] .treestyletab-twisty-container {
|
|
margin: 0 -14px 0 14px;
|
|
}
|
|
|
|
|
|
tabbrowser[treestyletab-twisty-style="retro"][treestyletab-mode="horizontal"] .treestyletab-twisty-container {
|
|
position: relative;
|
|
margin: 0 16px 0 -16px;
|
|
}
|
|
|
|
tabbrowser[treestyletab-twisty-style="retro"][treestyletab-mode="horizontal"][treestyletab-allow-subtree-collapse="true"] .tabbrowser-tab[treestyletab-children] .tab-icon {
|
|
margin-left: 16px;
|
|
}
|
|
tabbrowser[treestyletab-twisty-style^="modern"][treestyletab-allow-subtree-collapse="true"][treestyletab-mode="horizontal"] .tab-icon {
|
|
margin-left: 12px;
|
|
}
|
|
tabbrowser[treestyletab-twisty-style^="modern"][treestyletab-allow-subtree-collapse="true"]:not([treestyletab-tab-contents-inverted="true"]) .tab-icon {
|
|
margin-left: 9px;
|
|
}
|
|
tabbrowser[treestyletab-twisty-style^="modern"][treestyletab-allow-subtree-collapse="true"][treestyletab-tab-contents-inverted="true"] .tab-icon {
|
|
margin-right: 9px;
|
|
}
|
|
|
|
.treestyletab-twisty {
|
|
list-style-image: url("twisty-retro.png");
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
}
|
|
tabbrowser[treestyletab-twisty-style="modern-black"] .treestyletab-twisty {
|
|
list-style-image: url("twisty-modern-b-l.png");
|
|
}
|
|
tabbrowser[treestyletab-twisty-style="modern-black"][treestyletab-tab-contents-inverted="true"] .treestyletab-twisty {
|
|
list-style-image: url("twisty-modern-b-r.png");
|
|
}
|
|
tabbrowser[treestyletab-twisty-style="modern-white"] .treestyletab-twisty {
|
|
list-style-image: url("twisty-modern-w-l.png");
|
|
}
|
|
tabbrowser[treestyletab-twisty-style="modern-white"][treestyletab-tab-contents-inverted="true"] .treestyletab-twisty {
|
|
list-style-image: url("twisty-modern-w-r.png");
|
|
}
|
|
|
|
.tabbrowser-tab[treestyletab-subtree-collapsed="true"] .treestyletab-twisty {
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
}
|
|
.tabbrowser-tab[treestyletab-twisty-hover="true"] .treestyletab-twisty {
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
|
}
|
|
.tabbrowser-tab[treestyletab-subtree-collapsed="true"][treestyletab-twisty-hover="true"] .treestyletab-twisty {
|
|
-moz-image-region: rect(16px, 16px, 32px, 0);
|
|
}
|
|
|
|
|
|
/* horizontal tab bar */
|
|
tabbrowser[treestyletab-twisty-style^="modern"][treestyletab-mode="horizontal"]
|
|
.tabbrowser-tab .treestyletab-twisty {
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
}
|
|
tabbrowser[treestyletab-twisty-style^="modern"][treestyletab-mode="horizontal"]
|
|
.tabbrowser-tab[treestyletab-subtree-collapsed="true"] .treestyletab-twisty {
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
}
|
|
tabbrowser[treestyletab-twisty-style^="modern"][treestyletab-mode="horizontal"]
|
|
.tabbrowser-tab[treestyletab-twisty-hover="true"] .treestyletab-twisty {
|
|
-moz-image-region: rect(16px, 16px, 32px, 0);
|
|
}
|
|
tabbrowser[treestyletab-twisty-style^="modern"][treestyletab-mode="horizontal"]
|
|
.tabbrowser-tab[treestyletab-subtree-collapsed="true"][treestyletab-twisty-hover="true"] .treestyletab-twisty {
|
|
-moz-image-region: rect(16px, 32px, 32px, 16px);
|
|
}
|