scrollytelling-pageflow-navigation 1.8.0 → 1.9.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: 6a7b49c0fe4c76f183b792e22552b1c29e9e0eef
4
- data.tar.gz: 231b701b4e049bc6cb4c9c410c2b407a241285f3
3
+ metadata.gz: 0e77c8b5e89e7ec4e34df77926c8f65f5d1ab760
4
+ data.tar.gz: d078971e772b57104a447cb9bc0ebf7b91151626
5
5
  SHA512:
6
- metadata.gz: 724705a25f72be18557bcdcd9c8b0779f49e95f5f0efde2e8abc7f8a499d2811c0487271c837e538a2f23cd0783a6c684995c2c543403b86af671c8c9d3fee35
7
- data.tar.gz: 43c1096ae15d692015da4aee6f5aca2ee40a04f833c8e4462999818c915af857b3ba6d4eed2d12663c32cc05c8bbf910778b74d6da5096026954f44a603c580c
6
+ metadata.gz: 17f1e895fc276e0404e62e3267e7f74619de1427b510dfb500f03cdbbc6107f443d59b68805c706d8b19545bc512f41ad5d81d50c24ceba7b57a635ea93e1b47
7
+ data.tar.gz: 0ebc5a74898f7fa5837c730c7ff581ef0072e10d5cb94306008811deeeb8dfe054d8209f103f8d332ab64f8c193602d89814b115366e8e59970fa8363a214e9d
@@ -0,0 +1 @@
1
+ 2.1.6
@@ -7,6 +7,7 @@ $.widget('scrollytelling.scrollytellingNavigationInvert', {
7
7
 
8
8
  setInvert: function(pageElement) {
9
9
  this.element.toggleClass('page-invert', pageElement.hasClass('invert'));
10
+ $('.navigation_mobile').toggleClass('page-invert', pageElement.hasClass('invert'));
10
11
  },
11
12
 
12
13
  _create: function() {
@@ -3,6 +3,7 @@ $scrollytelling-tooltip-bg-color: black !default;
3
3
  $scrollytelling-invert-tooltip-bg-color: white !default;
4
4
  $scrollytelling-sharing-size: 40px !default;
5
5
  $scrollytelling-fa-size: 30px !default;
6
+ $scrollytelling-invert-nav-color: black !default;
6
7
 
7
8
  @import "./navigation/navigation";
8
9
  @import "./navigation/mobile";
@@ -16,7 +16,7 @@
16
16
  }
17
17
 
18
18
  .scroll_indicator.invert:before {
19
- color: black;
19
+ color: $scrollytelling-invert-nav-color;
20
20
  background-image: none;
21
21
  }
22
22
  }
@@ -54,3 +54,11 @@
54
54
  }
55
55
  }
56
56
  }
57
+
58
+ .page-invert {
59
+ .navigation_mobile {
60
+ .menu.index:before {
61
+ color: $scrollytelling-invert-nav-color;
62
+ }
63
+ }
64
+ }
@@ -77,9 +77,9 @@
77
77
  }
78
78
 
79
79
  .scrollytelling-pageflow-navigation-tooltip {
80
- right: 20px;
80
+ right: 30px;
81
81
  position: absolute;
82
- top: -7px;
82
+ top: -1px;
83
83
  color: white;
84
84
  font-size: 14px;
85
85
  white-space: nowrap;
@@ -32,7 +32,7 @@ ul.scrollytelling-options {
32
32
  left: 0;
33
33
 
34
34
  .page-invert & {
35
- color: #000;
35
+ color: $scrollytelling-invert-nav-color;
36
36
  }
37
37
  }
38
38
  }
@@ -29,5 +29,5 @@
29
29
  }
30
30
 
31
31
  .page-invert .parent_page {
32
- color: black;
32
+ color: $scrollytelling-invert-nav-color;
33
33
  }
@@ -1,7 +1,7 @@
1
1
  module Scrollytelling
2
2
  module Pageflow
3
3
  module Navigation
4
- VERSION = "1.8.0"
4
+ VERSION = "1.9.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.8.0
4
+ version: 1.9.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-09-23 00:00:00.000000000 Z
11
+ date: 2016-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -89,6 +89,7 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - ".gitignore"
91
91
  - ".rspec"
92
+ - ".ruby-version"
92
93
  - CODE_OF_CONDUCT.md
93
94
  - Gemfile
94
95
  - LICENSE.txt
@@ -137,9 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
138
  version: '0'
138
139
  requirements: []
139
140
  rubyforge_project:
140
- rubygems_version: 2.2.2
141
+ rubygems_version: 2.2.3
141
142
  signing_key:
142
143
  specification_version: 4
143
144
  summary: Replace Pageflow navigation with Scrollytelling navigation
144
145
  test_files: []
145
- has_rdoc: