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.
@@ -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-right:@phoneMargin;
162
+ float: left;
163
+ margin-left: 0;
164
+ margin-right: @phoneMargin;
165
+ width: auto;
160
166
  }
161
167
  }
162
168
  }
@@ -102,7 +102,9 @@
102
102
  }
103
103
 
104
104
  .search-query {
105
+ .border-radius(14px);
105
106
  padding-left:30px;
107
+ padding-right: 14px;
106
108
  }
107
109
  }
108
110
  }
@@ -1,16 +1,21 @@
1
1
  @import "woople-theme/variables.css.less";
2
2
  @import "woople-theme/colours.css.less";
3
3
 
4
- h2.results-header {
5
- .content-title();
6
- background-color:@highlight;
7
- color: #fff;
8
- display: inline-block;
9
- margin-right: 10px;
10
- padding: 0.5em 20px;
11
- text-shadow:0 1px 0 rgba(0,0,0,0.5);
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 + h2 {
15
- margin-top: 40px;
19
+ .content-item + .results-header {
20
+ margin-top: 30px;
16
21
  }
@@ -44,11 +44,8 @@ module ThemeHelper
44
44
  render 'woople-theme/menu', menu: model
45
45
  end
46
46
 
47
- def results_header(title, path = nil)
48
- output = ""
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
@@ -0,0 +1,3 @@
1
+ <div class="results-header">
2
+ <span class="title"><%= title %></span> <%= link_to t('woople_theme.search_results_more'), path, class: 'loading_indicator' %>
3
+ </div>
@@ -1,3 +1,3 @@
1
1
  module WoopleTheme
2
- VERSION = "0.2.47"
2
+ VERSION = "0.2.48"
3
3
  end
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.47
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: &70166974359260 !ruby/object:Gem::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: *70166974359260
24
+ version_requirements: *70213194972100
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: less-rails-bootstrap
27
- requirement: &70166974358740 !ruby/object:Gem::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: *70166974358740
35
+ version_requirements: *70213194971560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: therubyracer
38
- requirement: &70166974358360 !ruby/object:Gem::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: *70166974358360
46
+ version_requirements: *70213194971180
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
- requirement: &70166974357880 !ruby/object:Gem::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: *70166974357880
57
+ version_requirements: *70213194970700
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: sqlite3
60
- requirement: &70166974357460 !ruby/object:Gem::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: *70166974357460
68
+ version_requirements: *70213194970100
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-rails
71
- requirement: &70166974356960 !ruby/object:Gem::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: *70166974356960
79
+ version_requirements: *70213194969460
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: capybara
82
- requirement: &70166974356540 !ruby/object:Gem::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: *70166974356540
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.16
225
+ rubygems_version: 1.8.15
225
226
  signing_key:
226
227
  specification_version: 3
227
228
  summary: Our Front-End CSS Framework/Theme