woople-theme 0.2.47 → 0.2.48
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/stylesheets/woople-theme/content-item.css.less +8 -2
- data/app/assets/stylesheets/woople-theme/profile.css.less +2 -0
- data/app/assets/stylesheets/woople-theme/search-results.css.less +15 -10
- data/app/helpers/theme_helper.rb +3 -6
- data/app/views/woople-theme/_results_header.html.erb +3 -0
- data/lib/woople-theme/version.rb +1 -1
- metadata +17 -16
@@ -144,6 +144,10 @@
|
|
144
144
|
}
|
145
145
|
|
146
146
|
.content-item-content {
|
147
|
+
float: none;
|
148
|
+
margin-left: 0;
|
149
|
+
width: auto;
|
150
|
+
|
147
151
|
h2 {
|
148
152
|
margin-left:@phoneOffset;
|
149
153
|
margin-right:@phoneMargin;
|
@@ -155,8 +159,10 @@
|
|
155
159
|
margin-left: @phoneOffset;
|
156
160
|
|
157
161
|
> div {
|
158
|
-
float:left;
|
159
|
-
margin-
|
162
|
+
float: left;
|
163
|
+
margin-left: 0;
|
164
|
+
margin-right: @phoneMargin;
|
165
|
+
width: auto;
|
160
166
|
}
|
161
167
|
}
|
162
168
|
}
|
@@ -1,16 +1,21 @@
|
|
1
1
|
@import "woople-theme/variables.css.less";
|
2
2
|
@import "woople-theme/colours.css.less";
|
3
3
|
|
4
|
-
|
5
|
-
.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
.results-header {
|
5
|
+
.title {
|
6
|
+
display: inline-block;
|
7
|
+
margin-right: 8px;
|
8
|
+
padding: 8px 20px;
|
9
|
+
background-color: @highlight;
|
10
|
+
|
11
|
+
.content-title();
|
12
|
+
margin-bottom: 0;
|
13
|
+
|
14
|
+
color: white;
|
15
|
+
text-shadow: 0 1px rgba(0, 0, 0, 0.5);
|
16
|
+
}
|
12
17
|
}
|
13
18
|
|
14
|
-
.content-item +
|
15
|
-
margin-top:
|
19
|
+
.content-item + .results-header {
|
20
|
+
margin-top: 30px;
|
16
21
|
}
|
data/app/helpers/theme_helper.rb
CHANGED
@@ -44,11 +44,8 @@ module ThemeHelper
|
|
44
44
|
render 'woople-theme/menu', menu: model
|
45
45
|
end
|
46
46
|
|
47
|
-
def results_header
|
48
|
-
|
49
|
-
output << content_tag(:h2, title, class: 'results-header')
|
50
|
-
output << content_tag(:a, I18n.t('woople_theme.search_results_more'), href: path, class: 'loading_indicator') unless path.nil?
|
51
|
-
output.html_safe
|
47
|
+
def results_header title, path
|
48
|
+
render partial: 'woople-theme/results_header', locals: { title: title, path: path }
|
52
49
|
end
|
53
50
|
|
54
51
|
def assessment_form assessment_form
|
@@ -66,4 +63,4 @@ module ThemeHelper
|
|
66
63
|
|
67
64
|
render 'woople-theme/impersonation_banner', impersonation: model
|
68
65
|
end
|
69
|
-
end
|
66
|
+
end
|
data/lib/woople-theme/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: woople-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.48
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-07-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70213194972100 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.2.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70213194972100
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: less-rails-bootstrap
|
27
|
-
requirement: &
|
27
|
+
requirement: &70213194971560 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - =
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 2.0.13
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70213194971560
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: therubyracer
|
38
|
-
requirement: &
|
38
|
+
requirement: &70213194971180 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70213194971180
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
|
-
requirement: &
|
49
|
+
requirement: &70213194970700 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70213194970700
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: sqlite3
|
60
|
-
requirement: &
|
60
|
+
requirement: &70213194970100 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70213194970100
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-rails
|
71
|
-
requirement: &
|
71
|
+
requirement: &70213194969460 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 2.9.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70213194969460
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: capybara
|
82
|
-
requirement: &
|
82
|
+
requirement: &70213194968900 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70213194968900
|
91
91
|
description: All Front-End all the Time
|
92
92
|
email:
|
93
93
|
- developers@bigbangtechnology.com
|
@@ -183,6 +183,7 @@ files:
|
|
183
183
|
- app/views/woople-theme/_outline_videos.html.erb
|
184
184
|
- app/views/woople-theme/_page_header.html.erb
|
185
185
|
- app/views/woople-theme/_profile.html.erb
|
186
|
+
- app/views/woople-theme/_results_header.html.erb
|
186
187
|
- app/views/woople-theme/_video_modal.html.erb
|
187
188
|
- config/locales/en.yml
|
188
189
|
- config/routes.rb
|
@@ -221,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
222
|
version: '0'
|
222
223
|
requirements: []
|
223
224
|
rubyforge_project:
|
224
|
-
rubygems_version: 1.8.
|
225
|
+
rubygems_version: 1.8.15
|
225
226
|
signing_key:
|
226
227
|
specification_version: 3
|
227
228
|
summary: Our Front-End CSS Framework/Theme
|