treestyletab/content/treestyletab/treestyletab.css

107 lines
4.7 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:not([state="collapsed"]),
tabbrowser[treestyletab-tabbar-autohide="true"] .tabbrowser-strip,
tabbrowser[treestyletab-tabbar-autohide="true"] .tabbrowser-strip+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-hide-alltabs-button="true"] .tabs-alltabs-stack,
tabbrowser[treestyletab-hide-alltabs-button="true"] .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,
tabbrowser:not([treestyletab-mode="horizontal"]) #vide-bar, /* Tab Mix Plus */
tabbrowser:not([treestyletab-mode="horizontal"]) #tabs-scroll-up-down-box, /* Tab Mix Plus */
tabbrowser:not([treestyletab-mode="horizontal"]) #alltabs-place-holder, /* Tab Mix Plus */
tabbrowser:not([treestyletab-mode="horizontal"]) .tabs-scroll /* Tab Mix Plus */ {
display: none !important;
}
#appcontent {
/* position: relative;*/
margin: 0;
}
tabbrowser[treestyletab-mode="vertical"] > tabbox {
-moz-box-orient: horizontal !important;
}
tabbrowser[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox > scrollbox,
tabbrowser[treestyletab-mode="vertical"] tabs[flowing] > * .tabs-frame /* Tab Mix Plus */ {
overflow-x: hidden !important;
overflow-y: auto !important;
}
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,
tabbrowser[treestyletab-tabbar-position="left"][treestyletab-scrollbar-inverted="true"] .tabs-frame /* Tab Mix Plus */ {
direction: rtl !important;
/* if there is scrollbar, closeboxes of tabs cannot be clicked because
they are "under the rightside scrollbar" even if it is moved to
leftside by the above rule. This seems a bug. Following rules move
the "hidden rightside scrollbar" out of the box, then we can click
closeboxes again. */
margin-right: -1em !important;
padding-right: 1em !important;
}
tabbrowser[treestyletab-tabbar-position="left"][treestyletab-scrollbar-inverted="true"] .tabbrowser-arrowscrollbox > scrollbox > .scrollbox-innerbox,
tabbrowser[treestyletab-tabbar-position="left"][treestyletab-scrollbar-inverted="true"] .tabbrowser-tabs[firefox2][flowing][closebutton][hideAllTabsButton][tabBarSpace] .tabbrowser-tab /* Tab Mix Plus */ {
direction: ltr !important;
}
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;
}
*/