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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e59fbc76424c3a94b090fa323eb14402d45818a
4
- data.tar.gz: 35d4c38f49d17de493311386ce12fb6475f68746
3
+ metadata.gz: 68cdb947534a91ec00c2a7551a05a9d7f3f2df9e
4
+ data.tar.gz: f8b6b99eb3432bea36e11be2636f817b0cc6a4d8
5
5
  SHA512:
6
- metadata.gz: acb7b58d2c886649a3302525d720a8aca086b89dd365372df742a076579a4289985fa65c4db60e17ccfc16af8ff9339903ec858923346752f22b1157a32fffb5
7
- data.tar.gz: 527cea77e428542c6d753465d5fbda611cd43b148325e58a432b17da250b571d77c87a6394f3e672531ef05547a20c4eb213404fb62b6b66c2a905195239b59b
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
- bottom: 6%;
4
- left: 2%;
5
- visibility: hidden;
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
- visibility: visible;
19
- @include transform(translate3d(0, 0, 0));
16
+ opacity: 1;
17
+ transition: opacity 0.5s ease 2.5s;
20
18
  }
21
19
  }
22
20
 
@@ -1,7 +1,7 @@
1
1
  module Scrollytelling
2
2
  module Pageflow
3
3
  module Navigation
4
- VERSION = "1.10.3"
4
+ VERSION = "1.11.0"
5
5
  end
6
6
  end
7
7
  end
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.10.3
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-27 00:00:00.000000000 Z
11
+ date: 2016-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow