dynatree-rails 0.0.4 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +10 -1
- data/lib/dynatree-rails/version.rb +1 -1
- data/vendor/assets/images/dynatree/jquery.dynatree.js +3312 -0
- data/vendor/assets/images/dynatree/{vista-icons.gif → skin-vista/icons.gif} +0 -0
- data/vendor/assets/images/dynatree/{vista-loading.gif → skin-vista/loading.gif} +0 -0
- data/vendor/assets/images/dynatree/skin/icons-rtl.gif +0 -0
- data/vendor/assets/images/dynatree/{icons.gif → skin/icons.gif} +0 -0
- data/vendor/assets/images/dynatree/{loading.gif → skin/loading.gif} +0 -0
- data/vendor/assets/images/dynatree/skin/vline-rtl.gif +0 -0
- data/vendor/assets/images/dynatree/{vline.gif → skin/vline.gif} +0 -0
- data/vendor/assets/javascripts/dynatree/jquery.dynatree.js +121 -82
- data/vendor/assets/stylesheets/dynatree/skin-vista.sass +27 -26
- data/vendor/assets/stylesheets/dynatree/skin.sass +28 -24
- metadata +11 -8
@@ -28,13 +28,16 @@ ul
|
|
28
28
|
background-attachment: scroll
|
29
29
|
background-color: transparent
|
30
30
|
background-repeat: repeat-y
|
31
|
-
background-image:
|
31
|
+
background-image: url("vline.gif")
|
32
32
|
background-position: 0 0
|
33
|
+
/*
|
34
|
+
*background-image: url("icons_96x256.gif");
|
35
|
+
*background-position: -80px -64px;
|
33
36
|
margin: 0
|
34
37
|
padding: 1px 0 0 0
|
35
38
|
&.dynatree-lastsib
|
36
39
|
background-image: none
|
37
|
-
&.dynatree-no-connector li
|
40
|
+
&.dynatree-no-connector > li
|
38
41
|
background-image: none
|
39
42
|
|
40
43
|
/* Suppress lines for last child node
|
@@ -45,7 +48,7 @@ ul
|
|
45
48
|
|
46
49
|
.ui-dynatree-disabled ul.dynatree-container
|
47
50
|
opacity: 0.5
|
48
|
-
/*
|
51
|
+
/* filter: alpha(opacity=50); /* Yields a css warning
|
49
52
|
background-color: silver
|
50
53
|
|
51
54
|
/*******************************************************************************
|
@@ -55,27 +58,27 @@ span
|
|
55
58
|
&.dynatree-empty, &.dynatree-vline, &.dynatree-connector, &.dynatree-expander, &.dynatree-icon, &.dynatree-checkbox, &.dynatree-radio, &.dynatree-drag-helper-img
|
56
59
|
width: 16px
|
57
60
|
height: 16px
|
58
|
-
/*
|
59
|
-
/*
|
61
|
+
/* display: -moz-inline-box; /* @ FF 1+2 removed for issue 221
|
62
|
+
/* -moz-box-align: start; /* issue 221
|
60
63
|
display: inline-block
|
61
64
|
/* Required to make a span sizeable
|
62
65
|
vertical-align: top
|
63
66
|
background-repeat: no-repeat
|
64
67
|
background-position: left
|
65
|
-
background-image:
|
68
|
+
background-image: url("icons.gif")
|
66
69
|
background-position: 0 0
|
67
70
|
|
68
71
|
#dynatree-drop-marker
|
69
72
|
width: 16px
|
70
73
|
height: 16px
|
71
|
-
/*
|
72
|
-
/*
|
74
|
+
/* display: -moz-inline-box; /* @ FF 1+2 removed for issue 221
|
75
|
+
/* -moz-box-align: start; /* issue 221
|
73
76
|
display: inline-block
|
74
77
|
/* Required to make a span sizeable
|
75
78
|
vertical-align: top
|
76
79
|
background-repeat: no-repeat
|
77
80
|
background-position: left
|
78
|
-
background-image:
|
81
|
+
background-image: url("icons.gif")
|
79
82
|
background-position: 0 0
|
80
83
|
|
81
84
|
/** Used by 'icon' node option:
|
@@ -100,7 +103,7 @@ span
|
|
100
103
|
/*******************************************************************************
|
101
104
|
* Expander icon
|
102
105
|
* Note: IE6 doesn't correctly evaluate multiples class names,
|
103
|
-
*
|
106
|
+
* so we create combined class names that can be used in the CSS.
|
104
107
|
*
|
105
108
|
* Prefix: dynatree-exp-
|
106
109
|
* 1st character: 'e': expanded, 'c': collapsed
|
@@ -124,7 +127,7 @@ span
|
|
124
127
|
|
125
128
|
.dynatree-loading span.dynatree-expander
|
126
129
|
background-position: 0 0
|
127
|
-
background-image:
|
130
|
+
background-image: url("loading.gif")
|
128
131
|
|
129
132
|
/*******************************************************************************
|
130
133
|
* Checkbox icon
|
@@ -169,7 +172,7 @@ span.dynatree-radio
|
|
169
172
|
/*******************************************************************************
|
170
173
|
* Node type icon
|
171
174
|
* Note: IE6 doesn't correctly evaluate multiples class names,
|
172
|
-
*
|
175
|
+
* so we create combined class names that can be used in the CSS.
|
173
176
|
*
|
174
177
|
* Prefix: dynatree-ico-
|
175
178
|
* 1st character: 'e': expanded, 'c': collapsed
|
@@ -188,10 +191,11 @@ span.dynatree-icon
|
|
188
191
|
/* Status node icons
|
189
192
|
|
190
193
|
.dynatree-statusnode-wait span.dynatree-icon
|
191
|
-
background-image:
|
194
|
+
background-image: url("loading.gif")
|
192
195
|
|
193
196
|
.dynatree-statusnode-error span.dynatree-icon
|
194
197
|
background-position: 0px -112px
|
198
|
+
/* background-image: url("ltError.gif");
|
195
199
|
|
196
200
|
/*******************************************************************************
|
197
201
|
* Node titles
|
@@ -200,8 +204,8 @@ span.dynatree-icon
|
|
200
204
|
* Removed again for issue 165; (133 couldn't be reproduced)
|
201
205
|
|
202
206
|
span.dynatree-node
|
203
|
-
/*
|
204
|
-
/*
|
207
|
+
/* display: -moz-inline-box; /* issue 133, 165, 172, 192. removed for issue 221
|
208
|
+
/* -moz-box-align: start; /* issue 221
|
205
209
|
/* display: inline-block; /* Required to make a span sizeable
|
206
210
|
|
207
211
|
/* Remove blue color and underline from title links
|
@@ -213,9 +217,9 @@ ul.dynatree-container a
|
|
213
217
|
vertical-align: top
|
214
218
|
margin: 0px
|
215
219
|
margin-left: 3px
|
216
|
-
/*
|
220
|
+
/* outline: 0; /* @ Firefox, prevent dotted border after click
|
217
221
|
&:hover
|
218
|
-
/*
|
222
|
+
/* text-decoration: underline;
|
219
223
|
background-color: #F2F7FD
|
220
224
|
/* light blue
|
221
225
|
border-color: #B8D6FB
|
@@ -227,11 +231,11 @@ span
|
|
227
231
|
/* required for IE, quirks mode
|
228
232
|
display: inline-block
|
229
233
|
/* Better alignment, when title contains <br>
|
230
|
-
/*
|
234
|
+
/* vertical-align: top;
|
231
235
|
padding-left: 3px
|
232
236
|
padding-right: 3px
|
233
237
|
/* Otherwise italic font will be outside bounds
|
234
|
-
/*
|
238
|
+
/* line-height: 16px; /* should be the same as img height, in case 16 px
|
235
239
|
&.dynatree-folder a
|
236
240
|
font-weight: bold
|
237
241
|
|
@@ -243,7 +247,7 @@ span
|
|
243
247
|
&.dynatree-focused a:link
|
244
248
|
background-color: #EFEBDE
|
245
249
|
/* gray
|
246
|
-
&.dynatree-has-children a, &.dynatree-expanded a
|
250
|
+
&.dynatree-has-children! a, &.dynatree-expanded! a
|
247
251
|
&.dynatree-selected a
|
248
252
|
color: green
|
249
253
|
font-style: italic
|
@@ -272,7 +276,7 @@ span.dynatree-drag-helper-img
|
|
272
276
|
div
|
273
277
|
&.dynatree-drag-helper
|
274
278
|
/* border-color: green;
|
275
|
-
*
|
279
|
+
* background-color: red;
|
276
280
|
&.dynatree-drop-accept span.dynatree-drag-helper-img
|
277
281
|
background-position: -32px -112px
|
278
282
|
&.dynatree-drag-helper.dynatree-drop-reject
|
@@ -287,7 +291,7 @@ div
|
|
287
291
|
position: absolute
|
288
292
|
background-position: 0 -128px
|
289
293
|
margin: 0
|
290
|
-
/*
|
294
|
+
/* border: 1px solid red;
|
291
295
|
&.dynatree-drop-after, &.dynatree-drop-before
|
292
296
|
width: 64px
|
293
297
|
background-position: 0 -144px
|
@@ -304,7 +308,7 @@ span
|
|
304
308
|
color: gray
|
305
309
|
&.dynatree-drop-target
|
306
310
|
/*border: 1px solid gray;
|
307
|
-
a
|
311
|
+
a!
|
308
312
|
&.dynatree-drop-accept a
|
309
313
|
/*border: 1px solid green;
|
310
314
|
background-color: #3169C6 !important
|
@@ -313,7 +317,7 @@ span
|
|
313
317
|
text-decoration: none
|
314
318
|
&.dynatree-drop-reject
|
315
319
|
/*border: 1px solid red;
|
316
|
-
&.dynatree-drop-after a
|
320
|
+
&.dynatree-drop-after! a
|
317
321
|
&.custom1 a
|
318
322
|
background-color: maroon
|
319
323
|
color: yellow
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynatree-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ''
|
15
15
|
email:
|
@@ -29,11 +29,14 @@ files:
|
|
29
29
|
- lib/dynatree-rails/engine.rb
|
30
30
|
- lib/dynatree-rails/renderer.rb
|
31
31
|
- lib/dynatree-rails/version.rb
|
32
|
-
- vendor/assets/images/dynatree/
|
33
|
-
- vendor/assets/images/dynatree/
|
34
|
-
- vendor/assets/images/dynatree/vista
|
35
|
-
- vendor/assets/images/dynatree/
|
36
|
-
- vendor/assets/images/dynatree/
|
32
|
+
- vendor/assets/images/dynatree/jquery.dynatree.js
|
33
|
+
- vendor/assets/images/dynatree/skin-vista/icons.gif
|
34
|
+
- vendor/assets/images/dynatree/skin-vista/loading.gif
|
35
|
+
- vendor/assets/images/dynatree/skin/icons-rtl.gif
|
36
|
+
- vendor/assets/images/dynatree/skin/icons.gif
|
37
|
+
- vendor/assets/images/dynatree/skin/loading.gif
|
38
|
+
- vendor/assets/images/dynatree/skin/vline-rtl.gif
|
39
|
+
- vendor/assets/images/dynatree/skin/vline.gif
|
37
40
|
- vendor/assets/javascripts/dynatree/jquery.dynatree.js
|
38
41
|
- vendor/assets/stylesheets/dynatree/skin-vista.sass
|
39
42
|
- vendor/assets/stylesheets/dynatree/skin.sass
|
@@ -57,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
60
|
version: '0'
|
58
61
|
requirements: []
|
59
62
|
rubyforge_project:
|
60
|
-
rubygems_version: 1.8.
|
63
|
+
rubygems_version: 1.8.24
|
61
64
|
signing_key:
|
62
65
|
specification_version: 3
|
63
66
|
summary: Dynatree integration for rails 3.1 asset pipeline
|