fancytree-rails 2.0.0.pre.11.pre.1 → 2.1.0.pre.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/3th-party/jquery-ui.License.txt +2 -0
- data/README.md +7 -1
- data/Rakefile +21 -5
- data/{vendor → app}/assets/images/fancytree/icons.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/loading.gif +0 -0
- data/app/assets/images/fancytree/skin-lion/icons.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-lion/loading.gif +0 -0
- data/app/assets/images/fancytree/skin-themeroller/icons.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-themeroller/loading.gif +0 -0
- data/app/assets/images/fancytree/skin-vista/icons.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-vista/loading.gif +0 -0
- data/app/assets/images/fancytree/skin-win7/icons.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-win7/loading.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-win8-xxl/icons.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-win8-xxl/loading.gif +0 -0
- data/app/assets/images/fancytree/skin-win8/icons.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-win8/loading.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-xp/icons-rtl.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-xp/icons.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-xp/loading.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-xp/vline-rtl.gif +0 -0
- data/{vendor → app}/assets/images/fancytree/skin-xp/vline.gif +0 -0
- data/{vendor → app}/assets/javascripts/fancytree.js +0 -0
- data/{vendor → app}/assets/javascripts/fancytree/MIT-LICENSE.txt +0 -0
- data/{vendor → app}/assets/javascripts/fancytree/jquery.fancytree-all.js +346 -333
- data/app/assets/javascripts/fancytree/jquery.fancytree-custom.min.js +41 -0
- data/{vendor → app}/assets/javascripts/fancytree/jquery.fancytree.js +109 -66
- data/app/assets/javascripts/fancytree/jquery.fancytree.min.js +14 -0
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.childcounter.js +3 -3
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.clones.js +36 -6
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.columnview.js +2 -2
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.debug.js +2 -2
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.dnd.js +35 -51
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.edit.js +5 -9
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.filter.js +54 -66
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.glyph.js +6 -9
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.gridnav.js +2 -2
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.js +109 -66
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.menu.js +2 -2
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.persist.js +106 -112
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.table.js +23 -9
- data/{vendor → app}/assets/javascripts/fancytree/src/jquery.fancytree.themeroller.js +3 -6
- data/{vendor/assets/stylesheets/fancytree/skin-awesome/ui.fancytree.css → app/assets/stylesheets/fancytree/skin-awesome/ui.fancytree.css.erb} +30 -5
- data/app/assets/stylesheets/fancytree/skin-awesome/ui.fancytree.min.css.erb +6 -0
- data/{vendor/assets/stylesheets/fancytree/skin-bootstrap/ui.fancytree.css → app/assets/stylesheets/fancytree/skin-bootstrap/ui.fancytree.css.erb} +31 -6
- data/app/assets/stylesheets/fancytree/skin-bootstrap/ui.fancytree.min.css.erb +6 -0
- data/{vendor/assets/stylesheets/fancytree/skin-lion/ui.fancytree.css → app/assets/stylesheets/fancytree/skin-lion/ui.fancytree.css.erb} +35 -14
- data/app/assets/stylesheets/fancytree/skin-lion/ui.fancytree.min.css.erb +6 -0
- data/{vendor/assets/stylesheets/fancytree/skin-themeroller/ui.fancytree.css → app/assets/stylesheets/fancytree/skin-themeroller/ui.fancytree.css.erb} +1 -1
- data/{vendor/assets/stylesheets/fancytree/skin-themeroller/ui.fancytree.min.css → app/assets/stylesheets/fancytree/skin-themeroller/ui.fancytree.min.css.erb} +0 -0
- data/{vendor/assets/stylesheets/fancytree/skin-vista/ui.fancytree.css → app/assets/stylesheets/fancytree/skin-vista/ui.fancytree.css.erb} +35 -14
- data/app/assets/stylesheets/fancytree/skin-vista/ui.fancytree.min.css.erb +6 -0
- data/{vendor/assets/stylesheets/fancytree/skin-win7/ui.fancytree.css → app/assets/stylesheets/fancytree/skin-win7/ui.fancytree.css.erb} +35 -14
- data/app/assets/stylesheets/fancytree/skin-win7/ui.fancytree.min.css.erb +6 -0
- data/{vendor/assets/stylesheets/fancytree/skin-win8-xxl/ui.fancytree.css → app/assets/stylesheets/fancytree/skin-win8-xxl/ui.fancytree.css.erb} +37 -16
- data/app/assets/stylesheets/fancytree/skin-win8-xxl/ui.fancytree.min.css.erb +11 -0
- data/{vendor/assets/stylesheets/fancytree/skin-win8/ui.fancytree.css → app/assets/stylesheets/fancytree/skin-win8/ui.fancytree.css.erb} +37 -16
- data/app/assets/stylesheets/fancytree/skin-win8/ui.fancytree.min.css.erb +6 -0
- data/{vendor/assets/stylesheets/fancytree/skin-xp/ui.fancytree.css → app/assets/stylesheets/fancytree/skin-xp/ui.fancytree.css.erb} +35 -14
- data/app/assets/stylesheets/fancytree/skin-xp/ui.fancytree.min.css.erb +6 -0
- data/{vendor → app}/assets/stylesheets/ui.fancytree.css +0 -0
- data/lib/fancytree/rails/version.rb +2 -2
- metadata +77 -76
- data/vendor/assets/images/fancytree/skin-lion/icons.gif +0 -0
- data/vendor/assets/images/fancytree/skin-themeroller/icons.gif +0 -0
- data/vendor/assets/images/fancytree/skin-vista/icons.gif +0 -0
- data/vendor/assets/images/fancytree/skin-win7/icons.gif +0 -0
- data/vendor/assets/images/fancytree/skin-win8/icons.gif +0 -0
- data/vendor/assets/javascripts/fancytree/jquery.fancytree-custom.min.js +0 -41
- data/vendor/assets/javascripts/fancytree/jquery.fancytree.min.js +0 -14
- data/vendor/assets/stylesheets/fancytree/skin-awesome/ui.fancytree.min.css +0 -6
- data/vendor/assets/stylesheets/fancytree/skin-bootstrap/ui.fancytree.min.css +0 -6
- data/vendor/assets/stylesheets/fancytree/skin-lion/ui.fancytree.min.css +0 -6
- data/vendor/assets/stylesheets/fancytree/skin-vista/ui.fancytree.min.css +0 -6
- data/vendor/assets/stylesheets/fancytree/skin-win7/ui.fancytree.min.css +0 -6
- data/vendor/assets/stylesheets/fancytree/skin-win8-xxl/ui.fancytree.min.css +0 -11
- data/vendor/assets/stylesheets/fancytree/skin-win8/ui.fancytree.min.css +0 -6
- data/vendor/assets/stylesheets/fancytree/skin-xp/ui.fancytree.min.css +0 -6
@@ -9,8 +9,8 @@
|
|
9
9
|
* Released under the MIT license
|
10
10
|
* https://github.com/mar10/fancytree/wiki/LicenseInfo
|
11
11
|
*
|
12
|
-
* @version 2.
|
13
|
-
* @date 2014-
|
12
|
+
* @version 2.1.0
|
13
|
+
* @date 2014-05-29T16:44
|
14
14
|
*/
|
15
15
|
|
16
16
|
;(function($, window, document, undefined) {
|
@@ -298,23 +298,37 @@ $.ui.fancytree.registerExtension({
|
|
298
298
|
/* Expand node, return Deferred.promise. */
|
299
299
|
nodeSetExpanded: function(ctx, flag, opts) {
|
300
300
|
var dfd = new $.Deferred(),
|
301
|
-
|
301
|
+
subOpts = $.extend({}, opts, {noEvents: true, noAnimation: true});
|
302
302
|
|
303
|
-
opts =
|
303
|
+
opts = opts || {};
|
304
304
|
|
305
305
|
function _afterExpand(ok) {
|
306
306
|
flag = (flag !== false);
|
307
307
|
setChildRowVisibility(ctx.node, flag);
|
308
|
-
if( !prevOpts.noEvents ) {
|
309
|
-
ctx.tree._triggerNodeEvent(flag ? "expand" : "collapse", ctx);
|
310
|
-
}
|
311
308
|
if( ok ) {
|
312
|
-
|
309
|
+
if( flag && ctx.options.autoScroll && !opts.noAnimation && ctx.node.hasChildren() ) {
|
310
|
+
// Scroll down to last child, but keep current node visible
|
311
|
+
ctx.node.getLastChild().scrollIntoView(true, {topNode: ctx.node}).always(function(){
|
312
|
+
if( !opts.noEvents ) {
|
313
|
+
ctx.tree._triggerNodeEvent(flag ? "expand" : "collapse", ctx);
|
314
|
+
}
|
315
|
+
dfd.resolveWith(ctx.node);
|
316
|
+
});
|
317
|
+
} else {
|
318
|
+
if( !opts.noEvents ) {
|
319
|
+
ctx.tree._triggerNodeEvent(flag ? "expand" : "collapse", ctx);
|
320
|
+
}
|
321
|
+
dfd.resolveWith(ctx.node);
|
322
|
+
}
|
313
323
|
} else {
|
324
|
+
if( !opts.noEvents ) {
|
325
|
+
ctx.tree._triggerNodeEvent(flag ? "expand" : "collapse", ctx);
|
326
|
+
}
|
314
327
|
dfd.rejectWith(ctx.node);
|
315
328
|
}
|
316
329
|
}
|
317
|
-
|
330
|
+
// Call base-expand with disabled events and animation
|
331
|
+
this._super(ctx, flag, subOpts).done(function () {
|
318
332
|
_afterExpand(true);
|
319
333
|
}).fail(function () {
|
320
334
|
_afterExpand(false);
|
@@ -11,8 +11,8 @@
|
|
11
11
|
* Released under the MIT license
|
12
12
|
* https://github.com/mar10/fancytree/wiki/LicenseInfo
|
13
13
|
*
|
14
|
-
* @version 2.
|
15
|
-
* @date 2014-
|
14
|
+
* @version 2.1.0
|
15
|
+
* @date 2014-05-29T16:44
|
16
16
|
*/
|
17
17
|
|
18
18
|
;(function($, window, document, undefined) {
|
@@ -32,10 +32,7 @@ $.ui.fancytree.registerExtension({
|
|
32
32
|
hoverClass: "ui-state-hover",
|
33
33
|
selectedClass: "ui-state-highlight"
|
34
34
|
},
|
35
|
-
|
36
|
-
// `this` : is this extension object
|
37
|
-
// `this._base` : the Fancytree instance
|
38
|
-
// `this._super`: the virtual function that was overriden (member of prev. extension or Fancytree)
|
35
|
+
|
39
36
|
treeInit: function(ctx){
|
40
37
|
this._super(ctx);
|
41
38
|
var $el = ctx.widget.element;
|
@@ -28,6 +28,7 @@ ul.fancytree-container {
|
|
28
28
|
border: 1px dotted gray;
|
29
29
|
overflow: auto;
|
30
30
|
min-height: 0%;
|
31
|
+
position: relative;
|
31
32
|
}
|
32
33
|
ul.fancytree-container ul {
|
33
34
|
padding: 0 0 0 16px;
|
@@ -77,15 +78,22 @@ span.fancytree-drag-helper-img,
|
|
77
78
|
background-position: left;
|
78
79
|
background-position: 0em 0em;
|
79
80
|
}
|
81
|
+
span.fancytree-icon,
|
82
|
+
span.fancytree-checkbox,
|
83
|
+
span.fancytree-radio,
|
84
|
+
span.fancytree-custom-icon {
|
85
|
+
margin-top: 1px;
|
86
|
+
}
|
80
87
|
/* Used by iconclass option */
|
81
88
|
span.fancytree-custom-icon {
|
82
89
|
display: inline-block;
|
83
90
|
}
|
84
91
|
/* Used by 'icon' node option: */
|
85
|
-
.fancytree-
|
92
|
+
img.fancytree-icon {
|
86
93
|
width: 1em;
|
87
94
|
height: 1em;
|
88
95
|
margin-left: 0.5em;
|
96
|
+
margin-top: 1px;
|
89
97
|
vertical-align: top;
|
90
98
|
border-style: none;
|
91
99
|
}
|
@@ -108,6 +116,13 @@ span.fancytree-expander {
|
|
108
116
|
background-image: none;
|
109
117
|
cursor: default;
|
110
118
|
}
|
119
|
+
.fancytree-loading span.fancytree-expander,
|
120
|
+
.fancytree-loading span.fancytree-expander:hover,
|
121
|
+
.fancytree-statusnode-wait span.fancytree-icon,
|
122
|
+
.fancytree-statusnode-wait span.fancytree-icon:hover {
|
123
|
+
background-image: url("loading.gif");
|
124
|
+
}
|
125
|
+
/* Status node icons */
|
111
126
|
/*------------------------------------------------------------------------------
|
112
127
|
* Checkbox icon
|
113
128
|
*----------------------------------------------------------------------------*/
|
@@ -119,9 +134,6 @@ span.fancytree-checkbox {
|
|
119
134
|
* This is a customization, that may be activated by overriding the 'checkbox'
|
120
135
|
* class name as 'fancytree-radio' in the tree options.
|
121
136
|
*----------------------------------------------------------------------------*/
|
122
|
-
.fancytree-radio span.fancytree-checkbox {
|
123
|
-
margin-left: 0.5em;
|
124
|
-
}
|
125
137
|
/*------------------------------------------------------------------------------
|
126
138
|
* Node type icon
|
127
139
|
* Note: IE6 doesn't correctly evaluate multiples class names,
|
@@ -136,7 +148,6 @@ span.fancytree-icon {
|
|
136
148
|
}
|
137
149
|
/* Documents */
|
138
150
|
/* Folders */
|
139
|
-
/* Status node icons */
|
140
151
|
/*------------------------------------------------------------------------------
|
141
152
|
* Node titles and highlighting
|
142
153
|
*----------------------------------------------------------------------------*/
|
@@ -275,6 +286,20 @@ table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right {
|
|
275
286
|
color: black;
|
276
287
|
font-weight: normal;
|
277
288
|
}
|
289
|
+
/*------------------------------------------------------------------------------
|
290
|
+
* 'wide' extension
|
291
|
+
*----------------------------------------------------------------------------*/
|
292
|
+
ul.fancytree-ext-wide span.fancytree-node > span {
|
293
|
+
position: relative;
|
294
|
+
z-index: 2;
|
295
|
+
}
|
296
|
+
ul.fancytree-ext-wide span.fancytree-node span.fancytree-title {
|
297
|
+
position: relative;
|
298
|
+
z-index: 1;
|
299
|
+
width: 100%;
|
300
|
+
padding-left: 503px;
|
301
|
+
margin-left: -500px;
|
302
|
+
}
|
278
303
|
/*******************************************************************************
|
279
304
|
* Styles specific to this skin.
|
280
305
|
*
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Fancytree "awesome" skin.
|
3
|
+
*
|
4
|
+
* DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from
|
5
|
+
* the LESS templates.
|
6
|
+
*/.ui-helper-hidden{display:none}ul.fancytree-container{font-family:tahoma,arial,helvetica;font-size:10pt;white-space:nowrap;padding:3px;margin:0;background-color:#fff;border:1px dotted gray;overflow:auto;min-height:0;position:relative}ul.fancytree-container li{list-style-image:none;list-style-position:outside;list-style-type:none;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background-attachment:scroll;background-color:transparent;background-position:0 0;background-repeat:repeat-y;background-image:none;margin:0;padding:1px 0 0}ul.fancytree-container li.fancytree-lastsib,ul.fancytree-no-connector>li{background-image:none}.ui-fancytree-disabled ul.fancytree-container{opacity:.5;background-color:silver}#fancytree-drop-marker,span.fancytree-checkbox,span.fancytree-drag-helper-img,span.fancytree-empty,span.fancytree-expander,span.fancytree-icon,span.fancytree-radio,span.fancytree-vline{width:1em;height:1em;display:inline-block;vertical-align:top;background-repeat:no-repeat;background-position:left;background-position:0 0}span.fancytree-checkbox,span.fancytree-custom-icon,span.fancytree-icon,span.fancytree-radio{margin-top:1px}span.fancytree-custom-icon{display:inline-block}img.fancytree-icon{width:1em;height:1em;margin-left:.5em;margin-top:1px;vertical-align:top;border-style:none}span.fancytree-expander{cursor:pointer}.fancytree-exp-n span.fancytree-expander,.fancytree-exp-nl span.fancytree-expander{background-image:none;cursor:default}.fancytree-loading span.fancytree-expander,.fancytree-loading span.fancytree-expander:hover,.fancytree-statusnode-wait span.fancytree-icon,.fancytree-statusnode-wait span.fancytree-icon:hover{background-image:url(loading.gif)}span.fancytree-checkbox,span.fancytree-icon{margin-left:.5em}span.fancytree-node{display:inherit;width:100%}span.fancytree-title{display:inline-block;padding-left:3px;padding-right:3px;color:#000;vertical-align:top;margin:0;margin-left:3px;cursor:pointer}span.fancytree-node.fancytree-error span.fancytree-title{color:red}div.fancytree-drag-helper a{border:1px solid gray;background-color:#fff;padding-left:5px;padding-right:5px;opacity:.8}div.fancytree-drag-helper.fancytree-drop-reject{border-color:red}#fancytree-drop-marker{width:2em;position:absolute;margin:0}#fancytree-drop-marker.fancytree-drop-after,#fancytree-drop-marker.fancytree-drop-before{width:4em}span.fancytree-drag-source{background-color:#e0e0e0}span.fancytree-drag-source span.fancytree.title{color:gray}span.fancytree-drop-target.fancytree-drop-accept a{background-color:#3169C6!important;color:#fff!important;text-decoration:none}table.fancytree-ext-table{border-collapse:collapse}table.fancytree-ext-table span.fancytree-node{display:inline-block}table.fancytree-ext-columnview tbody tr td{position:relative;border:1px solid gray;vertical-align:top;overflow:auto}table.fancytree-ext-columnview tbody tr td>ul{padding:0}table.fancytree-ext-columnview tbody tr td>ul li{list-style-image:none;list-style-position:outside;list-style-type:none;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background-attachment:scroll;background-color:transparent;background-position:0 0;background-repeat:repeat-y;background-image:none;margin:0;padding:1px 0 0}table.fancytree-ext-columnview span.fancytree-node{position:relative;display:inline-block}table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded{background-color:#CBE8F6}table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right{position:absolute;right:3px}.fancytree-ext-filter-dimm span.fancytree-node span.fancytree-title{color:silver;font-weight:lighter}.fancytree-ext-filter-dimm span.fancytree-node.fancytree-submatch span.fancytree-title,.fancytree-ext-filter-dimm tr.fancytree-submatch span.fancytree-title{color:#000;font-weight:400}.fancytree-ext-filter-dimm span.fancytree-node.fancytree-match span.fancytree-title,.fancytree-ext-filter-dimm tr.fancytree-match span.fancytree-title{color:#000;font-weight:700}.fancytree-ext-filter-hide span.fancytree-node.fancytree-hide,.fancytree-ext-filter-hide tr.fancytree-hide{display:none}.fancytree-ext-filter-hide span.fancytree-node.fancytree-submatch span.fancytree-title,.fancytree-ext-filter-hide tr.fancytree-submatch span.fancytree-title{color:silver;font-weight:lighter}.fancytree-ext-filter-hide span.fancytree-node.fancytree-match span.fancytree-title,.fancytree-ext-filter-hide tr.fancytree-match span.fancytree-title{color:#000;font-weight:400}ul.fancytree-ext-wide span.fancytree-node>span{position:relative;z-index:2}ul.fancytree-ext-wide span.fancytree-node span.fancytree-title{position:relative;z-index:1;width:100%;padding-left:503px;margin-left:-500px}ul.fancytree-container ul{padding:.3em 0 0 1em;margin:0}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Fancytree "bootstrap" skin.
|
2
|
+
* Fancytree "bootstrap" skin (highlighting the node span instead of title-only).
|
3
3
|
*
|
4
4
|
* DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from
|
5
5
|
* the LESS templates.
|
@@ -28,6 +28,7 @@ ul.fancytree-container {
|
|
28
28
|
border: 1px dotted gray;
|
29
29
|
overflow: auto;
|
30
30
|
min-height: 0%;
|
31
|
+
position: relative;
|
31
32
|
}
|
32
33
|
ul.fancytree-container ul {
|
33
34
|
padding: 0 0 0 16px;
|
@@ -77,15 +78,22 @@ span.fancytree-drag-helper-img,
|
|
77
78
|
background-position: left;
|
78
79
|
background-position: 0em 0em;
|
79
80
|
}
|
81
|
+
span.fancytree-icon,
|
82
|
+
span.fancytree-checkbox,
|
83
|
+
span.fancytree-radio,
|
84
|
+
span.fancytree-custom-icon {
|
85
|
+
margin-top: 1px;
|
86
|
+
}
|
80
87
|
/* Used by iconclass option */
|
81
88
|
span.fancytree-custom-icon {
|
82
89
|
display: inline-block;
|
83
90
|
}
|
84
91
|
/* Used by 'icon' node option: */
|
85
|
-
.fancytree-
|
92
|
+
img.fancytree-icon {
|
86
93
|
width: 1em;
|
87
94
|
height: 1em;
|
88
95
|
margin-left: 0.5em;
|
96
|
+
margin-top: 1px;
|
89
97
|
vertical-align: top;
|
90
98
|
border-style: none;
|
91
99
|
}
|
@@ -108,6 +116,13 @@ span.fancytree-expander {
|
|
108
116
|
background-image: none;
|
109
117
|
cursor: default;
|
110
118
|
}
|
119
|
+
.fancytree-loading span.fancytree-expander,
|
120
|
+
.fancytree-loading span.fancytree-expander:hover,
|
121
|
+
.fancytree-statusnode-wait span.fancytree-icon,
|
122
|
+
.fancytree-statusnode-wait span.fancytree-icon:hover {
|
123
|
+
background-image: url("loading.gif");
|
124
|
+
}
|
125
|
+
/* Status node icons */
|
111
126
|
/*------------------------------------------------------------------------------
|
112
127
|
* Checkbox icon
|
113
128
|
*----------------------------------------------------------------------------*/
|
@@ -119,9 +134,6 @@ span.fancytree-checkbox {
|
|
119
134
|
* This is a customization, that may be activated by overriding the 'checkbox'
|
120
135
|
* class name as 'fancytree-radio' in the tree options.
|
121
136
|
*----------------------------------------------------------------------------*/
|
122
|
-
.fancytree-radio span.fancytree-checkbox {
|
123
|
-
margin-left: 0.5em;
|
124
|
-
}
|
125
137
|
/*------------------------------------------------------------------------------
|
126
138
|
* Node type icon
|
127
139
|
* Note: IE6 doesn't correctly evaluate multiples class names,
|
@@ -136,7 +148,6 @@ span.fancytree-icon {
|
|
136
148
|
}
|
137
149
|
/* Documents */
|
138
150
|
/* Folders */
|
139
|
-
/* Status node icons */
|
140
151
|
/*------------------------------------------------------------------------------
|
141
152
|
* Node titles and highlighting
|
142
153
|
*----------------------------------------------------------------------------*/
|
@@ -275,6 +286,20 @@ table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right {
|
|
275
286
|
color: black;
|
276
287
|
font-weight: normal;
|
277
288
|
}
|
289
|
+
/*------------------------------------------------------------------------------
|
290
|
+
* 'wide' extension
|
291
|
+
*----------------------------------------------------------------------------*/
|
292
|
+
ul.fancytree-ext-wide span.fancytree-node > span {
|
293
|
+
position: relative;
|
294
|
+
z-index: 2;
|
295
|
+
}
|
296
|
+
ul.fancytree-ext-wide span.fancytree-node span.fancytree-title {
|
297
|
+
position: relative;
|
298
|
+
z-index: 1;
|
299
|
+
width: 100%;
|
300
|
+
padding-left: 503px;
|
301
|
+
margin-left: -500px;
|
302
|
+
}
|
278
303
|
/*******************************************************************************
|
279
304
|
* Styles specific to this skin.
|
280
305
|
*
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Fancytree "bootstrap" skin (highlighting the node span instead of title-only).
|
3
|
+
*
|
4
|
+
* DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from
|
5
|
+
* the LESS templates.
|
6
|
+
*/.ui-helper-hidden{display:none}ul.fancytree-container{font-family:tahoma,arial,helvetica;font-size:10pt;white-space:nowrap;padding:3px;margin:0;background-color:#fff;border:1px dotted gray;overflow:auto;min-height:0;position:relative}ul.fancytree-container li{list-style-image:none;list-style-position:outside;list-style-type:none;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background-attachment:scroll;background-color:transparent;background-position:0 0;background-repeat:repeat-y;background-image:none;margin:0;padding:1px 0 0}ul.fancytree-container li.fancytree-lastsib,ul.fancytree-no-connector>li{background-image:none}.ui-fancytree-disabled ul.fancytree-container{opacity:.5;background-color:silver}#fancytree-drop-marker,span.fancytree-checkbox,span.fancytree-drag-helper-img,span.fancytree-empty,span.fancytree-expander,span.fancytree-icon,span.fancytree-radio,span.fancytree-vline{width:1em;height:1em;display:inline-block;vertical-align:top;background-repeat:no-repeat;background-position:left;background-position:0 0}span.fancytree-checkbox,span.fancytree-custom-icon,span.fancytree-icon,span.fancytree-radio{margin-top:1px}span.fancytree-custom-icon{display:inline-block}img.fancytree-icon{width:1em;height:1em;margin-left:.5em;margin-top:1px;vertical-align:top;border-style:none}span.fancytree-expander{cursor:pointer}.fancytree-exp-n span.fancytree-expander,.fancytree-exp-nl span.fancytree-expander{background-image:none;cursor:default}.fancytree-loading span.fancytree-expander,.fancytree-loading span.fancytree-expander:hover,.fancytree-statusnode-wait span.fancytree-icon,.fancytree-statusnode-wait span.fancytree-icon:hover{background-image:url(loading.gif)}span.fancytree-checkbox,span.fancytree-icon{margin-left:.5em}span.fancytree-node{display:inherit;width:100%}span.fancytree-title{display:inline-block;padding-left:3px;padding-right:3px;color:#000;vertical-align:top;margin:0;margin-left:3px;cursor:pointer}span.fancytree-node.fancytree-error span.fancytree-title{color:red}div.fancytree-drag-helper a{border:1px solid gray;background-color:#fff;padding-left:5px;padding-right:5px;opacity:.8}div.fancytree-drag-helper.fancytree-drop-reject{border-color:red}#fancytree-drop-marker{width:2em;position:absolute;margin:0}#fancytree-drop-marker.fancytree-drop-after,#fancytree-drop-marker.fancytree-drop-before{width:4em}span.fancytree-drag-source{background-color:#e0e0e0}span.fancytree-drag-source span.fancytree.title{color:gray}span.fancytree-drop-target.fancytree-drop-accept a{background-color:#3169C6!important;color:#fff!important;text-decoration:none}table.fancytree-ext-table{border-collapse:collapse}table.fancytree-ext-table span.fancytree-node{display:inline-block}table.fancytree-ext-columnview tbody tr td{position:relative;border:1px solid gray;vertical-align:top;overflow:auto}table.fancytree-ext-columnview tbody tr td>ul{padding:0}table.fancytree-ext-columnview tbody tr td>ul li{list-style-image:none;list-style-position:outside;list-style-type:none;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background-attachment:scroll;background-color:transparent;background-position:0 0;background-repeat:repeat-y;background-image:none;margin:0;padding:1px 0 0}table.fancytree-ext-columnview span.fancytree-node{position:relative;display:inline-block}table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded{background-color:#CBE8F6}table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right{position:absolute;right:3px}.fancytree-ext-filter-dimm span.fancytree-node span.fancytree-title{color:silver;font-weight:lighter}.fancytree-ext-filter-dimm span.fancytree-node.fancytree-submatch span.fancytree-title,.fancytree-ext-filter-dimm tr.fancytree-submatch span.fancytree-title{color:#000;font-weight:400}.fancytree-ext-filter-dimm span.fancytree-node.fancytree-match span.fancytree-title,.fancytree-ext-filter-dimm tr.fancytree-match span.fancytree-title{color:#000;font-weight:700}.fancytree-ext-filter-hide span.fancytree-node.fancytree-hide,.fancytree-ext-filter-hide tr.fancytree-hide{display:none}.fancytree-ext-filter-hide span.fancytree-node.fancytree-submatch span.fancytree-title,.fancytree-ext-filter-hide tr.fancytree-submatch span.fancytree-title{color:silver;font-weight:lighter}.fancytree-ext-filter-hide span.fancytree-node.fancytree-match span.fancytree-title,.fancytree-ext-filter-hide tr.fancytree-match span.fancytree-title{color:#000;font-weight:400}ul.fancytree-ext-wide span.fancytree-node>span{position:relative;z-index:2}ul.fancytree-ext-wide span.fancytree-node span.fancytree-title{position:relative;z-index:1;width:100%;padding-left:503px;margin-left:-500px}ul.fancytree-container ul{padding:0 0 0 1.5em;margin:0}.fancytree-container:focus{outline:0}span.fancytree-node{border:1px solid transparent;border-radius:3px;padding-left:8px}span.fancytree-title{border-radius:3px}span.fancytree-node.fancytree-selected{background-color:#80c780;border-color:#80c780}span.fancytree-node.fancytree-selected span.fancytree-title{background-color:#80c780}span.fancytree-node.fancytree-active{background-color:#6aa3d5}.fancytree-container.fancytree-treefocus span.fancytree-node:hover{background-color:#e9f2f9}.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-focused{border-color:#428bca}.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-selected,.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-selected span.fancytree-title{background-color:#5cb85c}.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-active{background-color:#428bca;border-color:#428bca}table.fancytree-ext-table tbody tr td{border:1px solid #eee}table.fancytree-ext-table tbody tr.fancytree-selected,table.fancytree-ext-table tbody tr.fancytree-selected span.fancytree-node,table.fancytree-ext-table tbody tr.fancytree-selected span.fancytree-title{background-color:#80c780}table.fancytree-ext-table tbody tr.fancytree-active,table.fancytree-ext-table tbody tr.fancytree-active span.fancytree-node{background-color:#6aa3d5}table.fancytree-ext-table.fancytree-treefocus tbody tr:hover{background-color:#e9f2f9}table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-focused span.fancytree-title{outline:1px dotted #428bca}table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-selected,table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-selected span.fancytree-node,table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-selected span.fancytree-title{background-color:#5cb85c}table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-active,table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-active span.fancytree-node{background-color:#428bca}
|
@@ -34,6 +34,7 @@ ul.fancytree-container {
|
|
34
34
|
border: 1px dotted gray;
|
35
35
|
overflow: auto;
|
36
36
|
min-height: 0%;
|
37
|
+
position: relative;
|
37
38
|
}
|
38
39
|
ul.fancytree-container ul {
|
39
40
|
padding: 0 0 0 16px;
|
@@ -81,18 +82,25 @@ span.fancytree-drag-helper-img,
|
|
81
82
|
vertical-align: top;
|
82
83
|
background-repeat: no-repeat;
|
83
84
|
background-position: left;
|
84
|
-
background-image: url("icons.gif");
|
85
|
+
background-image: url(<%= image_path("fancytree/icons.gif") %>);
|
85
86
|
background-position: 0px 0px;
|
86
87
|
}
|
88
|
+
span.fancytree-icon,
|
89
|
+
span.fancytree-checkbox,
|
90
|
+
span.fancytree-radio,
|
91
|
+
span.fancytree-custom-icon {
|
92
|
+
margin-top: 1px;
|
93
|
+
}
|
87
94
|
/* Used by iconclass option */
|
88
95
|
span.fancytree-custom-icon {
|
89
96
|
display: inline-block;
|
90
97
|
}
|
91
98
|
/* Used by 'icon' node option: */
|
92
|
-
.fancytree-
|
99
|
+
img.fancytree-icon {
|
93
100
|
width: 16px;
|
94
101
|
height: 16px;
|
95
102
|
margin-left: 3px;
|
103
|
+
margin-top: 1px;
|
96
104
|
vertical-align: top;
|
97
105
|
border-style: none;
|
98
106
|
}
|
@@ -164,10 +172,16 @@ span.fancytree-expander {
|
|
164
172
|
background-position: -48px -96px;
|
165
173
|
}
|
166
174
|
.fancytree-loading span.fancytree-expander,
|
167
|
-
.fancytree-loading span.fancytree-expander:hover
|
175
|
+
.fancytree-loading span.fancytree-expander:hover,
|
176
|
+
.fancytree-statusnode-wait span.fancytree-icon,
|
177
|
+
.fancytree-statusnode-wait span.fancytree-icon:hover {
|
168
178
|
background-image: url("loading.gif");
|
169
179
|
background-position: 0px 0px;
|
170
180
|
}
|
181
|
+
/* Status node icons */
|
182
|
+
.fancytree-statusnode-error span.fancytree-icon {
|
183
|
+
background-position: 0px -112px;
|
184
|
+
}
|
171
185
|
/*------------------------------------------------------------------------------
|
172
186
|
* Checkbox icon
|
173
187
|
*----------------------------------------------------------------------------*/
|
@@ -196,7 +210,6 @@ span.fancytree-checkbox:hover {
|
|
196
210
|
* class name as 'fancytree-radio' in the tree options.
|
197
211
|
*----------------------------------------------------------------------------*/
|
198
212
|
.fancytree-radio span.fancytree-checkbox {
|
199
|
-
margin-left: 3px;
|
200
213
|
background-position: 0px -48px;
|
201
214
|
}
|
202
215
|
.fancytree-radio span.fancytree-checkbox:hover {
|
@@ -262,15 +275,6 @@ span.fancytree-icon {
|
|
262
275
|
.fancytree-ico-ef span.fancytree-icon:hover {
|
263
276
|
background-position: -80px -16px;
|
264
277
|
}
|
265
|
-
/* Status node icons */
|
266
|
-
.fancytree-statusnode-wait span.fancytree-icon,
|
267
|
-
.fancytree-statusnode-wait span.fancytree-icon:hover {
|
268
|
-
background-image: url("loading.gif");
|
269
|
-
background-position: 0px 0px;
|
270
|
-
}
|
271
|
-
.fancytree-statusnode-error span.fancytree-icon {
|
272
|
-
background-position: 0px -112px;
|
273
|
-
}
|
274
278
|
/*------------------------------------------------------------------------------
|
275
279
|
* Node titles and highlighting
|
276
280
|
*----------------------------------------------------------------------------*/
|
@@ -389,9 +393,12 @@ table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded {
|
|
389
393
|
background-color: #CBE8F6;
|
390
394
|
}
|
391
395
|
table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right {
|
392
|
-
background-position: 0px -80px;
|
393
396
|
position: absolute;
|
394
397
|
right: 3px;
|
398
|
+
background-position: 0px -80px;
|
399
|
+
}
|
400
|
+
table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right:hover {
|
401
|
+
background-position: -16px -80px;
|
395
402
|
}
|
396
403
|
/*------------------------------------------------------------------------------
|
397
404
|
* 'filter' extension
|
@@ -424,6 +431,20 @@ table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right {
|
|
424
431
|
color: black;
|
425
432
|
font-weight: normal;
|
426
433
|
}
|
434
|
+
/*------------------------------------------------------------------------------
|
435
|
+
* 'wide' extension
|
436
|
+
*----------------------------------------------------------------------------*/
|
437
|
+
ul.fancytree-ext-wide span.fancytree-node > span {
|
438
|
+
position: relative;
|
439
|
+
z-index: 2;
|
440
|
+
}
|
441
|
+
ul.fancytree-ext-wide span.fancytree-node span.fancytree-title {
|
442
|
+
position: relative;
|
443
|
+
z-index: 1;
|
444
|
+
width: 100%;
|
445
|
+
padding-left: 503px;
|
446
|
+
margin-left: -500px;
|
447
|
+
}
|
427
448
|
/*******************************************************************************
|
428
449
|
* Styles specific to this skin.
|
429
450
|
*
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Fancytree "Lion" skin.
|
3
|
+
*
|
4
|
+
* DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from
|
5
|
+
* the LESS templates.
|
6
|
+
*/.ui-helper-hidden{display:none}ul.fancytree-container{font-family:tahoma,arial,helvetica;font-size:10pt;white-space:nowrap;padding:3px;margin:0;background-color:#fff;border:1px dotted gray;overflow:auto;min-height:0;position:relative}ul.fancytree-container ul{padding:0 0 0 16px;margin:0}ul.fancytree-container li{list-style-image:none;list-style-position:outside;list-style-type:none;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background-attachment:scroll;background-color:transparent;background-position:0 0;background-repeat:repeat-y;background-image:none;margin:0;padding:1px 0 0}ul.fancytree-container li.fancytree-lastsib,ul.fancytree-no-connector>li{background-image:none}.ui-fancytree-disabled ul.fancytree-container{opacity:.5;background-color:silver}#fancytree-drop-marker,span.fancytree-checkbox,span.fancytree-drag-helper-img,span.fancytree-empty,span.fancytree-expander,span.fancytree-icon,span.fancytree-radio,span.fancytree-vline{width:16px;height:16px;display:inline-block;vertical-align:top;background-repeat:no-repeat;background-image:url(icons.gif);background-position:0 0}span.fancytree-checkbox,span.fancytree-custom-icon,span.fancytree-icon,span.fancytree-radio{margin-top:1px}span.fancytree-custom-icon{display:inline-block}img.fancytree-icon{width:16px;height:16px;margin-left:3px;margin-top:1px;vertical-align:top;border-style:none}span.fancytree-expander{cursor:pointer}.fancytree-exp-n span.fancytree-expander,.fancytree-exp-nl span.fancytree-expander{background-image:none;cursor:default}.fancytree-exp-n span.fancytree-expander,.fancytree-exp-n span.fancytree-expander:hover{background-position:0 -64px}.fancytree-exp-nl span.fancytree-expander,.fancytree-exp-nl span.fancytree-expander:hover{background-position:-16px -64px}.fancytree-exp-c span.fancytree-expander{background-position:0 -80px}.fancytree-exp-c span.fancytree-expander:hover{background-position:-16px -80px}.fancytree-exp-cl span.fancytree-expander{background-position:0 -96px}.fancytree-exp-cl span.fancytree-expander:hover{background-position:-16px -96px}.fancytree-exp-cd span.fancytree-expander{background-position:-64px -80px}.fancytree-exp-cd span.fancytree-expander:hover{background-position:-80px -80px}.fancytree-exp-cdl span.fancytree-expander{background-position:-64px -96px}.fancytree-exp-cdl span.fancytree-expander:hover{background-position:-80px -96px}.fancytree-exp-e span.fancytree-expander,.fancytree-exp-ed span.fancytree-expander{background-position:-32px -80px}.fancytree-exp-e span.fancytree-expander:hover,.fancytree-exp-ed span.fancytree-expander:hover{background-position:-48px -80px}.fancytree-exp-edl span.fancytree-expander,.fancytree-exp-el span.fancytree-expander{background-position:-32px -96px}.fancytree-exp-edl span.fancytree-expander:hover,.fancytree-exp-el span.fancytree-expander:hover{background-position:-48px -96px}.fancytree-loading span.fancytree-expander,.fancytree-loading span.fancytree-expander:hover,.fancytree-statusnode-wait span.fancytree-icon,.fancytree-statusnode-wait span.fancytree-icon:hover{background-image:url(loading.gif);background-position:0 0}.fancytree-statusnode-error span.fancytree-icon{background-position:0 -112px}span.fancytree-checkbox{margin-left:3px;background-position:0 -32px}span.fancytree-checkbox:hover{background-position:-16px -32px}.fancytree-partsel span.fancytree-checkbox{background-position:-64px -32px}.fancytree-partsel span.fancytree-checkbox:hover{background-position:-80px -32px}.fancytree-selected span.fancytree-checkbox{background-position:-32px -32px}.fancytree-selected span.fancytree-checkbox:hover{background-position:-48px -32px}.fancytree-radio span.fancytree-checkbox{background-position:0 -48px}.fancytree-radio span.fancytree-checkbox:hover{background-position:-16px -48px}.fancytree-radio .fancytree-partsel span.fancytree-checkbox{background-position:-64px -48px}.fancytree-radio .fancytree-partsel span.fancytree-checkbox:hover{background-position:-80px -48px}.fancytree-radio .fancytree-selected span.fancytree-checkbox{background-position:-32px -48px}.fancytree-radio .fancytree-selected span.fancytree-checkbox:hover{background-position:-48px -48px}span.fancytree-icon{margin-left:3px;background-position:0 0}.fancytree-ico-c span.fancytree-icon:hover{background-position:-16px 0}.fancytree-has-children.fancytree-ico-c span.fancytree-icon{background-position:-32px 0}.fancytree-has-children.fancytree-ico-c span.fancytree-icon:hover{background-position:-48px 0}.fancytree-ico-e span.fancytree-icon{background-position:-64px 0}.fancytree-ico-e span.fancytree-icon:hover{background-position:-80px 0}.fancytree-ico-cf span.fancytree-icon{background-position:0 -16px}.fancytree-ico-cf span.fancytree-icon:hover{background-position:-16px -16px}.fancytree-has-children.fancytree-ico-cf span.fancytree-icon{background-position:-32px -16px}.fancytree-has-children.fancytree-ico-cf span.fancytree-icon:hover{background-position:-48px -16px}.fancytree-ico-ef span.fancytree-icon{background-position:-64px -16px}.fancytree-ico-ef span.fancytree-icon:hover{background-position:-80px -16px}span.fancytree-node{display:inherit;width:100%}span.fancytree-title{display:inline-block;padding-left:3px;padding-right:3px;color:#000;vertical-align:top;margin:0;margin-left:3px;cursor:pointer}span.fancytree-node.fancytree-error span.fancytree-title{color:red}div.fancytree-drag-helper a{border:1px solid gray;background-color:#fff;padding-left:5px;padding-right:5px;opacity:.8}div.fancytree-drag-helper.fancytree-drop-reject{border-color:red}div.fancytree-drop-accept span.fancytree-drag-helper-img{background-position:-32px -112px}div.fancytree-drop-reject span.fancytree-drag-helper-img{background-position:-16px -112px}#fancytree-drop-marker{width:32px;position:absolute;background-position:0 -128px;margin:0}#fancytree-drop-marker.fancytree-drop-after,#fancytree-drop-marker.fancytree-drop-before{width:64px;background-position:0 -144px}#fancytree-drop-marker.fancytree-drop-copy{background-position:-64px -128px}#fancytree-drop-marker.fancytree-drop-move{background-position:-32px -128px}span.fancytree-drag-source{background-color:#e0e0e0}span.fancytree-drag-source span.fancytree.title{color:gray}span.fancytree-drop-target.fancytree-drop-accept a{background-color:#3169C6!important;color:#fff!important;text-decoration:none}table.fancytree-ext-table span.fancytree-node{display:inline-block}table.fancytree-ext-columnview tbody tr td{position:relative;vertical-align:top;overflow:auto}table.fancytree-ext-columnview tbody tr td>ul{padding:0}table.fancytree-ext-columnview tbody tr td>ul li{list-style-image:none;list-style-position:outside;list-style-type:none;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background-attachment:scroll;background-color:transparent;background-position:0 0;background-repeat:repeat-y;background-image:none;margin:0;padding:1px 0 0}table.fancytree-ext-columnview span.fancytree-node{position:relative;display:inline-block}table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right{position:absolute;right:3px;background-position:0 -80px}table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right:hover{background-position:-16px -80px}.fancytree-ext-filter-dimm span.fancytree-node span.fancytree-title{color:silver;font-weight:lighter}.fancytree-ext-filter-dimm span.fancytree-node.fancytree-submatch span.fancytree-title,.fancytree-ext-filter-dimm tr.fancytree-submatch span.fancytree-title{color:#000;font-weight:400}.fancytree-ext-filter-dimm span.fancytree-node.fancytree-match span.fancytree-title,.fancytree-ext-filter-dimm tr.fancytree-match span.fancytree-title{color:#000;font-weight:700}.fancytree-ext-filter-hide span.fancytree-node.fancytree-hide,.fancytree-ext-filter-hide tr.fancytree-hide{display:none}.fancytree-ext-filter-hide span.fancytree-node.fancytree-submatch span.fancytree-title,.fancytree-ext-filter-hide tr.fancytree-submatch span.fancytree-title{color:silver;font-weight:lighter}.fancytree-ext-filter-hide span.fancytree-node.fancytree-match span.fancytree-title,.fancytree-ext-filter-hide tr.fancytree-match span.fancytree-title{color:#000;font-weight:400}ul.fancytree-ext-wide span.fancytree-node>span{position:relative;z-index:2}ul.fancytree-ext-wide span.fancytree-node span.fancytree-title{position:relative;z-index:1;width:100%;padding-left:503px;margin-left:-500px}span.fancytree-title{border:1px solid transparent;border-radius:0}span.fancytree-focused span.fancytree-title{outline:1px dotted #000}span.fancytree-active span.fancytree-title,span.fancytree-selected span.fancytree-title{background-color:#D4D4D4}span.fancytree-selected span.fancytree-title{font-style:italic}.fancytree-treefocus span.fancytree-active span.fancytree-title,.fancytree-treefocus span.fancytree-selected span.fancytree-title{color:#fff;background-color:#3875D7}table.fancytree-ext-table{border-collapse:collapse}table.fancytree-ext-table tbody tr.fancytree-focused{background-color:#99DEFD}table.fancytree-ext-table tbody tr.fancytree-active{background-color:#4169e1}table.fancytree-ext-table tbody tr.fancytree-selected{background-color:#99DEFD}table.fancytree-ext-columnview tbody tr td{border:1px solid gray}table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded{background-color:#ccc}table.fancytree-ext-columnview span.fancytree-node.fancytree-active{background-color:#4169e1}
|
@@ -88,7 +88,7 @@ span.fancytree-drag-helper-img,
|
|
88
88
|
vertical-align: top;
|
89
89
|
background-repeat: no-repeat;
|
90
90
|
background-position: left;
|
91
|
-
background-image: url("icons.gif");
|
91
|
+
background-image: url(<%= image_path("fancytree/icons.gif") %>);
|
92
92
|
background-position: 0 0;
|
93
93
|
}
|
94
94
|
/** Used by iconclass option */
|
File without changes
|
@@ -44,6 +44,7 @@ ul.fancytree-container {
|
|
44
44
|
border: 1px dotted gray;
|
45
45
|
overflow: auto;
|
46
46
|
min-height: 0%;
|
47
|
+
position: relative;
|
47
48
|
}
|
48
49
|
ul.fancytree-container ul {
|
49
50
|
padding: 0 0 0 16px;
|
@@ -91,18 +92,25 @@ span.fancytree-drag-helper-img,
|
|
91
92
|
vertical-align: top;
|
92
93
|
background-repeat: no-repeat;
|
93
94
|
background-position: left;
|
94
|
-
background-image: url("icons.gif");
|
95
|
+
background-image: url(<%= image_path("fancytree/icons.gif") %>);
|
95
96
|
background-position: 0px 0px;
|
96
97
|
}
|
98
|
+
span.fancytree-icon,
|
99
|
+
span.fancytree-checkbox,
|
100
|
+
span.fancytree-radio,
|
101
|
+
span.fancytree-custom-icon {
|
102
|
+
margin-top: 1px;
|
103
|
+
}
|
97
104
|
/* Used by iconclass option */
|
98
105
|
span.fancytree-custom-icon {
|
99
106
|
display: inline-block;
|
100
107
|
}
|
101
108
|
/* Used by 'icon' node option: */
|
102
|
-
.fancytree-
|
109
|
+
img.fancytree-icon {
|
103
110
|
width: 16px;
|
104
111
|
height: 16px;
|
105
112
|
margin-left: 3px;
|
113
|
+
margin-top: 1px;
|
106
114
|
vertical-align: top;
|
107
115
|
border-style: none;
|
108
116
|
}
|
@@ -174,10 +182,16 @@ span.fancytree-expander {
|
|
174
182
|
background-position: -48px -96px;
|
175
183
|
}
|
176
184
|
.fancytree-loading span.fancytree-expander,
|
177
|
-
.fancytree-loading span.fancytree-expander:hover
|
185
|
+
.fancytree-loading span.fancytree-expander:hover,
|
186
|
+
.fancytree-statusnode-wait span.fancytree-icon,
|
187
|
+
.fancytree-statusnode-wait span.fancytree-icon:hover {
|
178
188
|
background-image: url("loading.gif");
|
179
189
|
background-position: 0px 0px;
|
180
190
|
}
|
191
|
+
/* Status node icons */
|
192
|
+
.fancytree-statusnode-error span.fancytree-icon {
|
193
|
+
background-position: 0px -112px;
|
194
|
+
}
|
181
195
|
/*------------------------------------------------------------------------------
|
182
196
|
* Checkbox icon
|
183
197
|
*----------------------------------------------------------------------------*/
|
@@ -206,7 +220,6 @@ span.fancytree-checkbox:hover {
|
|
206
220
|
* class name as 'fancytree-radio' in the tree options.
|
207
221
|
*----------------------------------------------------------------------------*/
|
208
222
|
.fancytree-radio span.fancytree-checkbox {
|
209
|
-
margin-left: 3px;
|
210
223
|
background-position: 0px -48px;
|
211
224
|
}
|
212
225
|
.fancytree-radio span.fancytree-checkbox:hover {
|
@@ -272,15 +285,6 @@ span.fancytree-icon {
|
|
272
285
|
.fancytree-ico-ef span.fancytree-icon:hover {
|
273
286
|
background-position: -80px -16px;
|
274
287
|
}
|
275
|
-
/* Status node icons */
|
276
|
-
.fancytree-statusnode-wait span.fancytree-icon,
|
277
|
-
.fancytree-statusnode-wait span.fancytree-icon:hover {
|
278
|
-
background-image: url("loading.gif");
|
279
|
-
background-position: 0px 0px;
|
280
|
-
}
|
281
|
-
.fancytree-statusnode-error span.fancytree-icon {
|
282
|
-
background-position: 0px -112px;
|
283
|
-
}
|
284
288
|
/*------------------------------------------------------------------------------
|
285
289
|
* Node titles and highlighting
|
286
290
|
*----------------------------------------------------------------------------*/
|
@@ -399,9 +403,12 @@ table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded {
|
|
399
403
|
background-color: #CBE8F6;
|
400
404
|
}
|
401
405
|
table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right {
|
402
|
-
background-position: 0px -80px;
|
403
406
|
position: absolute;
|
404
407
|
right: 3px;
|
408
|
+
background-position: 0px -80px;
|
409
|
+
}
|
410
|
+
table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right:hover {
|
411
|
+
background-position: -16px -80px;
|
405
412
|
}
|
406
413
|
/*------------------------------------------------------------------------------
|
407
414
|
* 'filter' extension
|
@@ -434,6 +441,20 @@ table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right {
|
|
434
441
|
color: black;
|
435
442
|
font-weight: normal;
|
436
443
|
}
|
444
|
+
/*------------------------------------------------------------------------------
|
445
|
+
* 'wide' extension
|
446
|
+
*----------------------------------------------------------------------------*/
|
447
|
+
ul.fancytree-ext-wide span.fancytree-node > span {
|
448
|
+
position: relative;
|
449
|
+
z-index: 2;
|
450
|
+
}
|
451
|
+
ul.fancytree-ext-wide span.fancytree-node span.fancytree-title {
|
452
|
+
position: relative;
|
453
|
+
z-index: 1;
|
454
|
+
width: 100%;
|
455
|
+
padding-left: 503px;
|
456
|
+
margin-left: -500px;
|
457
|
+
}
|
437
458
|
/*******************************************************************************
|
438
459
|
* Styles specific to this skin.
|
439
460
|
*
|