scrollytelling-pageflow-navigation 1.10.3 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/scrollytelling/pageflow/navigation/widget_type.js +1 -1
- data/app/assets/stylesheets/scrollytelling/pageflow/navigation.scss +4 -0
- data/app/assets/stylesheets/scrollytelling/pageflow/navigation/_parent_page.scss +6 -8
- data/lib/scrollytelling/pageflow/navigation/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68cdb947534a91ec00c2a7551a05a9d7f3f2df9e
|
4
|
+
data.tar.gz: f8b6b99eb3432bea36e11be2636f817b0cc6a4d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 228f522074ac32eb54cee02a4144f2ff1b3835f121b839530b606c5f515da8a0d728a2dca92ae1adb2656dddaa6df28928b1b45bf7c40a60c97d43d61154e56a
|
7
|
+
data.tar.gz: 1a9afca0bcf312f464ecddaa9680377f6e7d4c60a7ca57dd20918f55cdc96369f53c7c9d6f489d94ac8ff4beb571721a47d6b71f65198727582bd77c4ba37f21
|
@@ -9,7 +9,7 @@ pageflow.widgetTypes.register('scrollytelling_pageflow_navigation', {
|
|
9
9
|
// Enable the parent page globally (Pageflow enables it only in mobile nav).
|
10
10
|
$('.parent_page', element).parentPageButton({
|
11
11
|
visibleClass: 'is_visible'
|
12
|
-
})
|
12
|
+
});
|
13
13
|
|
14
14
|
// hacky: if the entry URL matches 'onsite', push onsite class on the navigation.
|
15
15
|
// this allows us to hide the sharing widgets for onsite productions.
|
@@ -15,6 +15,10 @@ $scrollytelling-invert-nav-color: black !default;
|
|
15
15
|
letter-spacing: 1px;
|
16
16
|
line-height: $scrollytelling-fa-size;
|
17
17
|
height: $scrollytelling-sharing-size;
|
18
|
+
|
19
|
+
@include desktop {
|
20
|
+
letter-spacing: 3px;
|
21
|
+
}
|
18
22
|
}
|
19
23
|
|
20
24
|
@import "./navigation/navigation";
|
@@ -1,22 +1,20 @@
|
|
1
1
|
.parent_page {
|
2
2
|
position: absolute;
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
@include transform(translate3d(0, -100px, 0));
|
7
|
-
@include transition(transform 0.4s ease, visibility 0.4s, right 250ms);
|
3
|
+
left: 8%;
|
4
|
+
bottom: 5%;
|
5
|
+
opacity: 0;
|
8
6
|
@include scrollytelling-indicator;
|
7
|
+
transition: opacity 1s ease;
|
9
8
|
|
10
9
|
&:before {
|
11
10
|
content: "\f0a8";
|
12
11
|
font-family: "FontAwesome";
|
13
|
-
font-size: 26px;
|
14
12
|
margin-right: .5em;
|
15
13
|
}
|
16
14
|
|
17
15
|
&.is_visible {
|
18
|
-
|
19
|
-
|
16
|
+
opacity: 1;
|
17
|
+
transition: opacity 0.5s ease 2.5s;
|
20
18
|
}
|
21
19
|
}
|
22
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrollytelling-pageflow-navigation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joost Baaij
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10
|
11
|
+
date: 2016-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pageflow
|