Debian Codegraph @

closure-library/closure/goog/css/tree.css

raw
1 /*
2 * Copyright 2007 The Closure Library Authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by the Apache License, Version 2.0.
5 * See the COPYING file for details.
6 */
7
8 /* Author: [email protected] (Erik Arvidsson) */
9 /* Author: [email protected] (Emil A Eklund) */
10 /* Author: [email protected] (Jon Perlow) */
11
12 /*
13 TODO(arv): Currently the sprite image has the height 16px. We should make the
14 image taller which would allow better flexibility when it comes to the height
15 of a tree row.
16 */
17
18 .goog-tree-root:focus {
19 outline: none;
20 }
21
22 .goog-tree-row {
23 white-space: nowrap;
24 font: icon;
25 line-height: 16px;
26 height: 16px;
27 }
28
29 .goog-tree-row span {
30 overflow: hidden;
31 text-overflow: ellipsis;
32 }
33
34 .goog-tree-children {
35 background-repeat: repeat-y;
36 background-image: url(//ssl.gstatic.com/closure/tree/I.png) !important;
37 background-position-y: 1px !important; /* IE only */
38 font: icon;
39 }
40
41 .goog-tree-children-nolines {
42 font: icon;
43 }
44
45 .goog-tree-icon {
46 background-image: url(//ssl.gstatic.com/closure/tree/tree.png);
47 }
48
49 .goog-tree-expand-icon {
50 vertical-align: middle;
51 height: 16px;
52 width: 16px;
53 cursor: default;
54 }
55
56 .goog-tree-expand-icon-plus {
57 width: 19px;
58 background-position: 0 0;
59 }
60
61 .goog-tree-expand-icon-minus {
62 width: 19px;
63 background-position: -24px 0;
64 }
65
66 .goog-tree-expand-icon-tplus {
67 width: 19px;
68 background-position: -48px 0;
69 }
70
71 .goog-tree-expand-icon-tminus {
72 width: 19px;
73 background-position: -72px 0;
74 }
75
76 .goog-tree-expand-icon-lplus {
77 width: 19px;
78 background-position: -96px 0;
79 }
80
81 .goog-tree-expand-icon-lminus {
82 width: 19px;
83 background-position: -120px 0;
84 }
85
86 .goog-tree-expand-icon-t {
87 width: 19px;
88 background-position: -144px 0;
89 }
90
91 .goog-tree-expand-icon-l {
92 width: 19px;
93 background-position: -168px 0;
94 }
95
96 .goog-tree-expand-icon-blank {
97 width: 19px;
98 background-position: -168px -24px;
99 }
100
101 .goog-tree-collapsed-folder-icon {
102 vertical-align: middle;
103 height: 16px;
104 width: 16px;
105 background-position: -0px -24px;
106 }
107
108 .goog-tree-expanded-folder-icon {
109 vertical-align: middle;
110 height: 16px;
111 width: 16px;
112 background-position: -24px -24px;
113 }
114
115 .goog-tree-file-icon {
116 vertical-align: middle;
117 height: 16px;
118 width: 16px;
119 background-position: -48px -24px;
120 }
121
122 .goog-tree-item-label {
123 margin-left: 3px;
124 padding: 1px 2px 1px 2px;
125 text-decoration: none;
126 color: WindowText;
127 cursor: default;
128 }
129
130 .goog-tree-item-label:hover {
131 text-decoration: underline;
132 }
133
134 .selected .goog-tree-item-label {
135 background-color: ButtonFace;
136 color: ButtonText;
137 }
138
139 .focused .selected .goog-tree-item-label {
140 background-color: Highlight;
141 color: HighlightText;
142 }
143
144 .goog-tree-hide-root {
145 display: none;
146 }