biola_wcms_components 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c21a6cfe962fe4f39f30aaf4d0fabe183973591f
4
- data.tar.gz: 0136b5ab96924949abd57267373629f1e4b1548e
3
+ metadata.gz: 1195a6e67a614a384bbeb179bdbb6868d863548f
4
+ data.tar.gz: 8c3f41ba9de9df99a666e742bf327fd6b9564cde
5
5
  SHA512:
6
- metadata.gz: ef0443bc699f543f4f87aa6c3bb83a96cc87725603844e1b554487b2f17fb2a21b63a436b02830c3625b10c12c85b0fc9c3ecf4320a0515d60dcc0e0d8afb32c
7
- data.tar.gz: 6f211624b5cd685f88ce29946b7dad6d12c7153b53486453524a086cc8437380b1e80c69e1ee6e01903c3ef9447e356b82665854e6eabeffe3ab6f394aa2c4db
6
+ metadata.gz: 7de9ef311642b4265168c39bd52ba6be052cadaa5c29db69277d66ad781221ea157ff9dcba2435376acdb437035f850a24802b84cc3e5e08f3519f476d374b00
7
+ data.tar.gz: 4564840dce404099f92163f11c250103c250bc17a76456462dcdbc4e53f93a3e79da936f836ff3f1c4e7b28740473d9c76cec4da57bbcc16440d318fc81dd0cc
@@ -1 +1,2 @@
1
1
  $color-biola-red: #CC1122;
2
+ $color-biola-red-dark: #B60216; // slightly darker than biola red
@@ -0,0 +1,3 @@
1
+ // Prefix new utilies with .u-*
2
+ .u-pad-left, .pad-left { padding-left: 5px; }
3
+ .u-pad-right, .pad-right { padding-right: 5px; }
@@ -3,11 +3,13 @@
3
3
  @import "../../../vendor/assets/stylesheets/bootstrap-tagsinput";
4
4
  @import "../../../vendor/assets/stylesheets/typeahead";
5
5
 
6
- // Mixins and settings
6
+ // Mixins, settings and utilities
7
7
  @import "./settings";
8
8
  @import "./mixins";
9
+ @import "./utilities";
9
10
 
10
11
  // Components
11
12
  @import "./components/alerts/*";
13
+ @import "./components/buttons/*";
12
14
  @import "./components/forms/*";
13
15
  @import "./components/navigation/*";
