pageflow-text-page 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGQyZjMxYjM5ZWYyMDY5YWUxNDJlODJmMWE4Mzk0NzJkYTZmNjRmMQ==
4
+ NWUyNzVlYTNiMzdiNzA5ZDI0YmM1MDgwZDYyZmU3MTVjNWZjNDhjZQ==
5
5
  data.tar.gz: !binary |-
6
- NjNiMjYxNDkwOWQ0MjZlY2Y2Njg5MTIyOTUwMzBlOTlmNDE4NzI5ZQ==
6
+ YmZjZjg2NDNjMjNjZTI3Nzc2NzcyMTBjY2IxOTc1MzVhZTM0MDQ4NA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZmY1ZDMxMGRjZGVlYTkxNjI4NjFhNDFmNGMxNjBkZjkwZGJmNTk2MGJkYjc5
10
- Mjg5OTA4NmYyY2ZkODU5YTA5NzkyNjdmYjE1NjA4NWI5M2VhYTMyOTRkMjdh
11
- ZGQ1NWNlMTA1YmY5MDY3NGI3NDRjYTdhODNkZTk3OTBjNWRmZWM=
9
+ Mzg3ZDhhNTUwMGQxZjkxYTY1MDM1MTMzODQ0N2UxOTkxYWQwN2ZiNjI4ODAw
10
+ Nzc5NWU3MGRjYjA5NWIwZjMyMTZmZjk5M2RjYzczMGNlYjkyOGIzY2Y3NjQ5
11
+ NzUzNTQ4NzI1MGFkMzc1OGZmNjI2ZTJmODY4OGI1ZmNmZmJmOTI=
12
12
  data.tar.gz: !binary |-
