Firefox/Projects/TabCandy/Work: Difference between revisions

Line 188: Line 188:


Even though the TabCandy code is now in the tabcandy-central branch, we're still keeping the documentation in the old tabcandy branch. The docs script, [http://hg.mozilla.org/labs/tabcandy/file/tip/tcc-docs.sh tcc-docs.sh], assumes your tabcandy-central folder is next to your tabcandy folder.
Even though the TabCandy code is now in the tabcandy-central branch, we're still keeping the documentation in the old tabcandy branch. The docs script, [http://hg.mozilla.org/labs/tabcandy/file/tip/tcc-docs.sh tcc-docs.sh], assumes your tabcandy-central folder is next to your tabcandy folder.
= Z-Indexes =
* -999999: background gradient
* -103 to -101: trenches
* -99 to -1: Phantom groups (from dragging on the background, or stacking tabs on each other)
* 0 to 99996: groups and tabs. Each time a group or orphan tab is dragged, its z-index is incremented 1. All of a group's children tabs are indexed in order above the group.
* 99997 to 99999: expanded stack shield, tray, tabs
* 999999: "front" for zoom and drag
* 1000000: Action buttons (search, exit)
* 1000001: Search shade
* 1000010: search result tabs
* 1000050: Search entry box


= Style Guide =  
= Style Guide =  
68

edits