scrollytelling-pageflow-navigation 1.9.1 → 1.10.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: f7f7fc8e359342a83b54e117e26de376cc0aa6a3
4
- data.tar.gz: 4fd96dd65b677d0775baba2cac872ffa942ceb65
3
+ metadata.gz: 75679c79b37888505e21e5c19456c9ee8b48b5e7
4
+ data.tar.gz: 27fd0e04634c21a8b5a39e4b7f4c96cdd96b9679
5
5
  SHA512:
6
- metadata.gz: 111f22fac407c3a45631866b7509147c9ec6fefcec353f2ca1a23ba285f44276444b8372ec86d162b5d59b1568f660480ce71ecd685e210e194a4db69211587a
7
- data.tar.gz: 2573683de1c7bb76deaf1c66c550199e62195f13a62f8e79b4ff330b813a567c182f22c6702e3e54e011a0c81c0373b2822789eeb867017b1402e4957cf77f90
6
+ metadata.gz: b2132011948098e6f08a43613a787c436c3232e96170a2eb29ec57f3c548b29e5461e984553d30741d63c8c5dd63e06864bf3e1617405c68e0a8eeaafe44cc8d
7
+ data.tar.gz: c89db8498f2bcf03c4e4c8e9ffaff6d517372f25625c03b75b60dd9459a9f1daa3eac04161d14a74ab597f3f2791e09831793dbda84fd0ba20e114f3ad45c314
@@ -3,8 +3,20 @@ $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-nav-color: white !default;
6
7
  $scrollytelling-invert-nav-color: black !default;
7
8
 
9
+ @mixin scrollytelling-indicator {
10
+ cursor: pointer;
11
+ color: $scrollytelling-nav-color;
12
+ text-transform: uppercase;
13
+ font-family: sourcesanspro;
14
+ text-shadow: 1px 1px 4px #2b2b2b;
15
+ letter-spacing: 3px;
16
+ line-height: $scrollytelling-fa-size;
17
+ height: $scrollytelling-sharing-size;
18
+ }
19
+
8
20
  @import "./navigation/navigation";
9
21
  @import "./navigation/mobile";
10
22
  @import "./navigation/options";
@@ -2,9 +2,8 @@
2
2
  .indicator {
3
3
  left: 2%;
4
4
  bottom: 2%;
5
- height: 40px;
6
5
  padding: 0 0 0 40px;
7
- line-height: $scrollytelling-fa-size;
6
+ @include scrollytelling-indicator;
8
7
  }
9
8
 
10
9
  .scroll_indicator:before {
@@ -61,7 +61,7 @@
61
61
  height: 4px;
62
62
  width: 4px;
63
63
  border: 0;
64
- background: white;
64
+ background: $scrollytelling-nav-color;
65
65
  left: 50%;
66
66
  top: 50%;
67
67
  margin: -2px 0 0 -2px;
@@ -80,7 +80,7 @@
80
80
  right: 30px;
81
81
  position: absolute;
82
82
  top: -1px;
83
- color: white;
83
+ color: $scrollytelling-nav-color;
84
84
  font-size: 14px;
85
85
  white-space: nowrap;
86
86
  max-width: 220px;
@@ -2,18 +2,10 @@
2
2
  position: absolute;
3
3
  bottom: 6%;
4
4
  left: 2%;
5
- height: $scrollytelling-sharing-size;
6
- line-height: $scrollytelling-fa-size;
7
5
  visibility: hidden;
8
6
  @include transform(translate3d(0, -100px, 0));
9
7
  @include transition(transform 0.4s ease, visibility 0.4s, right 250ms);
10
- color: white;
11
- text-transform: uppercase;
12
- text-shadow: 1px 1px 4px black #2b2b2b;
13
- font-size: 0.92em;
14
- letter-spacing: 0.2em;
15
- font-family: sourcesanspro;
16
- cursor: pointer;
8
+ @include scrollytelling-indicator;
17
9
 
18
10
  &:before {
19
11
  content: "\f0a8";
@@ -1,7 +1,7 @@
1
1
  module Scrollytelling
2
2
  module Pageflow
3
3
  module Navigation
4
- VERSION = "1.9.1"
4
+ VERSION = "1.10.0"
5
5
  end
6
6
  end
7
7
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency 'pageflow', '>= 0.7', '< 0.12.0'
21
+ spec.add_runtime_dependency 'pageflow', '>= 0.11.0'
22
22
  spec.add_runtime_dependency 'rails', '>= 3.0'
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.11"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrollytelling-pageflow-navigation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joost Baaij
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 0.12.0
19
+ version: 0.11.0
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '0.7'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: 0.12.0
26
+ version: 0.11.0
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: rails
35
29
  requirement: !ruby/object:Gem::Requirement