rails-rateit 0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,90 @@
1
+ div.rateit
2
+ {
3
+ display: -moz-inline-box;
4
+ display: inline-block;
5
+ position: relative;
6
+ -webkit-user-select: none;
7
+ -khtml-user-select: none;
8
+ -moz-user-select: none;
9
+ -o-user-select: none;
10
+ user-select: none;
11
+ -webkit-touch-callout: none;
12
+ }
13
+
14
+ div.rateit div.rateit-range
15
+ {
16
+ position: relative;
17
+ display: -moz-inline-box;
18
+ display: inline-block;
19
+ background: url(<%= asset_path "star.gif" %>);
20
+ height: 16px;
21
+ }
22
+
23
+ /* for IE 6 */
24
+ * html div.rateit, * html div.rateit div.rateit-range
25
+ {
26
+ display: inline;
27
+ }
28
+
29
+ /* for IE 7 */
30
+ * + html div.rateit, * + html div.rateit div.rateit-range
31
+ {
32
+ display: inline;
33
+ }
34
+
35
+ div.rateit div.rateit-hover, div.rateit div.rateit-selected
36
+ {
37
+ position: absolute;
38
+ left: 0px;
39
+ }
40
+
41
+ div.rateit div.rateit-hover-rtl, div.rateit div.rateit-selected-rtl
42
+ {
43
+ left: auto;
44
+ right: 0px;
45
+ }
46
+
47
+ div.rateit div.rateit-hover
48
+ {
49
+ background: url(<%= asset_path "star.gif" %>) left -32px;
50
+ }
51
+
52
+ div.rateit div.rateit-hover-rtl
53
+ {
54
+ background-position: right -32px;
55
+ }
56
+
57
+ div.rateit div.rateit-selected
58
+ {
59
+ background: url(<%= asset_path "star.gif" %>) left -16px;
60
+ }
61
+
62
+ div.rateit div.rateit-selected-rtl
63
+ {
64
+ background-position: right -16px;
65
+ }
66
+
67
+ div.rateit div.rateit-preset
68
+ {
69
+ background: url(<%= asset_path "star.gif" %>) left -48px;
70
+ }
71
+
72
+ div.rateit div.rateit-preset-rtl
73
+ {
74
+ background: url(<%= asset_path "star.gif" %>) left -48px;
75
+ }
76
+
77
+ div.rateit div.rateit-reset
78
+ {
79
+ background: url(<%= asset_path "delete.gif" %>) 0 0;
80
+ width: 16px;
81
+ height: 16px;
82
+ display: -moz-inline-box;
83
+ display: inline-block;
84
+ float: left;
85
+ }
86
+
87
+ div.rateit div.rateit-reset:hover
88
+ {
89
+ background-position: 0 -16px;
90
+ }
metadata ADDED
@@ -0,0 +1,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails-rateit
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.1'
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Ouvrages
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-06-06 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Rails wrapper for the jQuery RateIt plugin
15
+ email:
16
+ - contact@ouvrages-web.fr
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - .gitignore
22
+ - Gemfile
23
+ - LICENSE
24
+ - README.md
25
+ - Rakefile
26
+ - example/content/antenna-black.png
27
+ - example/content/antenna-red.png
28
+ - example/content/antenna-yellow.png
29
+ - example/content/antenna.css
30
+ - example/content/bigstars.css
31
+ - example/content/star-black32.png
32
+ - example/content/star-gold32.png
33
+ - example/content/star-red32.png
34
+ - example/content/star-white32.png
35
+ - example/content/star_2.gif
36
+ - example/content/star_3.gif
37
+ - example/content/star_4.gif
38
+ - example/example.htm
39
+ - example/rateit.aspx
40
+ - example/sh/shBrushCSharp.js
41
+ - example/sh/shBrushCss.js
42
+ - example/sh/shBrushJScript.js
43
+ - example/sh/shBrushXml.js
44
+ - example/sh/shCore.css
45
+ - example/sh/shCore.js
46
+ - example/sh/shCoreDefault.css
47
+ - lib/generators/rateit/install/install_generator.rb
48
+ - lib/rails-rateit.rb
49
+ - lib/rateit/version.rb
50
+ - lib/rateit/view_helpers/action_view.rb
51
+ - rails-rateit.gemspec
52
+ - vendor/assets/images/delete.gif
53
+ - vendor/assets/images/star.gif
54
+ - vendor/assets/javascripts/jquery.rateit.js
55
+ - vendor/assets/stylesheets/rateit.css.erb
56
+ homepage: ''
57
+ licenses: []
58
+ post_install_message:
59
+ rdoc_options: []
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ! '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ requirements: []
75
+ rubyforge_project:
76
+ rubygems_version: 1.8.11
77
+ signing_key:
78
+ specification_version: 3
79
+ summary: Rails assets pipeline compatible version of the jQuery RateIt plugin
80
+ test_files: []