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 +4 -4
- data/app/assets/stylesheets/contexts/_subnav_three_column.scss +52 -0
- data/app/assets/stylesheets/first-night.scss +1 -0
- data/app/assets/stylesheets/main.scss +1 -0
- data/app/views/navigation/_subnav_three_column.html.haml +3 -7
- data/app/views/navigation/_three_column_item.html.haml +18 -11
- data/lib/tags/navigation_tags.rb +2 -4
- data/lib/trusty-festivity-extension.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 098a49fc04df7bc38d1e93865e35fc9f9d1e4896
|
4
|
+
data.tar.gz: 63bfdc0d8430928df930a025e94e423daad93a86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
}
|
@@ -1,7 +1,3 @@
|
|
1
|
-
.
|
2
|
-
.
|
3
|
-
|
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
|
-
.
|
2
|
-
.
|
3
|
-
|
4
|
-
%
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
data/lib/tags/navigation_tags.rb
CHANGED
@@ -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
|
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
|
|
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.
|
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-
|
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
|