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