@@ -0,0 +1,5 @@
1
+ // Buttons
2
+ .btn-biola { color: white; background-color: $color-biola-red; border-color: $color-biola-red-dark;
3
+ &:hover { color: white; background-color: $color-biola-red-dark; }
4
+ &:focus { color: white; }
5
+ }
@@ -0,0 +1,3 @@
1
+ .wcms-footer {
2
+ border-top: 1px solid #ddd; margin: 20px 0 0; padding: 20px; text-align: center; color: #888;
3
+ }
@@ -0,0 +1,28 @@
1
+ .side-menu {
2
+ a.list-group-item { background-color: #fafafa; color: #428bca; text-shadow: 0 1px 0 #fff;
3
+ &:hover { background-color: #fdfdfe; color: #428bca; }
4
+ i.fa { padding-right: 5px; }
5
+ }
6
+ .list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
7
+ // Overwrite bootstrap
8
+ color: black; background-color: white; border-color: #dddddd;
9
+ // new
10
+ border-left-color: #CA4242; border-left-width: 2px; font-weight: 500;
11
+ }
12
+ .subitems {
13
+ a.list-group-item { padding-left: 30px; background-color: #fdfdfe;
14
+ &.active { border-left-color: #428bca; }
15
+ }
16
+ }
17
+
18
+ .list-group-item.top-item { background-color: #f3f3f3; font-weight: bold; line-height: 25px;
19
+ .img-wrapper { width: 25px; height: 25px; background-position: center; background-size: cover; border-radius: 3px; float: left; margin-right: 10px; }
20
+ }
21
+
22
+ // Overwrite bootstrap
23
+ .list-group .list-group-item:first-child { border-top-right-radius: 0px; border-top-left-radius: 0px; }
24
+ .list-group .list-group-item:last-child { margin-bottom: -1px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; }
25
+ // new
26
+ .list-group > .list-group-item:first-child { border-top-right-radius: 4px; border-top-left-radius: 4px; }
27
+ .list-group > .list-group-item:last-child { margin-bottom: 0px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; }
28
+ }
@@ -0,0 +1,7 @@
1
+ / You need to configure pretender in your app before using this component.
2
+ /
3
+ - if current_user != true_user
4
+ .container
5
+ .alert.alert-warning
6
+ .pull-right #{link_to("Back to admin", stop_impersonating_users_path)}
7
+ | You #{true_user.name} are signed in as #{current_user.name}
@@ -0,0 +1,3 @@
1
+ .container
2
+ .wcms-footer
3
+ p ♥ from the Biola Apps team
@@ -1,3 +1,3 @@
1
1
  module BiolaWcmsComponents
2
- VERSION = "0.6.1"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biola_wcms_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Hall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ace-rails-ap
@@ -160,11 +160,15 @@ files:
160
160
  - app/assets/javascripts/configuration/setup_redactor.js.coffee
161
161
  - app/assets/stylesheets/_mixins.scss
162
162
  - app/assets/stylesheets/_settings.scss
163
+ - app/assets/stylesheets/_utilities.scss
163
164
  - app/assets/stylesheets/biola-wcms-components.css.scss
164
165
  - app/assets/stylesheets/components/alerts/_message_list.scss
166
+ - app/assets/stylesheets/components/buttons/_btn_biola.scss
165
167
  - app/assets/stylesheets/components/forms/_person_lookup.scss
166
168
  - app/assets/stylesheets/components/forms/_presentation_data_editor.scss
167
169
  - app/assets/stylesheets/components/forms/_tag_input.scss
170
+ - app/assets/stylesheets/components/navigation/_footer.scss
171
+ - app/assets/stylesheets/components/navigation/_page_nav.scss
168
172
  - app/assets/stylesheets/components/navigation/_site_nav.scss
169
173
  - app/controllers/wcms_application_controller.rb
170
174
  - app/controllers/wcms_components/embedded_images_controller.rb
@@ -173,6 +177,7 @@ files:
173
177
  - app/helpers/wcms_components/alerts_helper.rb
174
178
  - app/helpers/wcms_components/component_helper.rb
175
179
  - app/helpers/wcms_components/navigation_helper.rb
180
+ - app/views/wcms_components/alerts/_impersonation.html.slim
176
181
  - app/views/wcms_components/alerts/_message_list.html.slim
177
182
  - app/views/wcms_components/forms/_data_template_picker.html.slim
178
183
  - app/views/wcms_components/forms/_date.html.slim
@@ -185,9 +190,9 @@ files:
185
190
  - app/views/wcms_components/forms/_tag_input.html.slim
186
191
  - app/views/wcms_components/forms/_text_area.html.slim
187
192
  - app/views/wcms_components/forms/_yaml_editor.html.slim
193
+ - app/views/wcms_components/navigation/_footer.html.slim
188
194
  - app/views/wcms_components/navigation/_page_nav.html.slim
189
195
  - app/views/wcms_components/navigation/_site_nav.html.slim
190
- - app/views/wcms_components/shared/.gitkeep
191
196
  - app/views/wcms_components/shared/_embedded_image_uploader.html.slim
192
197
  - biola_wcms_components.gemspec
193
198
  - config/locales/en.yml
@@ -227,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
232
  version: '0'
228
233
  requirements: []
229
234
  rubyforge_project:
230
- rubygems_version: 2.2.2
235
+ rubygems_version: 2.4.6
231
236
  signing_key:
232
237
  specification_version: 4
233
238
  summary: Reusable UX components for use in or WCMS projects
File without changes