trusty-festivity-extension 2.3.29 → 2.3.30

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: 15ed102f0aff037437686e7da24c8297865e06cc
4
- data.tar.gz: 1c8d324e8bc6b08cc8756630993aa3d44c98aad0
3
+ metadata.gz: 098a49fc04df7bc38d1e93865e35fc9f9d1e4896
4
+ data.tar.gz: 63bfdc0d8430928df930a025e94e423daad93a86
5
5
  SHA512:
6
- metadata.gz: 76cfb14062d0f83e433faaf9e25d5162b0d73cd2e35f7f20b5c295323d53a2d0f095897d02f22b905f0a163aaf5804729ae5ea601e9c09e89746d3b62a87a460
7
- data.tar.gz: b5b4e266862e21d06887ec66fcfaee6f6682e23987d30ebbaa3400682c05d7dcb2912b4f65155c55019791104eea1164d24b1a7442ec4170f99626e2167f4cc0
6
+ metadata.gz: 303c499f84765eeeb971adb2e8e697792d7e4c87b26dbbd0b382cf0db72d6d88a1034eb166ac9229d3e85d2899b839f0c5b46ee6a105c76af230bc9dbd5cc5ac
7
+ data.tar.gz: b88c4cb1c98489122c6f30ee82748c235b0f6a138bcc2a68cd48b15c3d1fbf9abd04d0db3f73591f7ffc59ccb6fdeb5ca931bae44dd9fc66c65779471ac9a0c8
@@ -0,0 +1,52 @@
1
+ .subnav-three-column {
2
+ @include divider-top;
3
+ @include pie-clearfix;
4
+ clear: both;
5
+
6
+ @include breakpoint($breakpoint-l) {
7
+ margin-top: 4em;
8
+ }
9
+
10
+ .subnav-item {
11
+ @include divider-bottom;
12
+
13
+ @include breakpoint($breakpoint-l) {
14
+ @include column(4);
15
+ @include last-col3;
16
+ border-bottom: 0 none;
17
+ padding-bottom: 0;
18
+ }
19
+ .subnav-item-media {
20
+ margin-bottom: 1.5em;
21
+ }
22
+
23
+ .subnav-item-tags {
24
+ list-style: none;
25
+ margin: 0;
26
+
27
+ li {
28
+ margin-bottom: 0.5em;
29
+ @include breakpoint($breakpoint-xxs) {
30
+ display: inline-block;
31
+ margin-right: 0.5em;
32
+ margin-bottom:0;
33
+ }
34
+
35
+ @include breakpoint($breakpoint-l) {
36
+ display: block;
37
+ margin-right: 0;
38
+ }
39
+
40
+ @include breakpoint($breakpoint-xl) {
41
+ display: inline-block;
42
+ margin-right: 1em;
43
+ }
44
+ }
45
+
46
+ a {
47
+ @include button-subtle-list;
48
+ }
49
+ }
50
+
51
+ }
52
+ }
@@ -22,6 +22,7 @@
22
22
  @import "contexts/location";
23
23
  @import "contexts/related-events";
24
24
  @import "contexts/callouts";
25
+ @import "contexts/subnav_three_column";
25
26
 
26
27
  @import "modules/navigation";
27
28
  @import "modules/filters";
@@ -20,6 +20,7 @@
20
20
  @import "contexts/location";
21
21
  @import "contexts/related-events";
22
22
  @import "contexts/callouts";
23
+ @import "contexts/subnav_three_column";
23
24
 
24
25
  @import "modules/navigation";
25
26
  @import "modules/filters";
@@ -1,7 +1,3 @@
1
- .page-template
2
- .row
3
- .col-xs-12.col-md-12
4
- - current_page.children.each_with_index do |page, index|
5
- - if index%3 == 0
6
- .row
7
- = render partial: 'navigation/three_column_item', locals: {page: page}
1
+ %section.subnav-three-column
2
+ - current_page.children.each_with_index do |page, index|
3
+ = render partial: 'navigation/three_column_item', locals: {page: page}
@@ -1,11 +1,18 @@
1
- .col-xs-12.col-md-4.landing-page-plug
2
- .map-thumb
3
- %a{href: page.path}
4
- %img{src: page.image, alt: page.title}
5
- %h3.strong
6
- %a{href: page.path}
7
- = page.title
8
- %p
9
- = page.short_description
10
- %a.btn.btn-default{href: page.path}
11
- Learn More
1
+ %article.subnav-item
2
+ - if page.image
3
+ .subnav-item-media
4
+ %a{href: page.path}
5
+ = image_tag page.image, alt: page.title
6
+
7
+ .subnav-item-body
8
+ %h3.event-title
9
+ = link_to page.path do
10
+ = page.title
11
+
12
+ .subnav-item-description
13
+ %p
14
+ = page.short_description
15
+ .subnav-item-tags-group
16
+ %ul.subnav-item-tags
17
+ %li
18
+ = link_to "Learn More", page.path
@@ -27,16 +27,14 @@ module Tags::NavigationTags
27
27
  desc %{Three Column Subnavigation Tag
28
28
 
29
29
  *Usage:*
30
- <pre><r:subnav_three_column show_detail="true" /></pre>
30
+ <pre><r:subnav_three_column /></pre>
31
31
 
32
- show_detail will display the page abstract and a Read More link.
33
32
  }
34
33
  tag "subnav_three_column" do |tag|
35
34
 
36
35
  request.env["action_controller.instance"].render_to_string :partial => "navigation/subnav_three_column",
37
36
  :locals => {:current_page => tag.locals.page,
38
- :top_level_page => top_level_page(tag.locals.page),
39
- :show_detail => show_detail(tag.attr["show_detail"])}
37
+ :top_level_page => top_level_page(tag.locals.page)}
40
38
  end
41
39
 
42
40
 
@@ -1,5 +1,5 @@
1
1
  module TrustyFestivityExtension
2
- VERSION = "2.3.29"
2
+ VERSION = "2.3.30"
3
3
  SUMMARY = "Festival microsite engine for Trusty CMS"
4
4
  DESCRIPTION = "Event management for arts festivals."
5
5
  URL = "http://github.com/pgharts/trusty-festivity-extension"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-festivity-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.29
4
+ version: 2.3.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Sipple
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-19 00:00:00.000000000 Z
11
+ date: 2015-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trusty-cms
@@ -477,6 +477,7 @@ files:
477
477
  - app/assets/stylesheets/contexts/_related-events.scss
478
478
  - app/assets/stylesheets/contexts/_site-footer.scss
479
479
  - app/assets/stylesheets/contexts/_site-header.scss
480
+ - app/assets/stylesheets/contexts/_subnav_three_column.scss
480
481
  - app/assets/stylesheets/events/_event-list-item.scss
481
482
  - app/assets/stylesheets/events/_event_template.scss
482
483
  - app/assets/stylesheets/events/_filter-bar.scss