forked from mbraak/jqTree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jqtree.css
129 lines (108 loc) · 1.89 KB
/
jqtree.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
ul.tree {
margin-left: 12px;
}
ul.tree,
ul.tree ul {
list-style: none outside;
margin-bottom: 0;
}
ul.tree ul {
display: block;
margin-left: 12px;
margin-right: 0;
}
ul.tree li.closed > ul {
display: none;
}
ul.tree li {
clear: both;
}
ul.tree .toggler {
background: url(treeDownTriangleBlack.png) no-repeat 0 50%;
width: 12px;
display: block;
position: absolute;
left: -12px;
text-indent: -9999px;
border-bottom: none;
}
ul.tree div {
cursor: pointer;
}
ul.tree .title {
margin-left: 12px;
color: #1C4257;
vertical-align: middle;
}
ul.tree li.folder {
margin-bottom: 4px;
}
ul.tree li.folder.closed {
margin-bottom: 1px;
}
ul.tree li.folder .title {
margin-left: 0;
}
ul.tree .toggler.closed {
background-image: url(treeRightTriangleBlack.png);
}
span.tree-dragging {
color: #fff;
background: #000;
opacity: 0.6;
cursor: pointer;
padding: 2px 8px;
}
ul.tree li.ghost {
position: relative;
z-index: 10;
}
ul.tree li.ghost span {
display: block;
}
ul.tree li.ghost span.circle {
background: url(circle.png) no-repeat;
height: 8px;
width: 8px;
position: absolute;
top: -4px;
left: 2px;
}
ul.tree li.ghost span.line {
background-color: #0000ff;
height: 2px;
padding: 0;
position: absolute;
top: -1px;
left: 10px;
width: 100%;
}
ul.tree li.ghost.inside {
margin-left: 48px;
}
ul.tree span.tree-hit {
position: absolute;
display: block;
}
ul.tree span.border {
position: absolute;
display: block;
left: -2px;
top: 0;
border: solid 2px #0000ff;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
margin: 0;
}
ul.tree div {
width: 100%;
position: relative;
}
ul.tree li.selected > div,
ul.tree li.selected > div:hover {
background-color: #97BDD6;
background: -webkit-gradient(linear, left top, left bottom, from(#BEE0F5), to(#89AFCA));
background: -moz-linear-gradient(top, #BEE0F5, #89AFCA);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}