pageflow-outline-navigation-bar 1.0.0 → 1.1.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
- SHA1:
3
- metadata.gz: b75c2003339a4af5a28a655b224d76fca49480d2
4
- data.tar.gz: b34f7881c7e16c314e13abde2d1901531ed58658
2
+ SHA256:
3
+ metadata.gz: 3c5186f55e25b269309dc694cbf7c031e70c4db6d9a14f677067a7762ab99a9c
4
+ data.tar.gz: a2ad052adc82f60913ce151ac73f5c2980979c8c2605680d5ee422f66592ffeb
5
5
  SHA512:
6
- metadata.gz: 0afc5d067765082de55db51a24f2eb92c5ac9e027124a5f90aad3c62696066e27d5c7d8cf36d6dae9c7d8a4139f6a16ac3dd6946ad6c21eed75764ab24f2f487
7
- data.tar.gz: 421d443a3cd65c1ec118361d3013a94a36bb379bf7986bc75337ec88f2cd709d45d171bf64122378cb8351c1403b39a486036d1468d919a521e0b83c75e4084f
6
+ metadata.gz: c009030c4b72464faf51b4d4f2adb3ff1f281d70577f199c55039c9b1554703677255b361202c1f61f207d0cb0324a1320b24ffa3f8e5c3fd7cc4a00d2483111
7
+ data.tar.gz: 8da65be5d037919dad3fcb376575b36206d28d23019dc6e9fef88519751ebdd4513bb7870270c6401420fb81885d094a1c1b550874630568f0806803f32a4628
data/CHANGELOG.md CHANGED
@@ -1,16 +1,20 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 1.0.0
3
+ ### Version 1.1.0
4
4
 
5
- 2017-08-11
5
+ 2018-12-10
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-outline-navigation-bar/compare/0-1-stable...v1.0.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-outline-navigation-bar/compare/1-0-stable...v1.1.0)
8
8
 
9
- - Improve mobile variant
10
- ([#3](https://github.com/codevise/pageflow-outline-navigation-bar/pull/3))
11
- - Support pageflow 12
12
- ([#2](https://github.com/codevise/pageflow-outline-navigation-bar/pull/2))
9
+ - Add support for Pageflow 13
10
+ ([#5](https://github.com/codevise/pageflow-outline-navigation-bar/pull/5))
11
+ - Add support for right to left layout
12
+ ([#4](https://github.com/codevise/pageflow-outline-navigation-bar/pull/4))
13
+ - Swap bourbon box-shadow mixin for regular css3 notation
14
+ ([#7](https://github.com/codevise/pageflow-outline-navigation-bar/pull/7))
15
+ - Added typography theme variables
16
+ ([#6](https://github.com/codevise/pageflow-outline-navigation-bar/pull/6))
13
17
 
14
18
  See
15
- [0-1-stable branch](https://github.com/codevise/pageflow-outline-navigation-bar/blob/0-1-stable/CHANGELOG.md)
19
+ [1-0-stable branch](https://github.com/codevise/pageflow-outline-navigation-bar/blob/1-0-stable/CHANGELOG.md)
16
20
  for previous changes.
@@ -40,7 +40,7 @@
40
40
  height: 34px;
41
41
  border-radius: 17px;
42
42
  background-color: rgba(53, 53, 53, 0.9);
43
- @include box-shadow(0 0 7px #ccc);
43
+ box-shadow: 0 0 7px #ccc;
44
44
  z-index: 1;
45
45
  }
46
46
  }
@@ -1,3 +1,5 @@
1
+ $outline-navigation-bar-chapter-typography: () !default;
2
+
1
3
  .chapters_panel {
2
4
  overflow: hidden;
3
5
 
@@ -25,7 +27,7 @@
25
27
  }
26
28
 
27
29
  li {
28
- margin-left: 6px;
30
+ @include margin-start(6px);
29
31
  padding-bottom: 2px;
30
32
  }
31
33
 
@@ -33,13 +35,19 @@
33
35
  display: block;
34
36
  padding: 0 12px 0 6px;
35
37
 
36
- text-decoration: none;
38
+ @include typography(
39
+ $outline-navigation-bar-chapter-typography,
40
+ (
41
+ font-weight: normal,
42
+ font-size: 17px,
43
+ line-height: 20px,
44
+ text-decoration: none,
45
+ white-space: nowrap
46
+ )
47
+ );
48
+
37
49
  color: $basic-text-color;
38
- font-weight: normal;
39
- font-size: 17px;
40
- line-height: 20px;
41
- border-left: solid 6px rgba(255, 255, 255, 0.3);
42
- white-space: nowrap;
50
+ @include border-start(solid 6px rgba(255, 255, 255, 0.3));
43
51
 
44
52
  height: 10px;
45
53
  @include transition(height 0.5s ease);
@@ -52,19 +60,22 @@
52
60
 
53
61
  a.in_active_chapter {
54
62
  color: $outline-navigation-bar-active-chapter-color;
55
- border-left: solid 6px $outline-navigation-bar-active-chapter-color;
63
+ @include border-start(solid 6px $outline-navigation-bar-active-chapter-color);
56
64
  }
57
65
  }
58
66
 
59
67
  &.fixed {
60
68
  .chapters_panel {
61
69
  li {
62
- margin-left: 3px;
70
+ @include margin-start(3px);
63
71
  }
64
72
 
65
73
  a {
66
- border-left-width: 2px;
67
- padding: 0 10px 0 6px;
74
+ @include border-start-width(2px);
75
+ padding-top: 0;
76
+ padding-bottom: 0;
77
+ @include padding-start(6px);
78
+ @include padding-end(10px);
68
79
  }
69
80
  }
70
81
  }
@@ -90,4 +101,4 @@
90
101
  @include transition-delay(0.3s);
91
102
  }
92
103
  }
93
- }
104
+ }
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module OutlineNavigationBar
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.1.0'.freeze
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.required_ruby_version = '~> 2.1'
20
20
 
21
- spec.add_runtime_dependency 'pageflow', ['>= 0.11', '< 13']
21
+ spec.add_runtime_dependency 'pageflow', ['>= 12.2.x', '< 14']
22
22
  spec.add_runtime_dependency 'pageflow-public-i18n', '~> 1.0'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-outline-navigation-bar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions Ltd.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-11 00:00:00.000000000 Z
11
+ date: 2018-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.11'
19
+ version: 12.2.x
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '13'
22
+ version: '14'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.11'
29
+ version: 12.2.x
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '13'
32
+ version: '14'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pageflow-public-i18n
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  requirements: []
175
175
  rubyforge_project:
176
- rubygems_version: 2.6.8
176
+ rubygems_version: 2.7.5
177
177
  signing_key:
178
178
  specification_version: 4
179
179
  summary: Pageflow navigation widget.