refinerycms-recommendations 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
Binary file
|
Binary file
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.recommendations {
|
2
|
+
border-bottom:1px dashed #ddd; margin:20px 0;
|
3
|
+
}
|
4
|
+
|
5
|
+
.recommendation {
|
6
|
+
border-top:1px dashed #ddd;
|
7
|
+
min-height: 180px;
|
8
|
+
clear: both;
|
9
|
+
position: relative;
|
10
|
+
.main-quote{
|
11
|
+
overflow:hidden;
|
12
|
+
}
|
13
|
+
.left-media{
|
14
|
+
max-height:150px;
|
15
|
+
padding:10px;
|
16
|
+
float:left;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.recommendation {border-top:1px dashed #ddd;}
|
21
|
+
cite {
|
22
|
+
font-style:normal;
|
23
|
+
padding-left: 20px;
|
24
|
+
}
|
25
|
+
blockquote p {
|
26
|
+
font-style: italic;
|
27
|
+
padding: 0 10px 0 30px;
|
28
|
+
}
|
29
|
+
blockquote p:first-child {
|
30
|
+
background: transparent url(open_quote.gif) no-repeat 0 0;
|
31
|
+
padding-top:30px;
|
32
|
+
margin-left:10px;
|
33
|
+
}
|
34
|
+
blockquote {
|
35
|
+
background: transparent url(close_quote.gif) no-repeat scroll right bottom;
|
36
|
+
margin:0 0 0 0px;
|
37
|
+
padding: 0 5px 0 0px;
|
38
|
+
border:0px;
|
39
|
+
}
|
data/readme.md
CHANGED
@@ -4,6 +4,8 @@ The usual:
|
|
4
4
|
* rails generate refinery:recommendations
|
5
5
|
* rake db:migrate db:seed
|
6
6
|
|
7
|
+
You might need to add the require recommendations to the appliction.css/scss
|
8
|
+
|
7
9
|
###Functionality:
|
8
10
|
Hopefully similair to Testimonials refinery1.0 gem, but with:
|
9
11
|
* Compatability with refinerycms 2.0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-recommendations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -92,6 +92,9 @@ files:
|
|
92
92
|
- db/migrate/1_create_recommendations_recommendations.rb
|
93
93
|
- db/migrate/2_add_slug_to_recommendations_recommendations.rb
|
94
94
|
- db/seeds.rb
|
95
|
+
- lib/assets/images/close_quote.gif
|
96
|
+
- lib/assets/images/open_quote.gif
|
97
|
+
- lib/assets/stylesheets/recommendations.css.scss
|
95
98
|
- lib/generators/refinery/recommendations_generator.rb
|
96
99
|
- lib/generators/refinery/templates/helpers/recommendations_helper.rb
|
97
100
|
- lib/refinery/recommendations/engine.rb
|