fancytree-rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +13 -1
  4. data/Rakefile +46 -0
  5. data/lib/fancytree/rails/version.rb +1 -1
  6. data/vendor/assets/{stylesheets/skin-themeroller → images/fancytree}/icons.gif +0 -0
  7. data/vendor/assets/{stylesheets/skin-themeroller → images/fancytree}/loading.gif +0 -0
  8. data/vendor/assets/{stylesheets → images/fancytree}/skin-lion/icons.gif +0 -0
  9. data/vendor/assets/{stylesheets → images/fancytree}/skin-lion/loading.gif +0 -0
  10. data/vendor/assets/{stylesheets/skin-vista → images/fancytree/skin-themeroller}/icons.gif +0 -0
  11. data/vendor/assets/{stylesheets/skin-vista → images/fancytree/skin-themeroller}/loading.gif +0 -0
  12. data/vendor/assets/{stylesheets/skin-win7 → images/fancytree/skin-vista}/icons.gif +0 -0
  13. data/vendor/assets/{stylesheets/skin-win7 → images/fancytree/skin-vista}/loading.gif +0 -0
  14. data/vendor/assets/{stylesheets/skin-win8 → images/fancytree/skin-win7}/icons.gif +0 -0
  15. data/vendor/assets/{stylesheets/skin-win8 → images/fancytree/skin-win7}/loading.gif +0 -0
  16. data/vendor/assets/images/fancytree/skin-win8/icons.gif +0 -0
  17. data/vendor/assets/images/fancytree/skin-win8/loading.gif +0 -0
  18. data/vendor/assets/{stylesheets → images/fancytree}/skin-xp/icons-rtl.gif +0 -0
  19. data/vendor/assets/{stylesheets → images/fancytree}/skin-xp/icons.gif +0 -0
  20. data/vendor/assets/{stylesheets → images/fancytree}/skin-xp/loading.gif +0 -0
  21. data/vendor/assets/{stylesheets → images/fancytree}/skin-xp/vline-rtl.gif +0 -0
  22. data/vendor/assets/{stylesheets → images/fancytree}/skin-xp/vline.gif +0 -0
  23. data/vendor/assets/javascripts/fancytree/jquery.fancytree-all.js +5366 -5366
  24. data/vendor/assets/javascripts/fancytree/jquery.fancytree-all.min.js +5 -4
  25. data/vendor/assets/javascripts/fancytree/jquery.fancytree.awesome.js +126 -0
  26. data/vendor/assets/javascripts/fancytree/jquery.fancytree.gridnav.js +163 -0
  27. data/vendor/assets/javascripts/fancytree/jquery.fancytree.js +3715 -3715
  28. data/vendor/assets/javascripts/fancytree/jquery.fancytree.min.js +5 -4
  29. data/vendor/assets/stylesheets/{skin-awesome → fancytree/skin-awesome}/ui.fancytree.css +272 -272
  30. data/vendor/assets/stylesheets/{skin-lion → fancytree/skin-lion}/ui.fancytree-org.css +460 -460
  31. data/vendor/assets/stylesheets/{skin-lion → fancytree/skin-lion}/ui.fancytree.css +453 -453
  32. data/vendor/assets/stylesheets/{skin-themeroller → fancytree/skin-themeroller}/ui.fancytree-org.css +505 -505
  33. data/vendor/assets/stylesheets/{skin-themeroller → fancytree/skin-themeroller}/ui.fancytree.css +505 -505
  34. data/vendor/assets/stylesheets/{skin-vista → fancytree/skin-vista}/ui.fancytree-org.css +610 -610
  35. data/vendor/assets/stylesheets/{skin-vista → fancytree/skin-vista}/ui.fancytree.css +459 -459
  36. data/vendor/assets/stylesheets/{skin-win7 → fancytree/skin-win7}/ui.fancytree-org.css +592 -592
  37. data/vendor/assets/stylesheets/{skin-win7 → fancytree/skin-win7}/ui.fancytree.css +523 -523
  38. data/vendor/assets/stylesheets/{skin-win8 → fancytree/skin-win8}/ui.fancytree-org.css +602 -602
  39. data/vendor/assets/stylesheets/{skin-win8 → fancytree/skin-win8}/ui.fancytree.css +470 -470
  40. data/vendor/assets/stylesheets/{skin-xp → fancytree/skin-xp}/ui.fancytree-org.css +578 -578
  41. data/vendor/assets/stylesheets/{skin-xp → fancytree/skin-xp}/ui.fancytree.css +450 -450
  42. data/vendor/assets/stylesheets/ui.fancytree.css +1 -1
  43. metadata +35 -30
