scrollytelling-pageflow-navigation 1.14.0 → 1.14.1

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: e41b9ccc92d4c55a68533c85fd9f21f76361ff8a
4
- data.tar.gz: 8051dd12fc7f7d355a53679f5458ecafc1efe5ef
3
+ metadata.gz: ed740e4fbd04e97c68f473d72c681a578b74d926
4
+ data.tar.gz: 20573537281eb9b33295913530b704f87a9f1ebc
5
5
  SHA512:
6
- metadata.gz: 1d17c6d60b5b49a8a51e3c4f9321eda90f5d009906a13af01cbecab73a805bf3217bb201bda5a439471797071ca218479afcbbfbb90c9d319eb9a0cc5ec30faf
7
- data.tar.gz: e35ad6117b5d7af34f728a7f87ea230e291831b3431e7cb0ac9b85600e9120f82dc8812d02836d48f0e12f4f429ec2e4c04a1426f86b50f85a437a10afd7f5ec
6
+ metadata.gz: 2c8eed5cf4563aadd426d19dfdca21c168295f6da190ddd0ca6edc3151b0098398945f5c4084f1e8865cd9ee5126bad1378aae6444deb50481933640c2971dba
7
+ data.tar.gz: 6a205e1422634db927019144d6615682d1eee783dc19a5e9aa599659d41040365177d9569c9a0c067002b68634502d86d2169561604c0c50733b6be12272e55a
@@ -3,6 +3,11 @@
3
3
  @include scrollytelling-indicator;
4
4
  left: 100px;
5
5
  bottom: 20px;
6
+
7
+ @include mobile {
8
+ left: 20px;
9
+ }
10
+
6
11
  }
7
12
 
8
13
  .indicator.invert {
@@ -3,6 +3,10 @@ ul.scrollytelling-home_button {
3
3
  left: 100px;
4
4
  top: 20px;
5
5
 
6
+ @include mobile {
7
+ left: 20px;
8
+ }
9
+
6
10
  a {
7
11
  color: $scrollytelling-nav-color;
8
12
 
@@ -1,7 +1,38 @@
1
1
  .navigation_mobile {
2
2
  .parent_page {
3
- display: none;
4
- /* hide here because we include it in all nav */
3
+ display: none; /* hide here because we include it in all nav */
4
+ }
5
+
6
+ .menu {
7
+ width: auto;
8
+ height: auto;
9
+
10
+ &.index:before {
11
+ font-family: "FontAwesome";
12
+ content: "\f0c9";
13
+ font-size: 20px;
14
+ }
15
+
16
+ &.sharing:before {
17
+ font-family: "FontAwesome";
18
+ content: "\f1e0";
19
+ font-size: $scrollytelling-fa-size;
20
+ }
21
+
22
+ &.imprint:before {
23
+ font-family: "FontAwesome";
24
+ content: "\f05a";
25
+ font-size: $scrollytelling-fa-size;
26
+ }
27
+ }
28
+
29
+ .imprint_mobile:after,
30
+ .menu.imprint,
31
+ .menu.index,
32
+ .menu.sharing,
33
+ .overview_mobile:after,
34
+ .sharing_mobile:after {
35
+ background-image: none;
5
36
  }
6
37
 
7
38
  .imprint_mobile .credits a,
@@ -64,46 +95,11 @@
64
95
 
65
96
  .menu.index {
66
97
  &:before {
67
- font-family: "FontAwesome";
68
98
  content: "\f00d";
69
- font-size: $scrollytelling-fa-size;
70
99
  }
71
100
  }
72
101
  }
73
102
 
74
- .imprint_mobile:after,
75
- .menu.imprint,
76
- .menu.index,
77
- .menu.sharing,
78
- .overview_mobile:after,
79
- .sharing_mobile:after {
80
- background-image: none;
81
- }
82
-
83
- .menu.index {
84
- &:before {
85
- font-family: "FontAwesome";
86
- content: "\f0c9";
87
- font-size: $scrollytelling-fa-size;
88
- }
89
- }
90
-
91
- .menu.sharing {
92
- &:before {
93
- font-family: "FontAwesome";
94
- content: "\f1e0";
95
- font-size: $scrollytelling-fa-size;
96
- }
97
- }
98
-
99
- .menu.imprint {
100
- &:before {
101
- font-family: "FontAwesome";
102
- content: "\f05a";
103
- font-size: $scrollytelling-fa-size;
104
- }
105
- }
106
-
107
103
  &.page-invert {
108
104
  .menu.index:before {
109
105
  color: $scrollytelling-invert-nav-color;
@@ -1,7 +1,7 @@
1
1
  module Scrollytelling
2
2
  module Pageflow
3
3
  module Navigation
4
- VERSION = "1.14.0"
4
+ VERSION = "1.14.1"
5
5
  end
6
6
  end
7
7
  end
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.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joost Baaij