2 Copyright (c) 2008, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.net/yui/license.txt
8 /* the style of the div around each node */
12 margin-bottom:0; border:none
;
16 border: none
; padding: 0;
19 /* first or middle sibling, no children */
21 width:18px; height:22px;
22 background: url
(treeview-sprite
.gif
) 0 -5600px no-repeat
;
25 /* first or middle sibling, collapsable */
27 width:18px; height:22px;
29 background: url
(treeview-sprite
.gif
) 0 -4000px no-repeat
;
32 /* first or middle sibling, collapsable, hover */
34 width:18px; height:22px;
36 background: url
(treeview-sprite
.gif
) 0 -4800px no-repeat
;
39 /* first or middle sibling, expandable */
41 width:18px; height:22px;
43 background: url
(treeview-sprite
.gif
) 0 -6400px no-repeat
;
46 /* first or middle sibling, expandable, hover */
48 width:18px; height:22px;
50 background: url
(treeview-sprite
.gif
) 0 -7200px no-repeat
;
53 /* last sibling, no children */
55 width:18px; height:22px;
56 background: url
(treeview-sprite
.gif
) 0 -1600px no-repeat
;
59 /* Last sibling, collapsable */
61 width:18px; height:22px;
63 background: url
(treeview-sprite
.gif
) 0 0px no-repeat
;
66 /* Last sibling, collapsable, hover */
68 width:18px; height:22px;
70 background: url
(treeview-sprite
.gif
) 0 -800px no-repeat
;
73 /* Last sibling, expandable */
75 width:18px; height:22px;
77 background: url
(treeview-sprite
.gif
) 0 -2400px no-repeat
;
80 /* Last sibling, expandable, hover */
82 width:18px; height:22px; cursor:pointer
;
83 background: url
(treeview-sprite
.gif
) 0 -3200px no-repeat
;
88 width:18px; height:22px;
89 background: url
(treeview-loading
.gif
) 0 0 no-repeat
;
92 /* the style for the empty cells that are used for rendering the depth
95 width:18px; height:22px;
96 background: url
(treeview-sprite
.gif
) 0 -8000px no-repeat
;
99 .ygtvblankdepthcell { width:18px; height:22px; }
102 /* the style of the div around each node's collection of children */
104 * html
.ygtvchildren
{ height:2%; }
106 /* the style of the text label in ygTextNode */
107 .ygtvlabel, .ygtvlabel:link, .ygtvlabel:visited, .ygtvlabel:hover {
109 text-decoration: none
;
110 background-color: white
; /* workaround for IE font smoothing bug */
113 .ygtvspacer { height: 22px; width: 12px; }