-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtree.scss
108 lines (85 loc) · 1.71 KB
/
tree.scss
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
97
98
99
100
101
102
103
104
105
106
107
108
/* Tree component
-----------------------------------------------------*/
.tree-component {
font-size: 12px;
padding: 10px;
}
.tree-component .tree-node {
padding: 2px 0px;
padding-left: 20px;
overflow: auto;
position: relative;
}
.tree-component .tree-node a {
color: #999;
}
.tree-component .tree-node a:hover {
color: rgba(0, 0, 0, 0.5);
}
.tree-component .tree-node:hover {
/*background: #eee;*/
}
.tree-component .tree-node .expand-toggle {
display: block;
position: absolute;
padding: 2px 6px;
top: -2px;
/*color: #444;*/
left: 5px;
}
.tree-component .tree-node .select-toggle {
position: absolute;
left: 25px;
/*color: #444;*/
margin-right: 10px;
font-size: 15px;
}
.tree-component .tree-node .name {
display: block;
font-weight: 600;
/*color: #777;*/
padding-left: 25px;
}
/* Tree list component
-----------------------------------------------------*/
.tree-list-component {
font-size: 12px;
padding: 10px;
}
.tree-list-component .tree-node {
padding: 2px 0px;
padding-left: 20px;
overflow: auto;
position: relative;
}
.tree-list-component .tree-node a {
color: #999;
}
.tree-list-component .tree-node:hover > a {
color: rgba(0, 0, 0, 0.5);
}
.tree-list-component .tree-node.selected > a {
color: #333;
}
.tree-list-component .tree-node:hover {
/*background: #eee;*/
}
.tree-list-component .tree-node .expand-toggle {
display: block;
position: absolute;
padding: 2px 6px;
top: -2px;
/*color: #444;*/
left: 5px;
}
.tree-list-component .tree-node .select-toggle {
position: absolute;
left: 25px;
/*color: #444;*/
margin-right: 10px;
font-size: 15px;
}
.tree-list-component .tree-node .name {
display: block;
font-weight: 600;
}