scrollytelling-pageflow-navigation 1.2.1 → 1.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb7e4d0244473cd72d596f0865b72ec8cae5a948
|
4
|
+
data.tar.gz: 464585523255f4b70f88b1f7e40f3a1387380bd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3332a79d30f046adbbe3c45bca324ec03d0d083a71b61e1c0acc59b14aa53b63f03e596aa6d73e0ed28471b3c385acdaa042c68abacd2a814c20f084020820a9
|
7
|
+
data.tar.gz: 3ecd13ee19f760ef66c30eb6df3e41e3ae9fe26657770ad018d04d94ec9b6b4cad9b1ff14af5cae3f0ecc97b1715e611df7310daf2f16138128fc1ddc829c2f8
|
@@ -5,5 +5,11 @@ pageflow.widgetTypes.register('scrollytelling_pageflow_navigation', {
|
|
5
5
|
element.facebookSharing();
|
6
6
|
element.twitterSharing();
|
7
7
|
element.audioControl();
|
8
|
+
|
9
|
+
// hacky: if the entry URL matches 'onsite', push onsite class on the navigation.
|
10
|
+
// this allows us to hide the sharing widgets for onsite productions.
|
11
|
+
if($('head link[href*="onsite"]')) {
|
12
|
+
element.addClass('onsite');
|
13
|
+
}
|
8
14
|
}
|
9
15
|
});
|
@@ -36,11 +36,9 @@ ul.scrollytelling-options {
|
|
36
36
|
}
|
37
37
|
}
|
38
38
|
}
|
39
|
-
|
40
39
|
}
|
41
40
|
|
42
41
|
ul.scrollytelling-sharing {
|
43
|
-
|
44
42
|
position: absolute;
|
45
43
|
top: 2%;
|
46
44
|
right: 2%;
|
@@ -57,11 +55,13 @@ ul.scrollytelling-sharing {
|
|
57
55
|
|
58
56
|
#share-tw:before { content: "\f099"; }
|
59
57
|
#share-fb:before { content: "\f082"; }
|
58
|
+
}
|
60
59
|
|
60
|
+
.onsite ul.scrollytelling-sharing {
|
61
|
+
display: none;
|
61
62
|
}
|
62
63
|
|
63
64
|
ul.scrollytelling-options {
|
64
|
-
|
65
65
|
position: absolute;
|
66
66
|
bottom: 2%;
|
67
67
|
right: 2%;
|
@@ -71,5 +71,4 @@ ul.scrollytelling-options {
|
|
71
71
|
|
72
72
|
.audio-playing:before { content: "\f028"; }
|
73
73
|
.audio-muted:before { content: "\f026"; }
|
74
|
-
|
75
74
|
}
|
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.3.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-
|
11
|
+
date: 2016-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pageflow
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.4.8
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Replace Pageflow navigation with Scrollytelling navigation
|