2007-10-16 17:22:28 +00:00
@ namespace url ( "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" ) ;
2007-10-20 12:15:05 +00:00
@ namespace html url ( "http://www.w3.org/1999/xhtml" ) ;
2007-10-16 17:22:28 +00:00
2007-10-25 22:59:34 +00:00
. tabbrowser-tab . treestyletab-twisty ,
2008-02-28 12:12:02 +00:00
tabbrowser [ treestyletab-twisty-style = "none" ] . treestyletab-twisty-container ,
2007-10-25 22:59:34 +00:00
. tabbrowser-tab . treestyletab-counter-container ,
. tabbrowser-tab . treestyletab-drop-marker ,
2007-10-26 00:48:46 +00:00
tabbrowser [ treestyletab-allow-subtree-collapse = "true" ] . tabbrowser-tab [ treestyletab-children ] : not ( [ treestyletab-subtree-collapsed = "true" ] ) . treestyletab-counter-container ,
2007-10-26 12:56:04 +00:00
tabbrowser : not ( [ treestyletab-mode = "vertical" ] ) > tabbox > splitter {
2007-10-19 06:40:30 +00:00
display : none ;
}
2007-10-25 22:59:34 +00:00
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 {
2007-10-20 06:12:22 +00:00
display : -moz-box ;
}
2007-10-25 22:59:34 +00:00
tabbrowser [ treestyletab-allow-subtree-collapse = "true" ] . tabbrowser-tab [ treestyletab-collapsed = "true" ] ,
2007-11-09 15:13:25 +00:00
. tabbrowser-strip [ collapsed = "true" ] + splitter : not ( [ state = "collapsed" ] ) ,
2008-03-10 03:51:21 +00:00
tabbrowser [ treestyletab-tabbar-autohide = "hidden" ] . tabbrowser-strip ,
tabbrowser [ treestyletab-tabbar-autohide = "hidden" ] . tabbrowser-strip + splitter ,
2008-02-22 17:55:35 +00:00
# appcontent [ ahFull = "true" ] . tabbrowser-strip [ ahHIDE = "true" ] + splitter /* AutoHide */ ,
tabbrowser [ treestyletab-tabbar-fixed = "true" ] . tabbrowser-strip + splitter {
2007-10-19 06:40:30 +00:00
visibility : collapse ;
}
2007-10-20 10:24:36 +00:00
2007-10-26 12:56:04 +00:00
tabbrowser : not ( [ treestyletab-mode = "horizontal" ] ) . tabbrowser-arrowscrollbox > . scrollbutton-up ,
tabbrowser : not ( [ treestyletab-mode = "horizontal" ] ) . tabbrowser-arrowscrollbox > . scrollbutton-down-stack ,
2007-11-30 21:15:47 +00:00
tabbrowser : not ( [ treestyletab-mode = "horizontal" ] ) . tabbrowser-arrowscrollbox > . scrollbutton-down , /* Firefox 3 */
2008-12-02 03:50:34 +00:00
tabbrowser [ treestyletab-hide-newtab-button = "true" ] . tabs-newtab-button , /* "open a new tab" button in Firefox 3.1 */
2007-11-09 05:48:39 +00:00
tabbrowser [ treestyletab-hide-alltabs-button = "true" ] . tabs-alltabs-stack ,
2008-12-02 03:50:34 +00:00
tabbrowser [ treestyletab-hide-alltabs-button = "true" ] . tabbrowser-arrowscrollbox ~ stack , /* "all tabs" button in Firefox 3 and 3.1 */
2007-10-26 12:56:04 +00:00
tabbrowser [ treestyletab-mode = "vertical" ] . tabs-closebutton-box ,
2007-11-12 12:45:29 +00:00
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 */ {
2007-10-20 10:24:36 +00:00
display : none ! important ;
}
2009-01-23 18:33:50 +00:00
tabbrowser [ treestyletab-hide-newtab-button = "true" ] . tabbrowser-arrowscrollbox . tabs-newtab-button /* "all tabs" button in Firefox 3 and 3.1 */ {
display : -moz-box ! important ;
visibility : collapse ! important ;
}
2007-10-20 10:44:42 +00:00
2007-10-21 17:45:14 +00:00
# appcontent {
2007-11-09 00:08:30 +00:00
/* position: relative;*/
2007-10-21 17:45:14 +00:00
margin : 0 ;
}
2007-11-12 15:29:12 +00:00
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 ;
2007-10-20 11:29:42 +00:00
}
2007-10-20 12:15:05 +00:00
2009-03-04 19:41:05 +00:00
tabbrowser [ treestyletab-mode = "vertical" ] . tabs-stack > * : first-child + * > hbox , /* Firefox 3.0 (not 3.1) */
2008-03-02 17:34:39 +00:00
tabbrowser [ treestyletab-mode = "vertical" ] tabs [ flowing ] > * . tabs-frame /* Tab Mix Plus */ {
2007-10-20 16:47:08 +00:00
-moz-box-flex : 1 ! important ;
}
2007-11-12 15:29:12 +00:00
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 */ {
2007-10-23 06:05:44 +00:00
direction : rtl ! important ;
2007-11-06 08:04:34 +00:00
/ * 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 ;
}
2007-11-12 15:29:12 +00:00
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 */ {
2007-11-06 08:19:04 +00:00
direction : ltr ! important ;
}
2007-10-23 06:05:44 +00:00
2007-10-20 12:15:05 +00:00
2007-10-26 12:56:04 +00:00
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 ] {
2007-10-25 22:59:34 +00:00
margin-left : 0 . 8em ! important ;
}
2007-10-26 12:56:04 +00:00
/ *
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 ;
}
* /
2008-02-22 17:12:20 +00:00
2008-03-13 23:56:06 +00:00
tabbrowser [ treestyletab-tabbar-autohide ] [ treestyletab-tabbar-transparent ] . tabs-stack > * : first-child > : not ( html | canvas ) ,
tabbrowser [ treestyletab-tabbar-resizing ] : not ( [ treestyletab-tabbar-transparent ] ) . tabs-stack > * : first-child > html | canvas ,
2008-03-10 03:51:21 +00:00
tabbrowser [ treestyletab-tabbar-resizing ] . tabs-stack > * : first-child > html | canvas {
2008-03-10 07:21:32 +00:00
display : none ! important ;
2008-03-10 03:51:21 +00:00
}
2008-02-22 17:12:20 +00:00
2008-02-22 17:13:46 +00:00
/* for some themes */
2008-02-22 17:12:20 +00:00
image . tab-icon {
display : -moz-stack ;
2008-02-22 17:13:46 +00:00
-moz-binding : url ( treestyletab . xml # tab-icon ) ;
2008-02-22 17:12:20 +00:00
}
2008-03-02 18:35:31 +00:00
/* for Tabbrowser Preferences */
2008-03-02 18:36:28 +00:00
tabbrowser . tabs-newbutton {
2008-03-02 18:35:31 +00:00
max-width : none ! important ;
}
2008-03-03 06:00:59 +00:00
/* 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 ;
}