Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/third_party/closure/goog/css/tree.css
4005 views
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
@provide 'goog.css.tree';
9
10
/*
11
TODO(arv): Currently the sprite image has the height 16px. We should make the
12
image taller which would allow better flexibility when it comes to the height
13
of a tree row.
14
*/
15
16
.goog-tree-root:focus {
17
outline: none;
18
}
19
20
.goog-tree-row {
21
white-space: nowrap;
22
font: icon;
23
line-height: 16px;
24
height: 16px;
25
}
26
27
.goog-tree-row span {
28
overflow: hidden;
29
text-overflow: ellipsis;
30
}
31
32
.goog-tree-children {
33
background-repeat: repeat-y;
34
background-image: url(//ssl.gstatic.com/closure/tree/I.png) !important;
35
background-position-y: 1px !important; /* IE only */
36
font: icon;
37
}
38
39
.goog-tree-children-nolines {
40
font: icon;
41
}
42
43
.goog-tree-icon {
44
background-image: url(//ssl.gstatic.com/closure/tree/tree.png);
45
}
46
47
.goog-tree-expand-icon {
48
vertical-align: middle;
49
height: 16px;
50
width: 16px;
51
cursor: default;
52
}
53
54
.goog-tree-expand-icon-plus {
55
width: 19px;
56
background-position: 0 0;
57
}
58
59
.goog-tree-expand-icon-minus {
60
width: 19px;
61
background-position: -24px 0;
62
}
63
64
.goog-tree-expand-icon-tplus {
65
width: 19px;
66
background-position: -48px 0;
67
}
68
69
.goog-tree-expand-icon-tminus {
70
width: 19px;
71
background-position: -72px 0;
72
}
73
74
.goog-tree-expand-icon-lplus {
75
width: 19px;
76
background-position: -96px 0;
77
}
78
79
.goog-tree-expand-icon-lminus {
80
width: 19px;
81
background-position: -120px 0;
82
}
83
84
.goog-tree-expand-icon-t {
85
width: 19px;
86
background-position: -144px 0;
87
}
88
89
.goog-tree-expand-icon-l {
90
width: 19px;
91
background-position: -168px 0;
92
}
93
94
.goog-tree-expand-icon-blank {
95
width: 19px;
96
background-position: -168px -24px;
97
}
98
99
.goog-tree-collapsed-folder-icon {
100
vertical-align: middle;
101
height: 16px;
102
width: 16px;
103
background-position: -0px -24px;
104
}
105
106
.goog-tree-expanded-folder-icon {
107
vertical-align: middle;
108
height: 16px;
109
width: 16px;
110
background-position: -24px -24px;
111
}
112
113
.goog-tree-file-icon {
114
vertical-align: middle;
115
height: 16px;
116
width: 16px;
117
background-position: -48px -24px;
118
}
119
120
.goog-tree-item-label {
121
margin-left: 3px;
122
padding: 1px 2px 1px 2px;
123
text-decoration: none;
124
color: WindowText;
125
cursor: default;
126
}
127
128
.goog-tree-item-label:hover {
129
text-decoration: underline;
130
}
131
132
.selected .goog-tree-item-label {
133
background-color: ButtonFace;
134
color: ButtonText;
135
}
136
137
.focused .selected .goog-tree-item-label {
138
background-color: Highlight;
139
color: HighlightText;
140
}
141
142
.goog-tree-hide-root {
143
display: none;
144
}
145
146