pageflow-embedded-video 0.1.0 → 0.1.1

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
- YmFmYmEyNzhhOGZhMTFkMjdiNmY4ZTMxMDRiODMyMzhmODczNmJmZQ==
4
+ YzA1NjdjZGVhZjMyNzMxZWE5ZGVjOGRmNjJiMWU4MWJiN2RlYjAyZA==
5
5
  data.tar.gz: !binary |-
6
- NDgxOTQ5YmQzN2VlZDY0ZDZjYTgzZTJlZjFmMmQ4MmVmYzI1NDU2OA==
6
+ ZTkzMWIzNGU1Yzg1NGNiNTM0OWYyM2M1ZjBlMjdmMTYyZDRhMjMyNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDBhNzNhYzk1ZTIwMTY2Y2NlYzc0MWVjYmEyN2MyMWM2N2Q5OWZiMDE5YWVl
10
- NDEzNjI0NzVmNzY1N2U3YzUxZTQxZTM1ZGI3OGQ2YjU2ZGI2YjM1MjZlY2Zk
11
- NWZmNjRlZGU0OTU5YWM0NWRmZmRmMzkxZGIzZTczMzY0YWI5Zjk=
9
+ Y2NiMDJhYjViOTkzOTY0YzcwZmYxNTQyYTc2NWE4YjQ0YWE0OTQ2MjkwYTEy
10
+ Nzc5YTZjZDcxNGUyNGExMzFiZGQ2YmMwY2VkOGUzNzE3YjRlNGJjN2ZmNTg1
11
+ ZjI1N2Q3ZjE1NTA0MzdmNzM1ZmVjMjNlZjkzMzA0MzNmMDlhNDE=
12
12
  data.tar.gz: !binary |-
13
- YzIxZDAzNDA4NzUzZDY5NDhmNTFlYjVjYjFjOGY2MDNhY2FlYTE4MDE5NjFi
14
- NWNhY2VkOGY4NTFiN2Y3NDcyZWFhNzJkMzljMmY5MzUyZTgxMTgzMmFmODEw
15
- Y2E0NWEwZGRkNmVhYzJmNjk4ZGU5MzJjNDEyYmI5NDQ5N2IxMWY=
13
+ NWYyN2M3NTBiNDdjMzE3NzQ5MTMwZGMzMWQwMWEyMTljOTYzNGRlMWRmZjI2
14
+ MWZhODM0ODg3OGU4NTZjNDA1YzJjMzhjMTkyNWEwMWVmMjk4M2Q1MjU0NjJj
15
+ NmNjMzQzMWZiMTc1MTg3ZTZhMGY0YjQ5ODY0YTA2NDM3MTVmZmQ=
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### Version 0.1.1
4
+
5
+ - Bug fix: Improve mobile display.
6
+ ([#5](https://github.com/codevise/pageflow/pull/5))
7
+
3
8
  ### Version 0.1.0
4
9
 
5
10
  2015-02-03
data/README.md CHANGED
@@ -28,10 +28,10 @@ Include javascript/stylesheets:
28
28
  # app/assets/javascripts/pageflow/editor.js
29
29
  //= require pageflow/embedded_video/editor
30
30
 
31
- # app/assets/stylesheets/pageflow/application.scss.css;
31
+ # app/assets/stylesheets/pageflow/application.css.scss;
32
32
  @import "pageflow/embedded_video";
33
33
 
34
- # app/assets/stylesheets/pageflow/editor.scss.css;
34
+ # app/assets/stylesheets/pageflow/editor.css.scss;
35
35
  @import "pageflow/embedded_video/editor";
36
36
 
37
37
 
@@ -6,6 +6,8 @@ pageflow.pageType.register('embedded_video', _.extend({
6
6
  enhance: function(pageElement, configuration) {
7
7
  var that = this;
8
8
 
9
+ pageElement.addClass('hide_content_with_text');
10
+
9
11
  if (pageflow.features.has('mobile platform')) {
10
12
  pageElement.find('.close_button, .iframe_container').click(function(event) {
11
13
  event.stopPropagation();
@@ -367,4 +369,4 @@ pageflow.pageType.register('embedded_video', _.extend({
367
369
  }
368
370
  return hash;
369
371
  }
370
- }, pageflow.commonPageCssClasses));
372
+ }, pageflow.commonPageCssClasses));
@@ -1,6 +1,19 @@
1
1
  @include pageflow-page-type(embedded_video);
2
2
 
3
3
  .embedded_video_page {
4
+ /*
5
+ HACK: We need to set the hide_content_with_text css class on the
6
+ page's section, to make the menu button and hide text text
7
+ indicator disappear on mobile. But this also causes the content
8
+ to be hidden, which we undo in the following. This should be
9
+ decoupled in the pageflow gem.
10
+ */
11
+ .content {
12
+ visibility: visible !important;
13
+ opacity: 1 !important;
14
+ pointer-events: all !important;
15
+ }
16
+
4
17
  .contentText {
5
18
  margin-top: 40px;
6
19
  }
@@ -25,7 +25,11 @@
25
25
  </div>
26
26
  </div>
27
27
  <div class="iframe_container">
28
- <div class="close_button" tabindex="4" title="<%= t('.close_title') %>"><%= t('.close') %></div>
28
+ <div class="close_button" tabindex="4" title="<%= t('.close_title') %>">
29
+ <div class="label">
30
+ <%= t('.close') %>
31
+ </div>
32
+ </div>
29
33
  <div class="iframe_wrapper"></div>
30
34
  <% if configuration['video_caption'].present? %>
31
35
  <div class="video_caption"><%= configuration['video_caption'] %></div>
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "pageflow-embedded-video"
5
- spec.version = "0.1.0"
5
+ spec.version = "0.1.1"
6
6
  spec.authors = ["Stefan Schöttelndreyer"]
7
7
  spec.email = ["sschoettelndreyer@codevise.de"]
8
8
  spec.summary = "Pagetype for embedded youtube/vimeo videos"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-embedded-video
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Schöttelndreyer
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