13
- OWRmMWNiNTk4MzMxODlkNGViN2IyMmZkZjgwNmRiOTBmNzhjYTFkYjA3YjU2
14
- MWNjMjRlYTI4Mjg5MzlmMjE5NzAyM2VmMTQ2MTRiNGU4Njc3N2Y3OWM0MzQw
15
- MGY5ZWQyYmIyZDY4Yjc1YTc1NDEzNWUwYmQyZDU2Y2M0NmRiY2Q=
13
+ YWRmZTBiYjEzZjg0ZTdhZTI5MGE5MzhiMjM1MGNjZDA2ZTFkN2EwNWFjMjVl
14
+ ZjVjNGIwNzU3ODFhMDhlYjJhYTk4ODlhNGQyNmIwMDdmMGE5NjNjZTZiYzk1
15
+ YmE4NTg3ZDc1MmUzNjlhNmNkOWFmM2Q0ZTc0OGRhMDJhMWMzMWQ=
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### Changes on `master`
4
+
5
+ None so far
6
+
7
+ ### Version 0.2.0
8
+
9
+ - Bug fix: Fix fade transition for new page transitions.
10
+ ([#3](https://github.com/codevise/pageflow-text-page/pull/3))
11
+ - Bug fix: Fix toggling of header asset in editor.
12
+ ([#2](https://github.com/codevise/pageflow-text-page/pull/2))
13
+
3
14
  ### Version 0.1.0
4
15
 
5
16
  2015-02-03
@@ -188,7 +188,7 @@ pageflow.pageType.register('text_page', _.extend({
188
188
 
189
189
  pageElement.find('.content_and_background').toggleClass('no_background_image', !configuration.getImageFile('background_image_id'));
190
190
 
191
- pageElement.find('.content_and_background').toggleClass('sticky_inline_image', configuration.get('sticky_inline_image'));
191
+ pageElement.find('.content_and_background').toggleClass('sticky_inline_image', !!configuration.get('sticky_inline_image'));
192
192
 
193
193
  if(configuration.get('text_position') == "left" || configuration.get('text_position') == "right") {
194
194
  this.titleArea = pageElement.find('.backgroundArea .fixed_header_area');
@@ -125,8 +125,6 @@ $inverted-background-color: black;
125
125
  font-size: 1em;
126
126
  }
127
127
 
128
- padding-right: $nav-bar-margin;
129
-
130
128
  @include pad_portrait {
131
129
  padding-right: 0;
132
130
  }
@@ -164,7 +162,7 @@ $inverted-background-color: black;
164
162
  padding: 0;
165
163
 
166
164
  &.no_image_assigned {
167
- display: none;
165
+ display: none !important;
168
166
  }
169
167
 
170
168
  @include phone {
@@ -344,7 +342,6 @@ $inverted-background-color: black;
344
342
 
345
343
  @include narrow_desktop {
346
344
  width: 500px;
347
- padding-right: 20px;
348
345
  }
349
346
  }
350
347
  }
@@ -467,24 +464,28 @@ $inverted-background-color: black;
467
464
  opacity: 1;
468
465
  }
469
466
  &.animate-in-backwards .content_and_background{
470
- opacity: 1;
467
+ opacity: 0;
471
468
  }
472
469
  &.animate-out-backwards .content_and_background{
473
- opacity: 0;
470
+ opacity: 1;
474
471
  }
475
472
 
476
- &.active.animate-in-forwards .backgroundArea {
473
+ &.active .content_and_background{
477
474
  opacity: 1;
478
475
  }
479
476
 
480
- &.animate-in-forwards .backgroundArea {
477
+ &.active.animate-in-forwards .backgroundArea, &.active.animate-in-backwards .backgroundArea {
481
478
  opacity: 1;
482
479
  }
480
+
481
+ &.animate-in-forwards .backgroundArea {
482
+ opacity: 0;
483
+ }
483
484
  &.animate-out-forwards .backgroundArea{
484
485
  opacity: 1;
485
486
  }
486
487
  &.animate-in-backwards .backgroundArea{
487
- opacity: 1;
488
+ opacity: 0;
488
489
  }
489
490
  &.animate-out-backwards .backgroundArea{
490
491
  opacity: 1;
@@ -503,6 +504,8 @@ $inverted-background-color: black;
503
504
  }
504
505
 
505
506
  &.animate-in-forwards {
507
+ z-index: 2;
508
+
506
509
  div.content {
507
510
  pointer-events: none;
508
511
  opacity: 1;
@@ -517,6 +520,8 @@ $inverted-background-color: black;
517
520
  }
518
521
  }
519
522
  &.animate-in-backwards {
523
+ z-index: 2;
524
+
520
525
  .content {
521
526
  opacity: 1;
522
527
  pointer-events: none;
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "pageflow-text-page"
5
- spec.version = "0.1.0"
5
+ spec.version = "0.2.0"
6
6
  spec.authors = ["Christoph Merkelbach"]
7
7
  spec.email = ["cmerkelbach@codevise.de"]
8
8
  spec.summary = "Pageflow Page Type text pages"
9
- spec.homepage = ""
9
+ spec.homepage = "https://github.com/codevise/pageflow-text-page"
10
10
  spec.license = "MIT"
11
11
 
12
12
  spec.files = `git ls-files`.split($/)
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
15
15
  spec.require_paths = ["lib"]
16
16
 
17
- spec.add_runtime_dependency 'pageflow', '~> 0.7'
17
+ spec.add_runtime_dependency 'pageflow', '~> 0.9'
18
18
 
19
19
  # Using translations from rails locales in javascript code.
20
20
  spec.add_runtime_dependency 'i18n-js'
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: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Merkelbach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-03 00:00:00.000000000 Z
11
+ date: 2015-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: '0.9'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0.7'
26
+ version: '0.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: i18n-js
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -140,7 +140,7 @@ files:
140
140
  - lib/pageflow/text_page/engine.rb
141
141
  - lib/pageflow/text_page/page_type.rb
142
142
  - pageflow-text-page.gemspec
143
- homepage: ''
143
+ homepage: https://github.com/codevise/pageflow-text-page
144
144
  licenses:
145
145
  - MIT
146
146
  metadata: {}