fancytree-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +50 -0
- data/Rakefile +1 -0
- data/fancytree-rails.gemspec +27 -0
- data/lib/fancytree-rails.rb +1 -0
- data/lib/fancytree/rails.rb +7 -0
- data/lib/fancytree/rails/engine.rb +4 -0
- data/lib/fancytree/rails/version.rb +6 -0
- data/vendor/assets/javascripts/fancytree.js +2 -0
- data/vendor/assets/javascripts/fancytree/jquery.fancytree-all.js +5366 -0
- data/vendor/assets/javascripts/fancytree/jquery.fancytree-all.min.js +6 -0
- data/vendor/assets/javascripts/fancytree/jquery.fancytree-all.min.js.map +1 -0
- data/vendor/assets/javascripts/fancytree/jquery.fancytree.js +3715 -0
- data/vendor/assets/javascripts/fancytree/jquery.fancytree.min.js +6 -0
- data/vendor/assets/javascripts/fancytree/jquery.fancytree.min.js.map +1 -0
- data/vendor/assets/stylesheets/skin-awesome/ui.fancytree.css +272 -0
- data/vendor/assets/stylesheets/skin-lion/icons.gif +0 -0
- data/vendor/assets/stylesheets/skin-lion/loading.gif +0 -0
- data/vendor/assets/stylesheets/skin-lion/ui.fancytree-org.css +460 -0
- data/vendor/assets/stylesheets/skin-lion/ui.fancytree.css +453 -0
- data/vendor/assets/stylesheets/skin-themeroller/icons.gif +0 -0
- data/vendor/assets/stylesheets/skin-themeroller/loading.gif +0 -0
- data/vendor/assets/stylesheets/skin-themeroller/ui.fancytree-org.css +505 -0
- data/vendor/assets/stylesheets/skin-themeroller/ui.fancytree.css +505 -0
- data/vendor/assets/stylesheets/skin-vista/icons.gif +0 -0
- data/vendor/assets/stylesheets/skin-vista/loading.gif +0 -0
- data/vendor/assets/stylesheets/skin-vista/ui.fancytree-org.css +610 -0
- data/vendor/assets/stylesheets/skin-vista/ui.fancytree.css +459 -0
- data/vendor/assets/stylesheets/skin-win7/icons.gif +0 -0
- data/vendor/assets/stylesheets/skin-win7/loading.gif +0 -0
- data/vendor/assets/stylesheets/skin-win7/ui.fancytree-org.css +592 -0
- data/vendor/assets/stylesheets/skin-win7/ui.fancytree.css +523 -0
- data/vendor/assets/stylesheets/skin-win8/icons.gif +0 -0
- data/vendor/assets/stylesheets/skin-win8/loading.gif +0 -0
- data/vendor/assets/stylesheets/skin-win8/ui.fancytree-org.css +602 -0
- data/vendor/assets/stylesheets/skin-win8/ui.fancytree.css +470 -0
- data/vendor/assets/stylesheets/skin-xp/icons-rtl.gif +0 -0
- data/vendor/assets/stylesheets/skin-xp/icons.gif +0 -0
- data/vendor/assets/stylesheets/skin-xp/loading.gif +0 -0
- data/vendor/assets/stylesheets/skin-xp/ui.fancytree-org.css +578 -0
- data/vendor/assets/stylesheets/skin-xp/ui.fancytree.css +450 -0
- data/vendor/assets/stylesheets/skin-xp/vline-rtl.gif +0 -0
- data/vendor/assets/stylesheets/skin-xp/vline.gif +0 -0
- data/vendor/assets/stylesheets/ui.fancytree.css +3 -0
- metadata +166 -0
Binary file
|
Binary file
|
@@ -0,0 +1,592 @@
|
|
1
|
+
/*
|
2
|
+
* Fancytree Vista styles
|
3
|
+
* (See also vista_colors.txt)
|
4
|
+
*/
|
5
|
+
.ui-helper-hidden {
|
6
|
+
display: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
.fancytree-container
|
10
|
+
{
|
11
|
+
font-family: tahoma, arial, helvetica;
|
12
|
+
font-size: 10pt; /* font size should not be too big */
|
13
|
+
white-space: nowrap;
|
14
|
+
padding: 3px;
|
15
|
+
margin: 0; // issue 201
|
16
|
+
background-color: #FCFCFC;
|
17
|
+
border: 1px dotted gray;
|
18
|
+
overflow: auto;
|
19
|
+
height: 100%; // issue 263
|
20
|
+
}
|
21
|
+
|
22
|
+
ul.fancytree-container ul
|
23
|
+
{
|
24
|
+
padding: 0 0 0 16px;
|
25
|
+
margin: 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
ul.fancytree-container li
|
29
|
+
{
|
30
|
+
list-style-image: none;
|
31
|
+
list-style-position: outside;
|
32
|
+
list-style-type: none;
|
33
|
+
-moz-background-clip: border;
|
34
|
+
-moz-background-inline-policy: continuous;
|
35
|
+
-moz-background-origin: padding;
|
36
|
+
background-attachment: scroll;
|
37
|
+
background-color: transparent;
|
38
|
+
background-position: 0 0;
|
39
|
+
background-repeat: repeat-y;
|
40
|
+
background-image: none; /* no v-lines */
|
41
|
+
|
42
|
+
margin:0;
|
43
|
+
padding:1px 0 0 0;
|
44
|
+
}
|
45
|
+
/* Suppress lines for last child node */
|
46
|
+
ul.fancytree-container li.fancytree-lastsib
|
47
|
+
{
|
48
|
+
background-image: none;
|
49
|
+
}
|
50
|
+
/* Suppress lines if level is fixed expanded (option minExpandLevel) */
|
51
|
+
ul.fancytree-no-connector > li
|
52
|
+
{
|
53
|
+
background-image: none;
|
54
|
+
}
|
55
|
+
|
56
|
+
/* Style, when control is disabled */
|
57
|
+
.ui-fancytree-disabled ul.fancytree-container
|
58
|
+
{
|
59
|
+
opacity: 0.5;
|
60
|
+
/* filter: alpha(opacity=50); /* Yields a css warning */
|
61
|
+
background-color: silver;
|
62
|
+
}
|
63
|
+
|
64
|
+
|
65
|
+
/*******************************************************************************
|
66
|
+
* Common icon definitions
|
67
|
+
*/
|
68
|
+
span.fancytree-empty,
|
69
|
+
span.fancytree-vline,
|
70
|
+
span.fancytree-expander,
|
71
|
+
span.fancytree-icon,
|
72
|
+
span.fancytree-checkbox,
|
73
|
+
span.fancytree-radio,
|
74
|
+
span.fancytree-drag-helper-img,
|
75
|
+
#fancytree-drop-marker
|
76
|
+
{
|
77
|
+
width: 16px;
|
78
|
+
height: 16px;
|
79
|
+
display: inline-block; /* Required to make a span sizable */
|
80
|
+
vertical-align: top;
|
81
|
+
background-repeat: no-repeat;
|
82
|
+
background-position: left;
|
83
|
+
background-image: url("icons.gif");
|
84
|
+
background-position: 0 0;
|
85
|
+
}
|
86
|
+
/** Used by iconclass option */
|
87
|
+
span.fancytree-custom-icon {
|
88
|
+
display: inline-block;
|
89
|
+
}
|
90
|
+
/** Used by 'icon' node option: */
|
91
|
+
.fancytree-container img
|
92
|
+
{
|
93
|
+
width: 16px;
|
94
|
+
height: 16px;
|
95
|
+
margin-left: 3px;
|
96
|
+
vertical-align: top;
|
97
|
+
border-style: none;
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
/*******************************************************************************
|
102
|
+
* Lines and connectors
|
103
|
+
*/
|
104
|
+
/* span.fancytree-connector
|
105
|
+
{
|
106
|
+
background-image: none;
|
107
|
+
}
|
108
|
+
*/
|
109
|
+
/*******************************************************************************
|
110
|
+
* Expander icon
|
111
|
+
* Note: IE6 doesn't correctly evaluate multiples class names,
|
112
|
+
* so we create combined class names that can be used in the CSS.
|
113
|
+
*
|
114
|
+
* Prefix: fancytree-exp-
|
115
|
+
* 1st character: 'e': expanded, 'c': collapsed, 'n': no children
|
116
|
+
* 2nd character (optional): 'd': lazy (Delayed)
|
117
|
+
* 3rd character (optional): 'l': Last sibling
|
118
|
+
*/
|
119
|
+
|
120
|
+
span.fancytree-expander
|
121
|
+
{
|
122
|
+
background-position: 0px -80px;
|
123
|
+
cursor: pointer;
|
124
|
+
}
|
125
|
+
span.fancytree-expander:hover
|
126
|
+
{
|
127
|
+
background-position: -16px -80px;
|
128
|
+
}
|
129
|
+
.fancytree-exp-n span.fancytree-expander:hover /* Collapsed, not delayed, not last sibling */
|
130
|
+
{
|
131
|
+
background-position: -16px -80px;
|
132
|
+
}
|
133
|
+
.fancytree-exp-cl span.fancytree-expander /* Collapsed, not delayed, last sibling */
|
134
|
+
{
|
135
|
+
}
|
136
|
+
.fancytree-exp-cd span.fancytree-expander /* Collapsed, delayed, not last sibling */
|
137
|
+
{
|
138
|
+
}
|
139
|
+
.fancytree-exp-cdl span.fancytree-expander /* Collapsed, delayed, last sibling */
|
140
|
+
{
|
141
|
+
}
|
142
|
+
.fancytree-exp-e span.fancytree-expander, /* Expanded, not delayed, not last sibling */
|
143
|
+
.fancytree-exp-ed span.fancytree-expander, /* Expanded, delayed, not last sibling */
|
144
|
+
.fancytree-exp-el span.fancytree-expander, /* Expanded, not delayed, last sibling */
|
145
|
+
.fancytree-exp-edl span.fancytree-expander /* Expanded, delayed, last sibling */
|
146
|
+
{
|
147
|
+
background-position: -32px -80px;
|
148
|
+
}
|
149
|
+
.fancytree-exp-e span.fancytree-expander:hover, /* Expanded, not delayed, not last sibling */
|
150
|
+
.fancytree-exp-ed span.fancytree-expander:hover, /* Expanded, delayed, not last sibling */
|
151
|
+
.fancytree-exp-el span.fancytree-expander:hover, /* Expanded, not delayed, last sibling */
|
152
|
+
.fancytree-exp-edl span.fancytree-expander:hover /* Expanded, delayed, last sibling */
|
153
|
+
{
|
154
|
+
background-position: -48px -80px;
|
155
|
+
}
|
156
|
+
.fancytree-loading span.fancytree-expander /* 'Loading' status overrides all others */
|
157
|
+
{
|
158
|
+
background-position: 0 0;
|
159
|
+
background-image: url("loading.gif");
|
160
|
+
}
|
161
|
+
|
162
|
+
.fancytree-exp-n span.fancytree-expander, /* Connector instead of expander, if node has no children */
|
163
|
+
.fancytree-exp-nl span.fancytree-expander
|
164
|
+
{
|
165
|
+
background-image: none;
|
166
|
+
cursor: default;
|
167
|
+
}
|
168
|
+
|
169
|
+
|
170
|
+
/*******************************************************************************
|
171
|
+
* Checkbox icon
|
172
|
+
*/
|
173
|
+
span.fancytree-checkbox {
|
174
|
+
margin-left: 3px;
|
175
|
+
background-position: 0px -32px;
|
176
|
+
}
|
177
|
+
span.fancytree-checkbox:hover { background-position: -16px -32px; }
|
178
|
+
.fancytree-partsel span.fancytree-checkbox { background-position: -64px -32px; }
|
179
|
+
.fancytree-partsel span.fancytree-checkbox:hover { background-position: -80px -32px; }
|
180
|
+
.fancytree-selected span.fancytree-checkbox { background-position: -32px -32px; }
|
181
|
+
.fancytree-selected span.fancytree-checkbox:hover { background-position: -48px -32px; }
|
182
|
+
|
183
|
+
/*******************************************************************************
|
184
|
+
* Radiobutton icon
|
185
|
+
*/
|
186
|
+
.fancytree-radio span.fancytree-checkbox {
|
187
|
+
margin-left: 3px;
|
188
|
+
background-position: 0px -48px;
|
189
|
+
}
|
190
|
+
.fancytree-radio span.fancytree-checkbox:hover { background-position: -16px -48px; }
|
191
|
+
.fancytree-radio .fancytree-partsel span.fancytree-checkbox { background-position: -64px -48px; }
|
192
|
+
.fancytree-radio .fancytree-partsel span.fancytree-checkbox:hover { background-position: -80px -48px; }
|
193
|
+
.fancytree-radio .fancytree-selected span.fancytree-checkbox { background-position: -32px -48px; }
|
194
|
+
.fancytree-radio .fancytree-selected span.fancytree-checkbox:hover { background-position: -48px -48px; }
|
195
|
+
|
196
|
+
/*******************************************************************************
|
197
|
+
* Node type icon
|
198
|
+
* Note: IE6 doesn't correctly evaluate multiples class names,
|
199
|
+
* so we create combined class names that can be used in the CSS.
|
200
|
+
*
|
201
|
+
* Prefix: fancytree-ico-
|
202
|
+
* 1st character: 'e': expanded, 'c': collapsed
|
203
|
+
* 2nd character (optional): 'f': folder
|
204
|
+
*/
|
205
|
+
span.fancytree-icon /* Default icon */
|
206
|
+
{
|
207
|
+
margin-left: 3px;
|
208
|
+
background-position: 0px 0px;
|
209
|
+
}
|
210
|
+
.fancytree-ico-cf span.fancytree-icon { background-position: 0px -16px; } /* Collapsed Folder */
|
211
|
+
.fancytree-ico-ef span.fancytree-icon { background-position: -64px -16px; } /* Expanded Folder */
|
212
|
+
.fancytree-statusnode-wait span.fancytree-icon { background-image: url("loading.gif"); } /* Status node icons */
|
213
|
+
.fancytree-statusnode-error span.fancytree-icon { background-position: 0px -112px; }
|
214
|
+
|
215
|
+
/*******************************************************************************
|
216
|
+
* Node titles
|
217
|
+
*/
|
218
|
+
.fancytree-title
|
219
|
+
{
|
220
|
+
display: inline-block; /* Better alignment, when title contains <br> */
|
221
|
+
padding-left: 3px;
|
222
|
+
padding-right: 3px; /* Otherwise italic font will be outside bounds */
|
223
|
+
color: black; /* inherit doesn't work on IE */
|
224
|
+
vertical-align: top;
|
225
|
+
margin: 0px;
|
226
|
+
margin-left: 3px;
|
227
|
+
/* border: 1px solid #FCFCFC; /* reserve some space for status borders (Note: 'transparent' would not work in IE6) */
|
228
|
+
border: 1px solid transparent; /* reserve some space for status borders */
|
229
|
+
border-radius: 3px;
|
230
|
+
text-decoration: none;
|
231
|
+
cursor: pointer;
|
232
|
+
}
|
233
|
+
|
234
|
+
.fancytree-title:hover
|
235
|
+
{
|
236
|
+
border-color: #D8F0FA; /* darker light blue */
|
237
|
+
background: #f8fcfe; /* Old browsers */
|
238
|
+
background: -moz-linear-gradient(top, #f8fcfe 0%, #eff9fe 100%); /* FF3.6+ */
|
239
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8fcfe), color-stop(100%,#eff9fe)); /* Chrome,Safari4+ */
|
240
|
+
background: -webkit-linear-gradient(top, #f8fcfe 0%,#eff9fe 100%); /* Chrome10+,Safari5.1+ */
|
241
|
+
background: -o-linear-gradient(top, #f8fcfe 0%,#eff9fe 100%); /* Opera 11.10+ */
|
242
|
+
background: -ms-linear-gradient(top, #f8fcfe 0%,#eff9fe 100%); /* IE10+ */
|
243
|
+
background: linear-gradient(to bottom, #f8fcfe 0%,#eff9fe 100%); /* W3C */
|
244
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8fcfe', endColorstr='#eff9fe',GradientType=0 ); /* IE6-9 */
|
245
|
+
}
|
246
|
+
|
247
|
+
span.fancytree-folder .fancytree-title
|
248
|
+
{
|
249
|
+
/* font-weight: bold; */
|
250
|
+
}
|
251
|
+
|
252
|
+
span.fancytree-focused span.fancytree-title
|
253
|
+
{
|
254
|
+
outline: 1px dotted black;
|
255
|
+
}
|
256
|
+
/* Safari does not support outline on a tags?*/
|
257
|
+
/*
|
258
|
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
259
|
+
span.fancytree-focused a:link
|
260
|
+
{
|
261
|
+
border: 1px dotted black;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
*/
|
265
|
+
|
266
|
+
/* active nodes inside an UN-focused tree are gray instead of blue*/
|
267
|
+
span.fancytree-active .fancytree-title
|
268
|
+
{
|
269
|
+
border: 1px solid #D9D9D9;
|
270
|
+
background: #E5E5E5; /* gray, Old browsers */
|
271
|
+
background: -moz-linear-gradient(top, #fafafb 0%, #e5e5e5 100%); /* FF3.6+ */
|
272
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafb), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
|
273
|
+
background: -webkit-linear-gradient(top, #fafafb 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
|
274
|
+
background: -o-linear-gradient(top, #fafafb 0%,#e5e5e5 100%); /* Opera 11.10+ */
|
275
|
+
background: -ms-linear-gradient(top, #fafafb 0%,#e5e5e5 100%); /* IE10+ */
|
276
|
+
background: linear-gradient(to bottom, #fafafb 0%,#e5e5e5 100%); /* W3C */
|
277
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafb', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
|
278
|
+
}
|
279
|
+
|
280
|
+
.fancytree-treefocus span.fancytree-active .fancytree-title,
|
281
|
+
span.fancytree-selected .fancytree-title
|
282
|
+
{
|
283
|
+
border: 1px solid #99DEFD;
|
284
|
+
background: #f6fbfd; /* light blue, Old browsers */
|
285
|
+
background: -moz-linear-gradient(top, #f6fbfd 0%, #d5effc 100%); /* FF3.6+ */
|
286
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6fbfd), color-stop(100%,#d5effc)); /* Chrome,Safari4+ */
|
287
|
+
background: -webkit-linear-gradient(top, #f6fbfd 0%,#d5effc 100%); /* Chrome10+,Safari5.1+ */
|
288
|
+
background: -o-linear-gradient(top, #f6fbfd 0%,#d5effc 100%); /* Opera 11.10+ */
|
289
|
+
background: -ms-linear-gradient(top, #f6fbfd 0%,#d5effc 100%); /* IE10+ */
|
290
|
+
background: linear-gradient(to bottom, #f6fbfd 0%,#d5effc 100%); /* W3C */
|
291
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6fbfd', endColorstr='#d5effc',GradientType=0 ); /* IE6-9 */
|
292
|
+
}
|
293
|
+
|
294
|
+
span.fancytree-active .fancytree-title:hover,
|
295
|
+
span.fancytree-active.fancytree-focused .fancytree-title,
|
296
|
+
span.fancytree-selected .fancytree-title:hover,
|
297
|
+
span.fancytree-selected.fancytree-focused .fancytree-title
|
298
|
+
{
|
299
|
+
border: 1px solid #B6E6FB;
|
300
|
+
background: #f2f9fd; /* Old browsers */
|
301
|
+
background: -moz-linear-gradient(top, #f2f9fd 0%, #c4e8fa 100%); /* FF3.6+ */
|
302
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f9fd), color-stop(100%,#c4e8fa)); /* Chrome,Safari4+ */
|
303
|
+
background: -webkit-linear-gradient(top, #f2f9fd 0%,#c4e8fa 100%); /* Chrome10+,Safari5.1+ */
|
304
|
+
background: -o-linear-gradient(top, #f2f9fd 0%,#c4e8fa 100%); /* Opera 11.10+ */
|
305
|
+
background: -ms-linear-gradient(top, #f2f9fd 0%,#c4e8fa 100%); /* IE10+ */
|
306
|
+
background: linear-gradient(to bottom, #f2f9fd 0%,#c4e8fa 100%); /* W3C */
|
307
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f9fd', endColorstr='#c4e8fa',GradientType=0 ); /* IE6-9 */
|
308
|
+
}
|
309
|
+
|
310
|
+
/* File Explorer does not distinguish selected and active (if multiple nodes are selected,
|
311
|
+
) */
|
312
|
+
.NEVER span.fancytree-active .fancytree-title,
|
313
|
+
.NEVER span.fancytree-active.fancytree-focused .fancytree-title
|
314
|
+
{
|
315
|
+
border: 1px solid #3399FF;
|
316
|
+
background: #daedff; /* Old browsers */
|
317
|
+
background: -moz-linear-gradient(top, #daedff 0%, #b4d9ff 100%); /* FF3.6+ */
|
318
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#daedff), color-stop(100%,#b4d9ff)); /* Chrome,Safari4+ */
|
319
|
+
background: -webkit-linear-gradient(top, #daedff 0%,#b4d9ff 100%); /* Chrome10+,Safari5.1+ */
|
320
|
+
background: -o-linear-gradient(top, #daedff 0%,#b4d9ff 100%); /* Opera 11.10+ */
|
321
|
+
background: -ms-linear-gradient(top, #daedff 0%,#b4d9ff 100%); /* IE10+ */
|
322
|
+
background: linear-gradient(to bottom, #daedff 0%,#b4d9ff 100%); /* W3C */
|
323
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#daedff', endColorstr='#b4d9ff',GradientType=0 ); /* IE6-9 */
|
324
|
+
}
|
325
|
+
|
326
|
+
span.fancytree-selected .fancytree-title
|
327
|
+
{
|
328
|
+
font-style: italic;
|
329
|
+
}
|
330
|
+
|
331
|
+
span.fancytree-has-children .fancytree-title
|
332
|
+
{
|
333
|
+
}
|
334
|
+
|
335
|
+
span.fancytree-expanded .fancytree-title
|
336
|
+
{
|
337
|
+
}
|
338
|
+
|
339
|
+
|
340
|
+
/*******************************************************************************
|
341
|
+
* 'table' extension
|
342
|
+
*/
|
343
|
+
|
344
|
+
table.fancytree-ext-table {
|
345
|
+
/* border-spacing: 1;*/
|
346
|
+
border-collapse: collapse;
|
347
|
+
}
|
348
|
+
table.fancytree-ext-table {
|
349
|
+
border-collapse: collapse;
|
350
|
+
}
|
351
|
+
table.fancytree-ext-table tbody tr td {
|
352
|
+
border: 1px solid #EDEDED;
|
353
|
+
}
|
354
|
+
table.fancytree-ext-table tbody tr:hover td {
|
355
|
+
outline: 1px solid #D8F0FA;
|
356
|
+
background: #f8fcfe; /* Old browsers */
|
357
|
+
background: -moz-linear-gradient(top, #f8fcfe 0%, #eff9fe 100%); /* FF3.6+ */
|
358
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8fcfe), color-stop(100%,#eff9fe)); /* Chrome,Safari4+ */
|
359
|
+
background: -webkit-linear-gradient(top, #f8fcfe 0%,#eff9fe 100%); /* Chrome10+,Safari5.1+ */
|
360
|
+
background: -o-linear-gradient(top, #f8fcfe 0%,#eff9fe 100%); /* Opera 11.10+ */
|
361
|
+
background: -ms-linear-gradient(top, #f8fcfe 0%,#eff9fe 100%); /* IE10+ */
|
362
|
+
background: linear-gradient(to bottom, #f8fcfe 0%,#eff9fe 100%); /* W3C */
|
363
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8fcfe', endColorstr='#eff9fe',GradientType=0 ); /* IE6-9 */
|
364
|
+
}
|
365
|
+
table.fancytree-ext-table tbody tr.fancytree-focused {
|
366
|
+
background-color: #99DEFD;
|
367
|
+
outline: 1px dotted #090402;
|
368
|
+
}
|
369
|
+
table.fancytree-ext-table span.fancytree-focused span.fancytree-title {
|
370
|
+
outline: solid dotted black;
|
371
|
+
}
|
372
|
+
|
373
|
+
/* TODO: title get's a white background, when hovered!
|
374
|
+
undo standard node formatting
|
375
|
+
*/
|
376
|
+
table.fancytree-ext-table span.fancytree-title:hover {
|
377
|
+
border: 1px solid transparent;
|
378
|
+
background: inherit;
|
379
|
+
background: transparent;
|
380
|
+
background: none;
|
381
|
+
filter: none;
|
382
|
+
}
|
383
|
+
|
384
|
+
table.fancytree-ext-table tbody tr.fancytree-active,
|
385
|
+
table.fancytree-ext-table tbody tr.fancytree-selected {
|
386
|
+
background: #f6fbfd; /* Old browsers */
|
387
|
+
outline: 1px solid #99DEFD;
|
388
|
+
background: -moz-linear-gradient(top, #f6fbfd 0%, #d5effc 100%); /* FF3.6+ */
|
389
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6fbfd), color-stop(100%,#d5effc)); /* Chrome,Safari4+ */
|
390
|
+
background: -webkit-linear-gradient(top, #f6fbfd 0%,#d5effc 100%); /* Chrome10+,Safari5.1+ */
|
391
|
+
background: -o-linear-gradient(top, #f6fbfd 0%,#d5effc 100%); /* Opera 11.10+ */
|
392
|
+
background: -ms-linear-gradient(top, #f6fbfd 0%,#d5effc 100%); /* IE10+ */
|
393
|
+
background: linear-gradient(to bottom, #f6fbfd 0%,#d5effc 100%); /* W3C */
|
394
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6fbfd', endColorstr='#d5effc',GradientType=0 ); /* IE6-9 */
|
395
|
+
}
|
396
|
+
table.fancytree-ext-table tbody tr.fancytree-selected .fancytree-title
|
397
|
+
{
|
398
|
+
font-style: italic;
|
399
|
+
}
|
400
|
+
table.fancytree-ext-table tbody tr.fancytree-active:hover,
|
401
|
+
table.fancytree-ext-table tbody tr.fancytree-selected:hover {
|
402
|
+
background: #f2f9fd; /* Old browsers */
|
403
|
+
outline: 1px solid #B6E6FB;
|
404
|
+
background: -moz-linear-gradient(top, #f2f9fd 0%, #c4e8fa 100%); /* FF3.6+ */
|
405
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f9fd), color-stop(100%,#c4e8fa)); /* Chrome,Safari4+ */
|
406
|
+
background: -webkit-linear-gradient(top, #f2f9fd 0%,#c4e8fa 100%); /* Chrome10+,Safari5.1+ */
|
407
|
+
background: -o-linear-gradient(top, #f2f9fd 0%,#c4e8fa 100%); /* Opera 11.10+ */
|
408
|
+
background: -ms-linear-gradient(top, #f2f9fd 0%,#c4e8fa 100%); /* IE10+ */
|
409
|
+
background: linear-gradient(to bottom, #f2f9fd 0%,#c4e8fa 100%); /* W3C */
|
410
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f9fd', endColorstr='#c4e8fa',GradientType=0 ); /* IE6-9 */
|
411
|
+
}
|
412
|
+
/*
|
413
|
+
table.fancytree-ext-table tbody tr.fancytree-selected {
|
414
|
+
background-color: #99FDDE;
|
415
|
+
}
|
416
|
+
*/
|
417
|
+
|
418
|
+
|
419
|
+
/*******************************************************************************
|
420
|
+
* 'columnview' extension
|
421
|
+
*/
|
422
|
+
|
423
|
+
/*
|
424
|
+
table.fancytree-ext-columnview {
|
425
|
+
border-collapse: collapse;
|
426
|
+
width: 100%;
|
427
|
+
}
|
428
|
+
*/
|
429
|
+
table.fancytree-ext-columnview td >ul
|
430
|
+
{
|
431
|
+
padding: 0;
|
432
|
+
}
|
433
|
+
table.fancytree-ext-columnview td >ul li
|
434
|
+
{
|
435
|
+
list-style-image: none;
|
436
|
+
list-style-position: outside;
|
437
|
+
list-style-type: none;
|
438
|
+
-moz-background-clip:border;
|
439
|
+
-moz-background-inline-policy: continuous;
|
440
|
+
-moz-background-origin: padding;
|
441
|
+
background-attachment: scroll;
|
442
|
+
background-color: transparent;
|
443
|
+
background-position: 0 0;
|
444
|
+
background-repeat: repeat-y;
|
445
|
+
background-image: none; /* no v-lines */
|
446
|
+
|
447
|
+
margin: 0;
|
448
|
+
padding: 1px 0 0 0;
|
449
|
+
}
|
450
|
+
/*
|
451
|
+
table.fancytree-ext-columnview tbody tr[0] {
|
452
|
+
height: 200px;
|
453
|
+
}
|
454
|
+
*/
|
455
|
+
table.fancytree-ext-columnview tbody tr td {
|
456
|
+
border: 1px solid gray;
|
457
|
+
vertical-align: top;
|
458
|
+
overflow: auto;
|
459
|
+
}
|
460
|
+
table.fancytree-ext-columnview span.fancytree-node {
|
461
|
+
display: inline-block;
|
462
|
+
width: 100%;
|
463
|
+
}
|
464
|
+
table.fancytree-ext-columnview span.fancytree-node a{
|
465
|
+
border: 1px solid transparent;
|
466
|
+
background-color: transparent;
|
467
|
+
}
|
468
|
+
table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded {
|
469
|
+
background-color: #ccc;
|
470
|
+
}
|
471
|
+
table.fancytree-ext-columnview span.fancytree-node.fancytree-active {
|
472
|
+
background-color: royalblue;
|
473
|
+
}
|
474
|
+
|
475
|
+
|
476
|
+
/*******************************************************************************
|
477
|
+
* 'filter' extension
|
478
|
+
*/
|
479
|
+
.fancytree-ext-filter .fancytree-node .fancytree-title {
|
480
|
+
color: silver;
|
481
|
+
font-weight: lighter;
|
482
|
+
}
|
483
|
+
.fancytree-ext-filter .fancytree-node.fancytree-submatch .fancytree-title {
|
484
|
+
color: black;
|
485
|
+
font-weight: normal;
|
486
|
+
}
|
487
|
+
.fancytree-ext-filter .fancytree-node.fancytree-match .fancytree-title {
|
488
|
+
color: black;
|
489
|
+
font-weight: bold;
|
490
|
+
}
|
491
|
+
|
492
|
+
|
493
|
+
/*******************************************************************************
|
494
|
+
* Drag'n'drop support
|
495
|
+
*/
|
496
|
+
|
497
|
+
/*** Helper object ************************************************************/
|
498
|
+
div.fancytree-drag-helper
|
499
|
+
{
|
500
|
+
}
|
501
|
+
div.fancytree-drag-helper a
|
502
|
+
{
|
503
|
+
border: 1px solid gray;
|
504
|
+
background-color: transparent;
|
505
|
+
padding-left: 5px;
|
506
|
+
padding-right: 5px;
|
507
|
+
opacity: 0.8;
|
508
|
+
}
|
509
|
+
span.fancytree-drag-helper-img
|
510
|
+
{
|
511
|
+
/*
|
512
|
+
position: relative;
|
513
|
+
left: -16px;
|
514
|
+
*/
|
515
|
+
}
|
516
|
+
div.fancytree-drag-helper /*.fancytree-drop-accept*/
|
517
|
+
{
|
518
|
+
/* border-color: green;
|
519
|
+
background-color: red;*/
|
520
|
+
}
|
521
|
+
div.fancytree-drop-accept span.fancytree-drag-helper-img
|
522
|
+
{
|
523
|
+
background-position: -32px -112px;
|
524
|
+
}
|
525
|
+
div.fancytree-drag-helper.fancytree-drop-reject
|
526
|
+
{
|
527
|
+
border-color: red;
|
528
|
+
}
|
529
|
+
div.fancytree-drop-reject span.fancytree-drag-helper-img
|
530
|
+
{
|
531
|
+
background-position: -16px -112px;
|
532
|
+
}
|
533
|
+
|
534
|
+
/*** Drop marker icon *********************************************************/
|
535
|
+
|
536
|
+
#fancytree-drop-marker
|
537
|
+
{
|
538
|
+
width: 24px;
|
539
|
+
position: absolute;
|
540
|
+
background-position: 0 -128px;
|
541
|
+
margin: 0;
|
542
|
+
}
|
543
|
+
#fancytree-drop-marker.fancytree-drop-after,
|
544
|
+
#fancytree-drop-marker.fancytree-drop-before
|
545
|
+
{
|
546
|
+
width:64px;
|
547
|
+
background-position: 0 -144px;
|
548
|
+
}
|
549
|
+
#fancytree-drop-marker.fancytree-drop-copy
|
550
|
+
{
|
551
|
+
background-position: -64px -128px;
|
552
|
+
}
|
553
|
+
#fancytree-drop-marker.fancytree-drop-move
|
554
|
+
{
|
555
|
+
background-position: -64px -128px;
|
556
|
+
}
|
557
|
+
|
558
|
+
/*** Source node while dragging ***********************************************/
|
559
|
+
|
560
|
+
span.fancytree-drag-source
|
561
|
+
{
|
562
|
+
/* border: 1px dotted gray; */
|
563
|
+
background-color: #e0e0e0;
|
564
|
+
}
|
565
|
+
span.fancytree-drag-source span.fancytree-title
|
566
|
+
{
|
567
|
+
color: gray;
|
568
|
+
}
|
569
|
+
|
570
|
+
/*** Target node while dragging cursor is over it *****************************/
|
571
|
+
|
572
|
+
span.fancytree-drop-target
|
573
|
+
{
|
574
|
+
/*border: 1px solid gray;*/
|
575
|
+
}
|
576
|
+
span.fancytree-drop-target span.fancytree-title
|
577
|
+
{
|
578
|
+
}
|
579
|
+
span.fancytree-drop-target.fancytree-drop-accept span.fancytree-title
|
580
|
+
{
|
581
|
+
/*border: 1px solid green;*/
|
582
|
+
background-color: #3169C6 !important;
|
583
|
+
color: white !important; /* @ IE6 */
|
584
|
+
text-decoration: none;
|
585
|
+
}
|
586
|
+
span.fancytree-drop-target.fancytree-drop-reject
|
587
|
+
{
|
588
|
+
/*border: 1px solid red;*/
|
589
|
+
}
|
590
|
+
span.fancytree-drop-target.fancytree-drop-after span.fancytree-title
|
591
|
+
{
|
592
|
+
}
|