-
Notifications
You must be signed in to change notification settings - Fork 51
/
tree-view.css
98 lines (58 loc) · 1.27 KB
/
tree-view.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/*
<classNamePrefix>-root
The outer container
*/
.tree-view-root {}
/*
<classNamePrefix>-root
The outer container for a single node
*/
.tree-view-node {
margin-left: 10px;
}
/*
<classNamePrefix>-node-collapse-toggle.collapse-spacer
Used to provide spacing when a parent node has no children
*/
.tree-view-node-collapse-toggle.collapse-spacer {
width: 14px;
display: inline-block;
}
/*
<classNamePrefix>-node-collapse-toggle.<expandIconClass>
The class to use for the icon that expands a collapsed parent node
*/
/*
<classNamePrefix>-node-collapse-toggle.<collapseIconClass>
The class to use for the icon that collapses an expanded parent node
*/
.tree-view-node-collapse-toggle {
margin-right: 3px;
width: 14px;
}
/*
<classNamePrefix>-node-label
*/
.tree-view-node-label {
margin-left: 3px;
padding: 1px;
border: 1px solid #fff;
}
/*
<classNamePrefix>-node-label.selected
*/
.tree-view-node-label.selected {
border: 1px solid #003f81;
border-radius: 3px;
background-color: #808080;
}
/*
<classNamePrefix>-node-checkbox
The class for a node checkbox
*/
.tree-view-node-checkbox {}
/*
<classNamePrefix>-node-children
The class for the element that wraps a nodes children (if any exist)
*/
.tree-view-node-children {}