treestyletab/content/treestyletab/treestyletab.css

118 lines
4.3 KiB
CSS

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
.tabbrowser-tab .treestyletab-twisty,
.tabbrowser-tab .treestyletab-counter-container,
.tabbrowser-tab .treestyletab-drop-marker,
tabbrowser[treestyletab-allow-subtree-collapse="true"] .tabbrowser-tab[treestyletab-children]:not([treestyletab-subtree-collapsed="true"]) .treestyletab-counter-container,
tabbrowser:not([treestyletab-mode="vertical"]) > tabbox > splitter {
display: none;
}
tabbrowser[treestyletab-allow-subtree-collapse="true"] .tabbrowser-tab[treestyletab-children] .treestyletab-twisty,
tabbrowser[treestyletab-allow-subtree-collapse="true"] .tabbrowser-tab[treestyletab-children] .treestyletab-counter-container,
.tabbrowser-tab[treestyletab-drop-position] .treestyletab-drop-marker {
display: -moz-box;
}
tabbrowser[treestyletab-allow-subtree-collapse="true"] .tabbrowser-tab[treestyletab-collapsed="true"],
.tabbrowser-strip[collapsed="true"]+splitter,
#appcontent[ahFull="true"] .tabbrowser-strip[ahHIDE="true"]+splitter /* AutoHide */ {
visibility: collapse;
}
tabbrowser:not([treestyletab-mode="horizontal"]) .tabbrowser-arrowscrollbox > .scrollbutton-up,
tabbrowser:not([treestyletab-mode="horizontal"]) .tabbrowser-arrowscrollbox > .scrollbutton-down-stack,
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-stack,
tabbrowser[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox + stack, /* "all tabs" button in Firefox 3 */
tabbrowser[treestyletab-mode="vertical"] .tabs-closebutton-box,
tabbrowser:not([treestyletab-mode="horizontal"]) .tab-drop-indicator-bar {
display: none !important;
}
/* to modify browser's margin dynamically */
#appcontent {
position: relative;
margin: 0;
}
tabbrowser[treestyletab-mode="vertical"] > tabbox {
-moz-box-orient: horizontal !important;
}
tabbrowser[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox > scrollbox {
overflow-x: hidden;
overflow-y: auto;
}
tabbrowser[treestyletab-mode="vertical"] .tabs-stack > * + * > hbox {
-moz-box-flex: 1 !important;
}
/*
tabbrowser[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox > scrollbox > .scrollbox-innerbox {
-moz-box-flex: 0 !important;
}
*/
tabbrowser[treestyletab-tabbar-position="left"][treestyletab-scrollbar-inverted="true"] .tabbrowser-arrowscrollbox > scrollbox {
direction: rtl !important;
}
tabbrowser[treestyletab-tabbar-position="left"][treestyletab-scrollbar-inverted="true"] .tabbrowser-arrowscrollbox > scrollbox > .scrollbox-innerbox {
direction: ltr !important;
}
tabbrowser[treestyletab-mode="vertical"][treestyletab-appearance-inverted="true"] .tabbrowser-tab .tab-image-middle {
-moz-box-ordinal-group: 20;
}
tabbrowser[treestyletab-mode="vertical"][treestyletab-appearance-inverted="true"] .tabbrowser-tab .tab-close-button {
-moz-box-ordinal-group: 10;
}
tabbrowser[treestyletab-mode="vertical"][treestyletab-appearance-inverted="true"] .tabbrowser-tab .tab-icon {
-moz-box-ordinal-group: 50;
}
tabbrowser[treestyletab-mode="vertical"][treestyletab-appearance-inverted="true"] .tabbrowser-tab html|canvas.informationaltab-thumbnail {
-moz-box-ordinal-group: 10;
}
tabbrowser[treestyletab-mode="vertical"][treestyletab-appearance-inverted="true"] .tabbrowser-tab .tab-text {
-moz-box-ordinal-group: 20;
}
tabbrowser[treestyletab-mode="vertical"][treestyletab-appearance-inverted="true"] .tabbrowser-tab .treestyletab-counter-container {
-moz-box-ordinal-group: 30;
}
tabbrowser:not([treestyletab-mode="vertical"]) .tabbrowser-tab:not([treestyletab-nest="0"]) + .tabbrowser-tab[treestyletab-nest="0"],
tabbrowser:not([treestyletab-mode="vertical"]) .tabbrowser-tab[treestyletab-nest="0"] + .tabbrowser-tab[treestyletab-nest="0"][treestyletab-children] {
margin-left: 0.8em !important;
}
/*
tabbrowser[treestyletab-mode="multirow"] .tabbrowser-arrowscrollbox > scrollbox > .scrollbox-innerbox {
display: block !important;
overflow-x: visible !important;
overflow-y: visible !important;
}
tabbrowser[treestyletab-mode="multirow"] .tabbrowser-arrowscrollbox > scrollbox {
display: block !important;
overflow-x: visible !important;
overflow-y: auto !important;
max-height: 100px !important;
}
tabbrowser[treestyletab-mode="multirow"] .tabbrowser-tab {
min-width: 150px !important;
}
*/