forked from mbraak/jqTree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jqtree.css
139 lines (119 loc) · 2.84 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
130
131
132
133
134
135
136
137
138
139
ul.jqtree-tree {
margin-left: 12px;
}
ul.jqtree-tree,
ul.jqtree-tree ul.jqtree_common {
list-style: none outside;
margin-bottom: 0;
padding: 0;
}
ul.jqtree-tree ul.jqtree_common {
display: block;
margin-left: 12px;
margin-right: 0;
}
ul.jqtree-tree li.jqtree-closed > ul.jqtree_common {
display: none;
}
ul.jqtree-tree li.jqtree_common {
clear: both;
list-style-type: none;
}
ul.jqtree-tree .jqtree-toggler {
display: block;
position: absolute;
left: -1.5em;
top: 30%;
*top: 0; /* fix for ie7 */
font-size: 12px;
line-height: 12px;
font-family: arial; /* fix for ie9 */
border-bottom: none;
color: #333;
}
ul.jqtree-tree .jqtree-toggler:hover {
color: #000;
}
ul.jqtree-tree .jqtree-element {
cursor: pointer;
}
ul.jqtree-tree .jqtree-title {
color: #1C4257;
vertical-align: middle;
}
ul.jqtree-tree li.jqtree-folder {
margin-bottom: 4px;
}
ul.jqtree-tree li.jqtree-folder.jqtree-closed {
margin-bottom: 1px;
}
ul.jqtree-tree li.jqtree-folder .jqtree-title {
margin-left: 0;
}
ul.jqtree-tree .jqtree-toggler.jqtree-closed {
background-position: 0 0;
}
span.jqtree-dragging {
color: #fff;
background: #000;
opacity: 0.6;
cursor: pointer;
padding: 2px 8px;
}
ul.jqtree-tree li.jqtree-ghost {
position: relative;
z-index: 10;
margin-right: 10px;
}
ul.jqtree-tree li.jqtree-ghost span {
display: block;
}
ul.jqtree-tree li.jqtree-ghost span.jqtree-circle {
background-image: url(jqtree-circle.png);
background-repeat: no-repeat;
height: 8px;
width: 8px;
position: absolute;
top: -4px;
left: 2px;
}
ul.jqtree-tree li.jqtree-ghost span.jqtree-line {
background-color: #0000ff;
height: 2px;
padding: 0;
position: absolute;
top: -1px;
left: 10px;
width: 100%;
}
ul.jqtree-tree li.jqtree-ghost.jqtree-inside {
margin-left: 48px;
}
ul.jqtree-tree span.jqtree-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.jqtree-tree .jqtree-element {
width: 100%; /* todo: why is this in here? */
*width: auto; /* ie7 fix; issue 41 */
position: relative;
}
ul.jqtree-tree li.jqtree-selected > .jqtree-element,
ul.jqtree-tree li.jqtree-selected > .jqtree-element:hover {
background-color: #97BDD6;
background: -webkit-gradient(linear, left top, left bottom, from(#BEE0F5), to(#89AFCA));
background: -moz-linear-gradient(top, #BEE0F5, #89AFCA);
background: -ms-linear-gradient(top, #BEE0F5, #89AFCA);
background: -o-linear-gradient(top, #BEE0F5, #89AFCA);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
ul.jqtree-tree .jqtree-moving > .jqtree-element .jqtree-title {
outline: dashed 1px #0000ff;
}