@@ -1,460 +1,460 @@
1
- /*******************************************************************************
2
- * Tree container
3
-
4
- Lion colors:
5
- gray highlight bar: #D4D4D4
6
- blue highlight-bar and -border #3875D7
7
-
8
-
9
- */
10
- .ui-helper-hidden {
11
- display: none;
12
- }
13
-
14
- .fancytree-container
15
- {
16
- font-family: tahoma, arial, helvetica;
17
- font-size: 10pt; /* font size should not be too big */
18
- white-space: nowrap;
19
- padding: 3px;
20
- margin: 0; /* issue 201 */
21
- background-color: white;
22
- border: 1px dotted gray;
23
- overflow: auto;
24
- height: 100%; /* issue 263 */
25
- }
26
-
27
- ul.fancytree-container ul
28
- {
29
- padding: 0 0 0 16px;
30
- margin: 0;
31
- }
32
-
33
- ul.fancytree-container li
34
- {
35
- list-style-image: none;
36
- list-style-position: outside;
37
- list-style-type: none;
38
- -moz-background-clip:border;
39
- -moz-background-inline-policy: continuous;
40
- -moz-background-origin: padding;
41
- background-attachment: scroll;
42
- background-color: transparent;
43
- background-position: 0 0;
44
- background-repeat: repeat-y;
45
- background-image: none; /* no v-lines */
46
-
47
- margin:0;
48
- padding:1px 0 0 0;
49
- }
50
- /* Suppress lines for last child node */
51
- ul.fancytree-container li.fancytree-lastsib
52
- {
53
- background-image: none;
54
- }
55
- /* Suppress lines if level is fixed expanded (option minExpandLevel) */
56
- ul.fancytree-no-connector > li
57
- {
58
- background-image: none;
59
- }
60
-
61
- /* Style, when control is disabled */
62
- .ui-fancytree-disabled ul.fancytree-container
63
- {
64
- opacity: 0.5;
65
- /* filter: alpha(opacity=50); /* Yields a css warning */
66
- background-color: silver;
67
- }
68
-
69
-
70
- /*******************************************************************************
71
- * Common icon definitions
72
- */
73
- span.fancytree-empty,
74
- span.fancytree-vline,
75
- /*span.fancytree-connector,*/
76
- span.fancytree-expander,
77
- span.fancytree-icon,
78
- span.fancytree-checkbox,
79
- span.fancytree-radio,
80
- span.fancytree-drag-helper-img,
81
- #fancytree-drop-marker
82
- {
83
- width: 16px;
84
- height: 16px;
85
- display: inline-block; /* Required to make a span sizable */
86
- vertical-align: top;
87
- background-repeat: no-repeat;
88
- background-position: left;
89
- background-image: url("icons.gif");
90
- background-position: 0 0;
91
- }
92
- /** Used by iconclass option */
93
- span.fancytree-custom-icon {
94
- display: inline-block;
95
- }
96
- /** Used by 'icon' node option: */
97
- .fancytree-container img
98
- {
99
- width: 16px;
100
- height: 16px;
101
- margin-left: 3px;
102
- vertical-align: top;
103
- border-style: none;
104
- }
105
-
106
-
107
- /*******************************************************************************
108
- * Lines and connectors
109
- */
110
- /* span.fancytree-connector
111
- {
112
- background-image: none;
113
- }
114
- */
115
- /*******************************************************************************
116
- * Expander icon
117
- * Note: IE6 doesn't correctly evaluate multiples class names,
118
- * so we create combined class names that can be used in the CSS.
119
- *
120
- * Prefix: fancytree-exp-
121
- * 1st character: 'e': expanded, 'c': collapsed, 'n': no children
122
- * 2nd character (optional): 'd': lazy (Delayed)
123
- * 3rd character (optional): 'l': Last sibling
124
- */
125
-
126
- span.fancytree-expander
127
- {
128
- background-position: 0px -80px;
129
- cursor: pointer;
130
- }
131
- span.fancytree-expander:hover { background-position: -16px -80px; }
132
- .fancytree-exp-n span.fancytree-expander:hover /* Collapsed, not delayed, not last sibling */
133
- {
134
- background-position: -16px -80px;
135
- }
136
- .fancytree-exp-cl span.fancytree-expander /* Collapsed, not delayed, last sibling */
137
- {
138
- }
139
- .fancytree-exp-cd span.fancytree-expander /* Collapsed, delayed, not last sibling */
140
- {
141
- }
142
- .fancytree-exp-cdl span.fancytree-expander /* Collapsed, delayed, last sibling */
143
- {
144
- }
145
- .fancytree-exp-e span.fancytree-expander, /* Expanded, not delayed, not last sibling */
146
- .fancytree-exp-ed span.fancytree-expander, /* Expanded, delayed, not last sibling */
147
- .fancytree-exp-el span.fancytree-expander, /* Expanded, not delayed, last sibling */
148
- .fancytree-exp-edl span.fancytree-expander /* Expanded, delayed, last sibling */
149
- {
150
- background-position: -32px -80px;
151
- }
152
- .fancytree-exp-e span.fancytree-expander:hover, /* Expanded, not delayed, not last sibling */
153
- .fancytree-exp-ed span.fancytree-expander:hover, /* Expanded, delayed, not last sibling */
154
- .fancytree-exp-el span.fancytree-expander:hover, /* Expanded, not delayed, last sibling */
155
- .fancytree-exp-edl span.fancytree-expander:hover /* Expanded, delayed, last sibling */
156
- {
157
- background-position: -48px -80px;
158
- }
159
- .fancytree-loading span.fancytree-expander /* 'Loading' status overrides all others */
160
- {
161
- background-position: 0 0;
162
- background-image: url("loading.gif");
163
- }
164
-
165
- .fancytree-exp-n span.fancytree-expander, /* Connector instead of expander, if node has no children */
166
- .fancytree-exp-nl span.fancytree-expander
167
- {
168
- background-image: none;
169
- cursor: default;
170
- }
171
-
172
-
173
- /*******************************************************************************
174
- * Checkbox icon
175
- */
176
- span.fancytree-checkbox {
177
- margin-left: 3px;
178
- background-position: 0px -32px;
179
- }
180
- span.fancytree-checkbox:hover { background-position: -16px -32px; }
181
- .fancytree-partsel span.fancytree-checkbox { background-position: -64px -32px; }
182
- .fancytree-partsel span.fancytree-checkbox:hover { background-position: -80px -32px; }
183
- .fancytree-selected span.fancytree-checkbox { background-position: -32px -32px; }
184
- .fancytree-selected span.fancytree-checkbox:hover { background-position: -48px -32px; }
185
-
186
- /*******************************************************************************
187
- * Radiobutton icon
188
- */
189
- .fancytree-radio span.fancytree-checkbox {
190
- margin-left: 3px;
191
- background-position: 0px -48px;
192
- }
193
- .fancytree-radio span.fancytree-checkbox:hover { background-position: -16px -48px; }
194
- .fancytree-radio .fancytree-partsel span.fancytree-checkbox { background-position: -64px -48px; }
195
- .fancytree-radio .fancytree-partsel span.fancytree-checkbox:hover { background-position: -80px -48px; }
196
- .fancytree-radio .fancytree-selected span.fancytree-checkbox { background-position: -32px -48px; }
197
- .fancytree-radio .fancytree-selected span.fancytree-checkbox:hover { background-position: -48px -48px; }
198
-
199
- /*******************************************************************************
200
- * Node type icon
201
- * Note: IE6 doesn't correctly evaluate multiples class names,
202
- * so we create combined class names that can be used in the CSS.
203
- *
204
- * Prefix: fancytree-ico-
205
- * 1st character: 'e': expanded, 'c': collapsed
206
- * 2nd character (optional): 'f': folder
207
- */
208
- span.fancytree-icon /* Default icon */
209
- {
210
- margin-left: 3px;
211
- background-position: 0px 0px;
212
- }
213
- .fancytree-ico-cf span.fancytree-icon { background-position: 0px -16px; } /* Collapsed Folder */
214
- .fancytree-ico-ef span.fancytree-icon { background-position: -64px -16px; } /* Expanded Folder */
215
- .fancytree-statusnode-wait span.fancytree-icon { background-image: url("loading.gif"); } /* Status node icons */
216
- .fancytree-statusnode-error span.fancytree-icon { background-position: 0px -112px; }
217
-
218
- /*******************************************************************************
219
- * Node titles
220
- */
221
- .fancytree-title {
222
- display: inline-block; /* Better alignment, when title contains <br> */
223
- padding-left: 3px;
224
- padding-right: 3px; /* Otherwise italic font will be outside bounds */
225
- color: black; /* inherit doesn't work on IE */
226
- vertical-align: top;
227
- margin: 0px;
228
- margin-left: 3px;
229
- /* border: 1px solid white; /* reserve some space for status borders (Note: 'transparent' would not work in IE6) */
230
- border: 1px solid transparent; /* reserve some space for status borders */
231
- border-radius: 0;
232
- text-decoration: none;
233
- cursor: pointer;
234
- }
235
- span.fancytree-focused .fancytree-title {
236
- outline: 1px dotted black;
237
- /*color: white;*/
238
- }
239
- span.fancytree-selected .fancytree-title,
240
- span.fancytree-active .fancytree-title {
241
- background-color: #D4D4D4; /*gray*/
242
- }
243
- span.fancytree-selected .fancytree-title {
244
- font-style: italic;
245
- }
246
- .fancytree-treefocus span.fancytree-selected .fancytree-title,
247
- .fancytree-treefocus span.fancytree-active .fancytree-title {
248
- color: white;
249
- background-color: #3875D7; /*blue*/
250
- }
251
-
252
- /*******************************************************************************
253
- * 'table' extension
254
- */
255
-
256
- /*
257
- table.fancytree-ext-table {
258
- border-collapse: collapse;
259
- width: 100%;
260
- }
261
- table.fancytree-ext-table tbody tr:nth-child(even){
262
- background-color: #f4f4f8;
263
- }
264
- table.fancytree-ext-table tbody tr td {
265
- border: 1px solid lightgray;
266
- }
267
- */
268
- table.fancytree-ext-table {
269
- border-collapse: collapse;
270
- }
271
- table.fancytree-ext-table tbody tr.fancytree-focused {
272
- background-color: #99DEFD;
273
- }
274
- table.fancytree-ext-table tbody tr.fancytree-active {
275
- background-color: royalblue;
276
- }
277
- table.fancytree-ext-table tbody tr.fancytree-selected {
278
- background-color: #99FDDE;
279
- }
280
-
281
- /*******************************************************************************
282
- * 'columnview' extension
283
- */
284
-
285
- /*
286
- table.fancytree-ext-columnview {
287
- border-collapse: collapse;
288
- width: 100%;
289
- }
290
- */
291
- table.fancytree-ext-columnview td >ul
292
- {
293
- padding: 0;
294
- }
295
- table.fancytree-ext-columnview td >ul li
296
- {
297
- list-style-image: none;
298
- list-style-position: outside;
299
- list-style-type: none;
300
- -moz-background-clip:border;
301
- -moz-background-inline-policy: continuous;
302
- -moz-background-origin: padding;
303
- background-attachment: scroll;
304
- background-color: transparent;
305
- background-position: 0 0;
306
- background-repeat: repeat-y;
307
- background-image: none; /* no v-lines */
308
-
309
- margin: 0;
310
- padding: 1px 0 0 0;
311
- }
312
- /*
313
- table.fancytree-ext-columnview tbody tr[0] {
314
- height: 200px;
315
- }
316
- */
317
- table.fancytree-ext-columnview tbody tr td {
318
- border: 1px solid gray;
319
- vertical-align: top;
320
- overflow: auto;
321
- }
322
- table.fancytree-ext-columnview span.fancytree-node {
323
- display: inline-block;
324
- position: relative; /* allow positioning of embedded spans*/
325
- width: 100%;
326
- }
327
- table.fancytree-ext-columnview span.fancytree-node a{
328
- border: 1px solid transparent;
329
- background-color: transparent;
330
- }
331
- table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded {
332
- background-color: #ccc;
333
- }
334
- table.fancytree-ext-columnview span.fancytree-node.fancytree-active {
335
- background-color: royalblue;
336
- }
337
- table.fancytree-ext-columnview span.fancytree-cv-right {
338
- background-position: 0px -80px;
339
- position: absolute;
340
- right: 3px;
341
- }
342
-
343
-
344
- /*******************************************************************************
345
- * 'filter' extension
346
- */
347
- .fancytree-ext-filter .fancytree-node .fancytree-title {
348
- color: silver;
349
- font-weight: lighter;
350
- }
351
- .fancytree-ext-filter .fancytree-node.fancytree-submatch .fancytree-title {
352
- color: black;
353
- font-weight: normal;
354
- }
355
- .fancytree-ext-filter .fancytree-node.fancytree-match .fancytree-title {
356
- color: black;
357
- font-weight: bold;
358
- }
359
-
360
-
361
- /*******************************************************************************
362
- * Drag'n'drop support
363
- */
364
-
365
- /*** Helper object ************************************************************/
366
- div.fancytree-drag-helper
367
- {
368
- }
369
- div.fancytree-drag-helper a
370
- {
371
- border: 1px solid gray;
372
- background-color: white;
373
- padding-left: 5px;
374
- padding-right: 5px;
375
- opacity: 0.8;
376
- }
377
- span.fancytree-drag-helper-img
378
- {
379
- /*
380
- position: relative;
381
- left: -16px;
382
- */
383
- }
384
- div.fancytree-drag-helper /*.fancytree-drop-accept*/
385
- {
386
- /* border-color: green;
387
- background-color: red;*/
388
- }
389
- div.fancytree-drop-accept span.fancytree-drag-helper-img
390
- {
391
- background-position: -32px -112px;
392
- }
393
- div.fancytree-drag-helper.fancytree-drop-reject
394
- {
395
- border-color: red;
396
- }
397
- div.fancytree-drop-reject span.fancytree-drag-helper-img
398
- {
399
- background-position: -16px -112px;
400
- }
401
-
402
- /*** Drop marker icon *********************************************************/
403
-
404
- #fancytree-drop-marker
405
- {
406
- width: 24px;
407
- position: absolute;
408
- background-position: 0 -128px;
409
- margin: 0;
410
- }
411
- #fancytree-drop-marker.fancytree-drop-after,
412
- #fancytree-drop-marker.fancytree-drop-before
413
- {
414
- width:64px;
415
- background-position: 0 -144px;
416
- }
417
- #fancytree-drop-marker.fancytree-drop-copy
418
- {
419
- background-position: -64px -128px;
420
- }
421
- #fancytree-drop-marker.fancytree-drop-move
422
- {
423
- background-position: -64px -128px;
424
- }
425
-
426
- /*** Source node while dragging ***********************************************/
427
-
428
- span.fancytree-drag-source
429
- {
430
- /* border: 1px dotted gray; */
431
- background-color: #e0e0e0;
432
- }
433
- span.fancytree-drag-source a
434
- {
435
- color: gray;
436
- }
437
-
438
- /*** Target node while dragging cursor is over it *****************************/
439
-
440
- span.fancytree-drop-target
441
- {
442
- /*border: 1px solid gray;*/
443
- }
444
- span.fancytree-drop-target a
445
- {
446
- }
447
- span.fancytree-drop-target.fancytree-drop-accept a
448
- {
449
- /*border: 1px solid green;*/
450
- background-color: #3169C6 !important;
451
- color: white !important; /* @ IE6 */
452
- text-decoration: none;
453
- }
454
- span.fancytree-drop-target.fancytree-drop-reject
455
- {
456
- /*border: 1px solid red;*/
457
- }
458
- span.fancytree-drop-target.fancytree-drop-after a
459
- {
460
- }
1
+ /*******************************************************************************
2
+ * Tree container
3
+
4
+ Lion colors:
5
+ gray highlight bar: #D4D4D4
6
+ blue highlight-bar and -border #3875D7
7
+
8
+
9
+ */
10
+ .ui-helper-hidden {
11
+ display: none;
12
+ }
13
+
14
+ .fancytree-container
15
+ {
16
+ font-family: tahoma, arial, helvetica;
17
+ font-size: 10pt; /* font size should not be too big */
18
+ white-space: nowrap;
19
+ padding: 3px;
20
+ margin: 0; /* issue 201 */
21
+ background-color: white;
22
+ border: 1px dotted gray;
23
+ overflow: auto;
24
+ height: 100%; /* issue 263 */
25
+ }
26
+
27
+ ul.fancytree-container ul
28
+ {
29
+ padding: 0 0 0 16px;
30
+ margin: 0;
31
+ }
32
+
33
+ ul.fancytree-container li
34
+ {
35
+ list-style-image: none;
36
+ list-style-position: outside;
37
+ list-style-type: none;
38
+ -moz-background-clip:border;
39
+ -moz-background-inline-policy: continuous;
40
+ -moz-background-origin: padding;
41
+ background-attachment: scroll;
42
+ background-color: transparent;
43
+ background-position: 0 0;
44
+ background-repeat: repeat-y;
45
+ background-image: none; /* no v-lines */
46
+
47
+ margin:0;
48
+ padding:1px 0 0 0;
49
+ }
50
+ /* Suppress lines for last child node */
51
+ ul.fancytree-container li.fancytree-lastsib
52
+ {
53
+ background-image: none;
54
+ }
55
+ /* Suppress lines if level is fixed expanded (option minExpandLevel) */
56
+ ul.fancytree-no-connector > li
57
+ {
58
+ background-image: none;
59
+ }
60
+
61
+ /* Style, when control is disabled */
62
+ .ui-fancytree-disabled ul.fancytree-container
63
+ {
64
+ opacity: 0.5;
65
+ /* filter: alpha(opacity=50); /* Yields a css warning */
66
+ background-color: silver;
67
+ }
68
+
69
+
70
+ /*******************************************************************************
71
+ * Common icon definitions
72
+ */
73
+ span.fancytree-empty,
74
+ span.fancytree-vline,
75
+ /*span.fancytree-connector,*/
76
+ span.fancytree-expander,
77
+ span.fancytree-icon,
78
+ span.fancytree-checkbox,
79
+ span.fancytree-radio,
80
+ span.fancytree-drag-helper-img,
81
+ #fancytree-drop-marker
82
+ {
83
+ width: 16px;
84
+ height: 16px;
85
+ display: inline-block; /* Required to make a span sizable */
86
+ vertical-align: top;
87
+ background-repeat: no-repeat;
88
+ background-position: left;
89
+ background-image: url("icons.gif");
90
+ background-position: 0 0;
91
+ }
92
+ /** Used by iconclass option */
93
+ span.fancytree-custom-icon {
94
+ display: inline-block;
95
+ }
96
+ /** Used by 'icon' node option: */
97
+ .fancytree-container img
98
+ {
99
+ width: 16px;
100
+ height: 16px;
101
+ margin-left: 3px;
102
+ vertical-align: top;
103
+ border-style: none;
104
+ }
105
+
106
+
107
+ /*******************************************************************************
108
+ * Lines and connectors
109
+ */
110
+ /* span.fancytree-connector
111
+ {
112
+ background-image: none;
113
+ }
114
+ */
115
+ /*******************************************************************************
116
+ * Expander icon
117
+ * Note: IE6 doesn't correctly evaluate multiples class names,
118
+ * so we create combined class names that can be used in the CSS.
119
+ *
120
+ * Prefix: fancytree-exp-
121
+ * 1st character: 'e': expanded, 'c': collapsed, 'n': no children
122
+ * 2nd character (optional): 'd': lazy (Delayed)
123
+ * 3rd character (optional): 'l': Last sibling
124
+ */
125
+
126
+ span.fancytree-expander
127
+ {
128
+ background-position: 0px -80px;
129
+ cursor: pointer;
130
+ }
131
+ span.fancytree-expander:hover { background-position: -16px -80px; }
132
+ .fancytree-exp-n span.fancytree-expander:hover /* Collapsed, not delayed, not last sibling */
133
+ {
134
+ background-position: -16px -80px;
135
+ }
136
+ .fancytree-exp-cl span.fancytree-expander /* Collapsed, not delayed, last sibling */
137
+ {
138
+ }
139
+ .fancytree-exp-cd span.fancytree-expander /* Collapsed, delayed, not last sibling */
140
+ {
141
+ }
142
+ .fancytree-exp-cdl span.fancytree-expander /* Collapsed, delayed, last sibling */
143
+ {
144
+ }
145
+ .fancytree-exp-e span.fancytree-expander, /* Expanded, not delayed, not last sibling */
146
+ .fancytree-exp-ed span.fancytree-expander, /* Expanded, delayed, not last sibling */
147
+ .fancytree-exp-el span.fancytree-expander, /* Expanded, not delayed, last sibling */
148
+ .fancytree-exp-edl span.fancytree-expander /* Expanded, delayed, last sibling */
149
+ {
150
+ background-position: -32px -80px;
151
+ }
152
+ .fancytree-exp-e span.fancytree-expander:hover, /* Expanded, not delayed, not last sibling */
153
+ .fancytree-exp-ed span.fancytree-expander:hover, /* Expanded, delayed, not last sibling */
154
+ .fancytree-exp-el span.fancytree-expander:hover, /* Expanded, not delayed, last sibling */
155
+ .fancytree-exp-edl span.fancytree-expander:hover /* Expanded, delayed, last sibling */
156
+ {
157
+ background-position: -48px -80px;
158
+ }
159
+ .fancytree-loading span.fancytree-expander /* 'Loading' status overrides all others */
160
+ {
161
+ background-position: 0 0;
162
+ background-image: url("loading.gif");
163
+ }
164
+
165
+ .fancytree-exp-n span.fancytree-expander, /* Connector instead of expander, if node has no children */
166
+ .fancytree-exp-nl span.fancytree-expander
167
+ {
168
+ background-image: none;
169
+ cursor: default;
170
+ }
171
+
172
+
173
+ /*******************************************************************************
174
+ * Checkbox icon
175
+ */
176
+ span.fancytree-checkbox {
177
+ margin-left: 3px;
178
+ background-position: 0px -32px;
179
+ }
180
+ span.fancytree-checkbox:hover { background-position: -16px -32px; }
181
+ .fancytree-partsel span.fancytree-checkbox { background-position: -64px -32px; }
182
+ .fancytree-partsel span.fancytree-checkbox:hover { background-position: -80px -32px; }
183
+ .fancytree-selected span.fancytree-checkbox { background-position: -32px -32px; }
184
+ .fancytree-selected span.fancytree-checkbox:hover { background-position: -48px -32px; }
185
+
186
+ /*******************************************************************************
187
+ * Radiobutton icon
188
+ */
189
+ .fancytree-radio span.fancytree-checkbox {
190
+ margin-left: 3px;
191
+ background-position: 0px -48px;
192
+ }
193
+ .fancytree-radio span.fancytree-checkbox:hover { background-position: -16px -48px; }
194
+ .fancytree-radio .fancytree-partsel span.fancytree-checkbox { background-position: -64px -48px; }
195
+ .fancytree-radio .fancytree-partsel span.fancytree-checkbox:hover { background-position: -80px -48px; }
196
+ .fancytree-radio .fancytree-selected span.fancytree-checkbox { background-position: -32px -48px; }
197
+ .fancytree-radio .fancytree-selected span.fancytree-checkbox:hover { background-position: -48px -48px; }
198
+
199
+ /*******************************************************************************
200
+ * Node type icon
201
+ * Note: IE6 doesn't correctly evaluate multiples class names,
202
+ * so we create combined class names that can be used in the CSS.
203
+ *
204
+ * Prefix: fancytree-ico-
205
+ * 1st character: 'e': expanded, 'c': collapsed
206
+ * 2nd character (optional): 'f': folder
207
+ */
208
+ span.fancytree-icon /* Default icon */
209
+ {
210
+ margin-left: 3px;
211
+ background-position: 0px 0px;
212
+ }
213
+ .fancytree-ico-cf span.fancytree-icon { background-position: 0px -16px; } /* Collapsed Folder */
214
+ .fancytree-ico-ef span.fancytree-icon { background-position: -64px -16px; } /* Expanded Folder */
215
+ .fancytree-statusnode-wait span.fancytree-icon { background-image: url("loading.gif"); } /* Status node icons */
216
+ .fancytree-statusnode-error span.fancytree-icon { background-position: 0px -112px; }
217
+
218
+ /*******************************************************************************
219
+ * Node titles
220
+ */
221
+ .fancytree-title {
222
+ display: inline-block; /* Better alignment, when title contains <br> */
223
+ padding-left: 3px;
224
+ padding-right: 3px; /* Otherwise italic font will be outside bounds */
225
+ color: black; /* inherit doesn't work on IE */
226
+ vertical-align: top;
227
+ margin: 0px;
228
+ margin-left: 3px;
229
+ /* border: 1px solid white; /* reserve some space for status borders (Note: 'transparent' would not work in IE6) */
230
+ border: 1px solid transparent; /* reserve some space for status borders */
231
+ border-radius: 0;
232
+ text-decoration: none;
233
+ cursor: pointer;
234
+ }
235
+ span.fancytree-focused .fancytree-title {
236
+ outline: 1px dotted black;
237
+ /*color: white;*/
238
+ }
239
+ span.fancytree-selected .fancytree-title,
240
+ span.fancytree-active .fancytree-title {
241
+ background-color: #D4D4D4; /*gray*/
242
+ }
243
+ span.fancytree-selected .fancytree-title {
244
+ font-style: italic;
245
+ }
246
+ .fancytree-treefocus span.fancytree-selected .fancytree-title,
247
+ .fancytree-treefocus span.fancytree-active .fancytree-title {
248
+ color: white;
249
+ background-color: #3875D7; /*blue*/
250
+ }
251
+
252
+ /*******************************************************************************
253
+ * 'table' extension
254
+ */
255
+
256
+ /*
257
+ table.fancytree-ext-table {
258
+ border-collapse: collapse;
259
+ width: 100%;
260
+ }
261
+ table.fancytree-ext-table tbody tr:nth-child(even){
262
+ background-color: #f4f4f8;
263
+ }
264
+ table.fancytree-ext-table tbody tr td {
265
+ border: 1px solid lightgray;
266
+ }
267
+ */
268
+ table.fancytree-ext-table {
269
+ border-collapse: collapse;
270
+ }
271
+ table.fancytree-ext-table tbody tr.fancytree-focused {
272
+ background-color: #99DEFD;
273
+ }
274
+ table.fancytree-ext-table tbody tr.fancytree-active {
275
+ background-color: royalblue;
276
+ }
277
+ table.fancytree-ext-table tbody tr.fancytree-selected {
278
+ background-color: #99FDDE;
279
+ }
280
+
281
+ /*******************************************************************************
282
+ * 'columnview' extension
283
+ */
284
+
285
+ /*
286
+ table.fancytree-ext-columnview {
287
+ border-collapse: collapse;
288
+ width: 100%;
289
+ }
290
+ */
291
+ table.fancytree-ext-columnview td >ul
292
+ {
293
+ padding: 0;
294
+ }
295
+ table.fancytree-ext-columnview td >ul li
296
+ {
297
+ list-style-image: none;
298
+ list-style-position: outside;
299
+ list-style-type: none;
300
+ -moz-background-clip:border;
301
+ -moz-background-inline-policy: continuous;
302
+ -moz-background-origin: padding;
303
+ background-attachment: scroll;
304
+ background-color: transparent;
305
+ background-position: 0 0;
306
+ background-repeat: repeat-y;
307
+ background-image: none; /* no v-lines */
308
+
309
+ margin: 0;
310
+ padding: 1px 0 0 0;
311
+ }
312
+ /*
313
+ table.fancytree-ext-columnview tbody tr[0] {
314
+ height: 200px;
315
+ }
316
+ */
317
+ table.fancytree-ext-columnview tbody tr td {
318
+ border: 1px solid gray;
319
+ vertical-align: top;
320
+ overflow: auto;
321
+ }
322
+ table.fancytree-ext-columnview span.fancytree-node {
323
+ display: inline-block;
324
+ position: relative; /* allow positioning of embedded spans*/
325
+ width: 100%;
326
+ }
327
+ table.fancytree-ext-columnview span.fancytree-node a{
328
+ border: 1px solid transparent;
329
+ background-color: transparent;
330
+ }
331
+ table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded {
332
+ background-color: #ccc;
333
+ }
334
+ table.fancytree-ext-columnview span.fancytree-node.fancytree-active {
335
+ background-color: royalblue;
336
+ }
337
+ table.fancytree-ext-columnview span.fancytree-cv-right {
338
+ background-position: 0px -80px;
339
+ position: absolute;
340
+ right: 3px;
341
+ }
342
+
343
+
344
+ /*******************************************************************************
345
+ * 'filter' extension
346
+ */
347
+ .fancytree-ext-filter .fancytree-node .fancytree-title {
348
+ color: silver;
349
+ font-weight: lighter;
350
+ }
351
+ .fancytree-ext-filter .fancytree-node.fancytree-submatch .fancytree-title {
352
+ color: black;
353
+ font-weight: normal;
354
+ }
355
+ .fancytree-ext-filter .fancytree-node.fancytree-match .fancytree-title {
356
+ color: black;
357
+ font-weight: bold;
358
+ }
359
+
360
+
361
+ /*******************************************************************************
362
+ * Drag'n'drop support
363
+ */
364
+
365
+ /*** Helper object ************************************************************/
366
+ div.fancytree-drag-helper
367
+ {
368
+ }
369
+ div.fancytree-drag-helper a
370
+ {
371
+ border: 1px solid gray;
372
+ background-color: white;
373
+ padding-left: 5px;
374
+ padding-right: 5px;
375
+ opacity: 0.8;
376
+ }
377
+ span.fancytree-drag-helper-img
378
+ {
379
+ /*
380
+ position: relative;
381
+ left: -16px;
382
+ */
383
+ }
384
+ div.fancytree-drag-helper /*.fancytree-drop-accept*/
385
+ {
386
+ /* border-color: green;
387
+ background-color: red;*/
388
+ }
389
+ div.fancytree-drop-accept span.fancytree-drag-helper-img
390
+ {
391
+ background-position: -32px -112px;
392
+ }
393
+ div.fancytree-drag-helper.fancytree-drop-reject
394
+ {
395
+ border-color: red;
396
+ }
397
+ div.fancytree-drop-reject span.fancytree-drag-helper-img
398
+ {
399
+ background-position: -16px -112px;
400
+ }
401
+
402
+ /*** Drop marker icon *********************************************************/
403
+
404
+ #fancytree-drop-marker
405
+ {
406
+ width: 24px;
407
+ position: absolute;
408
+ background-position: 0 -128px;
409
+ margin: 0;
410
+ }
411
+ #fancytree-drop-marker.fancytree-drop-after,
412
+ #fancytree-drop-marker.fancytree-drop-before
413
+ {
414
+ width:64px;
415
+ background-position: 0 -144px;
416
+ }
417
+ #fancytree-drop-marker.fancytree-drop-copy
418
+ {
419
+ background-position: -64px -128px;
420
+ }
421
+ #fancytree-drop-marker.fancytree-drop-move
422
+ {
423
+ background-position: -64px -128px;
424
+ }
425
+
426
+ /*** Source node while dragging ***********************************************/
427
+
428
+ span.fancytree-drag-source
429
+ {
430
+ /* border: 1px dotted gray; */
431
+ background-color: #e0e0e0;
432
+ }
433
+ span.fancytree-drag-source a
434
+ {
435
+ color: gray;
436
+ }
437
+
438
+ /*** Target node while dragging cursor is over it *****************************/
439
+
440
+ span.fancytree-drop-target
441
+ {
442
+ /*border: 1px solid gray;*/
443
+ }
444
+ span.fancytree-drop-target a
445
+ {
446
+ }
447
+ span.fancytree-drop-target.fancytree-drop-accept a
448
+ {
449
+ /*border: 1px solid green;*/
450
+ background-color: #3169C6 !important;
451
+ color: white !important; /* @ IE6 */
452
+ text-decoration: none;
453
+ }
454
+ span.fancytree-drop-target.fancytree-drop-reject
455
+ {
456
+ /*border: 1px solid red;*/
457
+ }
458
+ span.fancytree-drop-target.fancytree-drop-after a
459
+ {
460
+ }