pageflow-text-page 1.3.0 → 1.4.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
  SHA256:
3
- metadata.gz: 228d8f62d8f82d55731c19379a975d68c6d12dbeccc30d24e8f607a9c77a1ba9
4
- data.tar.gz: 26ba7711e7db00899368bb668953e29c3b1a00fcac31e51acee01b05ad08186a
3
+ metadata.gz: 41ab9ff8547e52867f55c61f48576e414be4dee4c75ee4c93615a7845eb768a6
4
+ data.tar.gz: 79d462f9b9df790a4dfd1439be58e1123526e6aa1462552be805e8447455ae23
5
5
  SHA512:
6
- metadata.gz: 05d183c061b135e660d75855a3046aaab7f70d2deec6cbd71f9400980258ea7d7f83c022d21484d67ce7bc13d6fee51f4b1ab83c0cc91422127e3aa73d560d13
7
- data.tar.gz: 574bacb05829dbcc1de2a49ef7b6ed4bedb967c7476be1bceaa0d0977c863e37094d283d67b65f80e2464dfd8625b42f23580188b535ebe6616ab60bdfcecb73
6
+ metadata.gz: f73f249f3f0707e1d6e06f389cb99072810c7ee3ba24dbf486a2a9945395bb46b54a931f17fc75d72af9d05a7dbab7c3e667fc9482ba3eaee88e2e552a475f93
7
+ data.tar.gz: 93c350cb80533a0c2987a033f2ea82daf16b2d2486d91c5042920ecbacf65400cbd56ff64000e1052521d534cb1701c6ecac10a4d7fe028344e9af5d95ca5ef3
@@ -1,18 +1,16 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### Version 1.4.0
3
4
 
4
- ### Version 1.3.0
5
+ 2019-07-24
5
6
 
6
- 2019-05-20
7
+ [Compare changes](https://github.com/codevise/pageflow-text-page/compare/1-3-stable...v1.4.0)
7
8
 
8
- [Compare changes](https://github.com/codevise/pageflow-text-page/compare/1-2-stable...v1.3.0)
9
-
10
- - Allow page links in text area
11
- ([#23](https://github.com/codevise/pageflow-text-page/pull/23))
12
- - Allow lists in text area
13
- ([#24](https://github.com/codevise/pageflow-text-page/pull/24)),
14
- ([#25](https://github.com/codevise/pageflow-text-page/pull/25))
9
+ - Make text and link colors configurable
10
+ ([#27](https://github.com/codevise/pageflow-text-page/pull/27))
11
+ - Add theme variables for inline image caption typography
12
+ ([#26](https://github.com/codevise/pageflow-text-page/pull/26))
15
13
 
16
14
  See
17
- [1-2-stable branch](https://github.com/codevise/pageflow-text-page/blob/1-2-stable/CHANGELOG.md)
15
+ [1-3-stable branch](https://github.com/codevise/pageflow-text-page/blob/1-3-stable/CHANGELOG.md)
18
16
  for previous changes.
@@ -131,16 +131,11 @@ $inverted-background-color: black;
131
131
  }
132
132
 
133
133
  .page_text {
134
- max-width: 500px;
135
134
  margin: auto;
136
135
  min-height: 300px;
137
136
  padding: 6em 0 12em 0;
138
137
  box-sizing: border-box;
139
138
 
140
- @include phone {
141
- max-width: 84%;
142
- }
143
-
144
139
  @include pad_portrait {
145
140
  padding-right: 0;
146
141
  }
@@ -382,15 +377,6 @@ $inverted-background-color: black;
382
377
  }
383
378
 
384
379
  .page .text_page, .js .page .text_page {
385
- .scroller {
386
- > div {
387
- .page_text {
388
- a {
389
- color: black;
390
- }
391
- }
392
- }
393
- }
394
380
  &.invert_text .scroller {
395
381
  > div {
396
382
  .contentInnerWrapper {
@@ -400,12 +386,6 @@ $inverted-background-color: black;
400
386
  background-color: black;
401
387
  }
402
388
  }
403
-
404
- .page_text {
405
- a {
406
- color: white;
407
- }
408
- }
409
389
  }
410
390
  }
411
391
  }
@@ -8,6 +8,8 @@ $text-page-content-text-phone-base-font-size: 1em !default;
8
8
  /// paragraph.
9
9
  $text-page-text-title-typography: () !default;
10
10
 
11
+ $text-page-page-text-wide-desktop-max-width: null !default;
12
+
11
13
  /// Inline Image Caption Text box Variables
12
14
 
13
15
  $text-page-inline-image-caption-background-color: black !default;
@@ -18,14 +20,30 @@ $text-page-inline-image-caption-inverted-text-color: null !default;
18
20
 
19
21
  $text-page-inline-image-caption-padding: 7px 10px !default;
20
22
 
23
+ /// Typography of the caption that is displayed below the inline image
24
+ $text-page-inline-image-caption-typography: () !default;
25
+
26
+ $text-page-anchor-color: $page-anchor-inverted-color !default;
27
+ $text-page-anchor-inverted-color: $page-anchor-color !default;
28
+
21
29
  @include pageflow-page-type-pictograms("text_page");
22
30
 
23
31
  .page .text_page {
24
32
  .page_text {
25
33
  font-size: $text-page-content-text-base-font-size;
34
+ max-width: 500px;
35
+
36
+ @include wide_desktop {
37
+ max-width: $text-page-page-text-wide-desktop-max-width;
38
+ }
26
39
 
27
40
  @include phone {
28
41
  font-size: $text-page-content-text-phone-base-font-size;
42
+ max-width: 84%;
43
+ }
44
+
45
+ a {
46
+ color: $text-page-anchor-color;
29
47
  }
30
48
 
31
49
  .page_sub_header {
@@ -43,12 +61,20 @@ $text-page-inline-image-caption-padding: 7px 10px !default;
43
61
  background-color: $text-page-inline-image-caption-background-color;
44
62
  color: $text-page-inline-image-caption-text-color;
45
63
  padding: $text-page-inline-image-caption-padding;
46
- }
47
64
 
48
- &.invert_text .inline_image_text {
49
- background-color: $text-page-inline-image-caption-inverted-background-color;
50
- color: $text-page-inline-image-caption-inverted-text-color;
65
+ @include typography(
66
+ $text-page-inline-image-caption-typography
67
+ );
51
68
  }
52
69
 
70
+ &.invert_text {
71
+ .inline_image_text {
72
+ background-color: $text-page-inline-image-caption-inverted-background-color;
73
+ color: $text-page-inline-image-caption-inverted-text-color;
74
+ }
53
75
 
76
+ .page_text a {
77
+ color: $text-page-anchor-inverted-color;
78
+ }
79
+ }
54
80
  }
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module TextPage
3
- VERSION = '1.3.0'.freeze
3
+ VERSION = '1.4.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-text-page
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.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: 2019-05-20 00:00:00.000000000 Z
11
+ date: 2019-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  version: '0'
175
175
  requirements: []
176
176
  rubyforge_project:
177
- rubygems_version: 2.7.8
177
+ rubygems_version: 2.7.5
178
178
  signing_key:
179
179
  specification_version: 4
180
180
  summary: Pageflow Page Type text pages