forked from chenglou/react-treeview
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact-treeview.css
More file actions
39 lines (33 loc) · 727 Bytes
/
react-treeview.css
File metadata and controls
39 lines (33 loc) · 727 Bytes
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
/* the tree node's style */
.tree-view {
overflow-y: hidden;
}
.tree-view_item {
/* immediate child of .tree-view, for styling convenience */
}
/* style for the children nodes container */
.tree-view_children {
margin-left: 16px;
}
.tree-view_children-collapsed {
height: 0px;
}
.tree-view_arrow {
cursor: pointer;
margin-right: 6px;
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.tree-view_arrow:after {
content: '▾';
}
/* rotate the triangle to close it */
.tree-view_arrow-collapsed {
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
transform: rotate(-90deg);
}