treestyletab/content/treestyletab/treestyletab.css
piro 9ccd9575de syntax error
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5508 599a83e7-65a4-db11-8015-0010dcdd6dc2
2009-12-15 09:01:31 +00:00

126 lines
5.3 KiB
CSS

@import url("chrome://treestyletab/content/treestyletab-tmp.css"); /* hacks for Tab Mix Plus */
@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[treestyletab-twisty-style="none"] .treestyletab-twisty-container,
.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 {
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:not([treestyletab-allow-subtree-collapse="true"]) .treestyletab-twisty-container,
tabbrowser[treestyletab-allow-subtree-collapse="true"] .tabbrowser-tab[treestyletab-collapsed-done="true"],
.tabbrowser-strip[collapsed="true"]+splitter:not([state="collapsed"]),
tabbrowser[treestyletab-tabbar-autohide="hidden"] .tabbrowser-strip,
tabbrowser[treestyletab-tabbar-autohide="hidden"] .tabbrowser-strip+splitter,
tabbrowser:not([treestyletab-tabbar-autohide="hidden"]) .treestyletab-tabbar-toggler,
#appcontent[ahFull="true"] .tabbrowser-strip[ahHIDE="true"]+splitter /* AutoHide */,
tabbrowser[treestyletab-tabbar-fixed="true"] .tabbrowser-strip+splitter {
visibility: collapse;
}
tabbrowser[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox > .scrollbutton-up,
tabbrowser[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox > .scrollbutton-down-stack,
tabbrowser[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox > .scrollbutton-down, /* Firefox 3 */
tabbrowser[treestyletab-hide-alltabs-button="true"] .tabs-alltabs-stack,
tabbrowser[treestyletab-hide-alltabs-button="true"] .tabbrowser-arrowscrollbox ~ stack, /* "all tabs" button in Firefox 3 and 3.5 */
tabbrowser[treestyletab-mode="vertical"] .tabs-closebutton-box,
tabbrowser[treestyletab-mode="vertical"] .tab-drop-indicator-bar {
visibility: collapse !important;
}
#appcontent {
/* position: relative;*/
margin: 0;
}
tabbrowser[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox > scrollbox {
overflow-x: hidden !important;
overflow-y: auto !important;
}
tabbrowser[treestyletab-mode="vertical"] .tabs-stack > *:first-child + * > hbox /* Firefox 3.0 (not 3.5) */ {
-moz-box-flex: 1 !important;
}
tabbrowser[treestyletab-tabbar-position="left"][treestyletab-scrollbar-inverted="true"] .tabbrowser-arrowscrollbox > scrollbox {
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 {
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;
}
*/
tabbrowser[treestyletab-tabbar-autohide][treestyletab-tabbar-transparent] .tabs-stack > *:first-child > :not(html|canvas),
tabbrowser[treestyletab-tabbar-resizing] .tabs-stack > *:first-child > html|canvas {
display: none !important;
}
/* for some themes */
image.tab-icon {
display: -moz-stack;
-moz-binding: url(treestyletab.xml#tab-icon);
}
/* for Tabbrowser Preferences, and some theme */
tabbrowser .tabs-newbutton,
tabbrowser[treestyletab-mode="vertical"] .scrollbutton-up,
tabbrowser[treestyletab-mode="vertical"] .scrollbutton-down,
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-button,
tabbrowser[treestyletab-mode="vertical"] .close-button.tabs-closebutton {
max-width: none !important;
}
/* for All-in-One Sidebar */
#aiostbx-tableft-toolbox:not([incustomisemode="true"]) > toolbar[currentset="__empty"],
#aiostbx-tableft-toolbox:not([incustomisemode="true"]) > toolbar:not([currentset]),
#aiostbx-tabright-toolbox:not([incustomisemode="true"]) > toolbar[currentset="__empty"],
#aiostbx-tabright-toolbox:not([incustomisemode="true"]) > toolbar:not([currentset]) {
visibility: collapse;
}