jqtree-rails 0.1.0 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,135 +1,140 @@
1
- ul.tree {
2
- margin-left: 12px;
1
+ ul.jqtree-tree {
2
+ margin-left: 12px;
3
3
  }
4
4
 
5
- ul.tree,
6
- ul.tree ul {
7
- list-style: none outside;
8
- margin-bottom: 0;
5
+ ul.jqtree-tree,
6
+ ul.jqtree-tree ul {
7
+ list-style: none outside;
8
+ margin-bottom: 0;
9
+ padding: 0;
9
10
  }
10
11
 
11
- ul.tree ul {
12
- display: block;
13
- margin-left: 12px;
14
- margin-right: 0;
12
+ ul.jqtree-tree ul {
13
+ display: block;
14
+ margin-left: 12px;
15
+ margin-right: 0;
15
16
  }
16
17
 
17
- ul.tree li.closed > ul {
18
- display: none;
18
+ ul.jqtree-tree li.jqtree-closed > ul {
19
+ display: none;
19
20
  }
20
21
 
21
- ul.tree li {
22
- clear: both;
22
+ ul.jqtree-tree li {
23
+ clear: both;
23
24
  }
24
25
 
25
- ul.tree .toggler {
26
- background: url(treeDownTriangleBlack.png) no-repeat 0 50%;
27
- width: 12px;
28
- display: block;
29
- position: absolute;
30
- left: -12px;
31
- text-indent: -9999px;
32
- border-bottom: none;
26
+ ul.jqtree-tree .jqtree-toggler {
27
+ display: block;
28
+ position: absolute;
29
+ left: -1.5em;
30
+ top: 30%;
31
+ *top: 0; /* fix for ie7 */
32
+ font-size: 12px;
33
+ line-height: 12px;
34
+ font-family: arial; /* fix for ie9 */
35
+ border-bottom: none;
36
+ color: #333;
33
37
  }
34
38
 
35
- ul.tree div {
36
- cursor: pointer;
39
+ ul.jqtree-tree .jqtree-toggler:hover {
40
+ color: #000;
37
41
  }
38
42
 
39
- ul.tree .title {
40
- color: #1C4257;
41
- vertical-align: middle;
43
+ ul.jqtree-tree div {
44
+ cursor: pointer;
42
45
  }
43
46
 
44
- ul.tree li.folder {
45
- margin-bottom: 4px;
47
+ ul.jqtree-tree .jqtree-title {
48
+ color: #1C4257;
49
+ vertical-align: middle;
46
50
  }
47
51
 
48
- ul.tree li.folder.closed {
49
- margin-bottom: 1px;
52
+ ul.jqtree-tree li.jqtree-folder {
53
+ margin-bottom: 4px;
50
54
  }
51
55
 
52
- ul.tree li.folder .title {
53
- margin-left: 0;
56
+ ul.jqtree-tree li.jqtree-folder.jqtree-closed {
57
+ margin-bottom: 1px;
54
58
  }
55
59
 
56
- ul.tree .toggler.closed {
57
- background-image: url(treeRightTriangleBlack.png);
60
+ ul.jqtree-tree li.jqtree-folder .jqtree-title {
61
+ margin-left: 0;
58
62
  }
59
63
 
60
- span.tree-dragging {
61
- color: #fff;
62
- background: #000;
63
- opacity: 0.6;
64
- cursor: pointer;
65
- padding: 2px 8px;
64
+ ul.jqtree-tree .jqtree-toggler.jqtree-closed {
65
+ background-position: 0 0;
66
66
  }
67
67
 
68
- ul.tree li.ghost {
69
- position: relative;
70
- z-index: 10;
71
- margin-right: 10px;
68
+ span.jqtree-dragging {
69
+ color: #fff;
70
+ background: #000;
71
+ opacity: 0.6;
72
+ cursor: pointer;
73
+ padding: 2px 8px;
72
74
  }
73
75
 
74
- ul.tree li.ghost span {
75
- display: block;
76
+ ul.jqtree-tree li.jqtree-ghost {
77
+ position: relative;
78
+ z-index: 10;
79
+ margin-right: 10px;
76
80
  }
77
81
 
78
- ul.tree li.ghost span.circle {
79
- background: url(circle.png) no-repeat;
80
- height: 8px;
81
- width: 8px;
82
- position: absolute;
83
- top: -4px;
84
- left: 2px;
82
+ ul.jqtree-tree li.jqtree-ghost span {
83
+ display: block;
85
84
  }
86
85
 
87
- ul.tree li.ghost span.line {
88
- background-color: #0000ff;
89
- height: 2px;
90
- padding: 0;
91
- position: absolute;
92
- top: -1px;
93
- left: 10px;
94
- width: 100%;
86
+ ul.jqtree-tree li.jqtree-ghost span.jqtree-circle {
87
+ background-image: url(jqtree-circle.png);
88
+ background-repeat: no-repeat;
89
+ height: 8px;
90
+ width: 8px;
91
+ position: absolute;
92
+ top: -4px;
93
+ left: 2px;
95
94
  }
96
95
 
97
- ul.tree li.ghost.inside {
98
- margin-left: 48px;
96
+ ul.jqtree-tree li.jqtree-ghost span.jqtree-line {
97
+ background-color: #0000ff;
98
+ height: 2px;
99
+ padding: 0;
100
+ position: absolute;
101
+ top: -1px;
102
+ left: 10px;
103
+ width: 100%;
99
104
  }
100
105
 
101
- ul.tree span.tree-hit {
102
- position: absolute;
103
- display: block;
106
+ ul.jqtree-tree li.jqtree-ghost.jqtree-inside {
107
+ margin-left: 48px;
104
108
  }
105
109
 
106
- ul.tree span.border {
107
- position: absolute;
108
- display: block;
109
- left: -2px;
110
- top: 0;
111
- border: solid 2px #0000ff;
112
- -webkit-border-radius: 6px;
113
- -moz-border-radius: 6px;
114
- border-radius: 6px;
115
- margin: 0;
110
+ ul.jqtree-tree span.jqtree-border {
111
+ position: absolute;
112
+ display: block;
113
+ left: -2px;
114
+ top: 0;
115
+ border: solid 2px #0000ff;
116
+ -webkit-border-radius: 6px;
117
+ -moz-border-radius: 6px;
118
+ border-radius: 6px;
119
+ margin: 0;
116
120
  }
117
121
 
118
- ul.tree div {
119
- width: 100%;
120
- position: relative;
122
+ ul.jqtree-tree div {
123
+ width: 100%; /* todo: why is this in here? */
124
+ *width: auto; /* ie7 fix; issue 41 */
125
+ position: relative;
121
126
  }
122
127
 
123
- ul.tree li.selected > div,
124
- ul.tree li.selected > div:hover {
125
- background-color: #97BDD6;
126
- background: -webkit-gradient(linear, left top, left bottom, from(#BEE0F5), to(#89AFCA));
127
- background: -moz-linear-gradient(top, #BEE0F5, #89AFCA);
128
- background: -ms-linear-gradient(top, #BEE0F5, #89AFCA);
129
- background: -o-linear-gradient(top, #BEE0F5, #89AFCA);
130
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
128
+ ul.jqtree-tree li.jqtree-selected > div,
129
+ ul.jqtree-tree li.jqtree-selected > div:hover {
130
+ background-color: #97BDD6;
131
+ background: -webkit-gradient(linear, left top, left bottom, from(#BEE0F5), to(#89AFCA));
132
+ background: -moz-linear-gradient(top, #BEE0F5, #89AFCA);
133
+ background: -ms-linear-gradient(top, #BEE0F5, #89AFCA);
134
+ background: -o-linear-gradient(top, #BEE0F5, #89AFCA);
135
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
131
136
  }
132
137
 
133
- ul.tree .moving > div .title {
134
- outline: dashed 1px #0000ff;
138
+ ul.jqtree-tree .jqtree-moving > div .jqtree-title {
139
+ outline: dashed 1px #0000ff;
135
140
  }
metadata CHANGED
@@ -1,19 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jqtree-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ryan Scott Lewis
9
+ - Mario Uher
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2012-04-21 00:00:00.000000000Z
13
+ date: 2012-10-14 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: railties
16
- requirement: &70290125011040 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
17
18
  none: false
18
19
  requirements:
19
20
  - - ! '>='
@@ -24,39 +25,70 @@ dependencies:
24
25
  version: '5.0'
25
26
  type: :runtime
26
27
  prerelease: false
27
- version_requirements: *70290125011040
28
+ version_requirements: !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 3.2.0
34
+ - - <
35
+ - !ruby/object:Gem::Version
36
+ version: '5.0'
28
37
  - !ruby/object:Gem::Dependency
29
38
  name: thor
30
- requirement: &70290125007380 !ruby/object:Gem::Requirement
39
+ requirement: !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: '0.14'
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: !ruby/object:Gem::Requirement
31
48
  none: false
32
49
  requirements:
33
50
  - - ~>
34
51
  - !ruby/object:Gem::Version
35
52
  version: '0.14'
53
+ - !ruby/object:Gem::Dependency
54
+ name: version
55
+ requirement: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ version: '1.0'
36
61
  type: :runtime
37
62
  prerelease: false
38
- version_requirements: *70290125007380
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
39
69
  description: This gem provides jqTree assets for your Rails 3 application.
40
70
  email:
41
71
  - c00lryguy@gmail.com
72
+ - uher.mario@gmail.com
42
73
  executables: []
43
74
  extensions: []
44
75
  extra_rdoc_files: []
45
76
  files:
46
77
  - .gitignore
78
+ - .gitmodules
47
79
  - Gemfile
48
80
  - Gemfile.lock
49
81
  - LICENSE
50
82
  - README.md
51
83
  - Rakefile
84
+ - VERSION
52
85
  - jqtree-rails.gemspec
53
86
  - lib/generators/jqtree/install/install_generator.rb
54
87
  - lib/jqtree-rails.rb
55
88
  - lib/jqtree/rails.rb
56
89
  - lib/jqtree/rails/engine.rb
57
90
  - lib/jqtree/rails/version.rb
58
- - vendor/assets/images/treeDownTriangleBlack.png
59
- - vendor/assets/images/treeRightTriangleBlack.png
91
+ - vendor/assets/images/jqtree-circle.png
60
92
  - vendor/assets/javascripts/tree.jquery.js
61
93
  - vendor/assets/stylesheets/jqtree.css
62
94
  homepage: http://rubygems.org/gems/jqtree-rails
@@ -79,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
111
  version: 1.3.6
80
112
  requirements: []
81
113
  rubyforge_project:
82
- rubygems_version: 1.8.10
114
+ rubygems_version: 1.8.23
83
115
  signing_key:
84
116
  specification_version: 3
85
117
  summary: Use jqTree with Rails 3