[Project_owners] Styling folders in trees

Eric H. Jung grimholtz at yahoo.com
Mon Apr 10 13:50:15 EDT 2006


Thanks, but all of this is moot anyway. I only wanted to style the tree for drag-and-drop which,
as you pointed out to me in a previous thread, is fairly buggy right now.


--- Neil <neil at parkwaycc.co.uk> wrote:

> HJ wrote:
> 
> > treechildren::-moz-tree-cell-text(selected) {}
> > treechildren::-moz-tree-row(selected) {} 
> 
> You'll also want to consider the current and focus flags. Generally, we have
> (selected) tree does not have focus
> (selected, focus) tree has focus, but this is one row of a multiple 
> selection
> (current, focus) this row is current and focused but not selected
> (selected, current, focus) this is the currently focused row
> Note that the Modern theme simplifies this because the (current, focus) 
> and (selected, focus) rules are exactly those it needs for (selected, 
> current, focus).
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 



More information about the Project_owners mailing list