maglove-widgets 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/maglove/widgets/paragraph.rb +1 -1
- data/lib/maglove/widgets/scrollable_image.rb +1 -1
- data/lib/maglove/widgets/youtube.rb +1 -1
- data/maglove-widgets.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b30408d90f30a8c8c88029bcbb4f040fcb5ab8c
|
4
|
+
data.tar.gz: 5fc3b4b58b82ca7dd5c87fd1d8dd3292e2d0caa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deb601e0fece761e934ee1ffdb7188048ea6f6cf813e02ad1e20cdacb64f06f94f2928681c3e49c0d4ab2a6fd07e3b08f0d65e13b546abb35372f4af729c216a
|
7
|
+
data.tar.gz: c89129fdd685b6bd9a1cf5496aa91d93939f346dd6fc935d9d52924f56418bb32f8bba23b16fc4c6d1c78a49b3d1a26e74abcaf512d7f1a9e9e6be4a490cfaa9
|
data/Gemfile.lock
CHANGED
@@ -17,7 +17,7 @@ module Maglove
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def template(&block)
|
20
|
-
scope.haml_tag :div,
|
20
|
+
scope.haml_tag :div, class: "paragraph #{options[:style]} align-#{options[:align]} size-#{options[:size]}" do
|
21
21
|
unless options[:drop_cap].empty?
|
22
22
|
haml_tag :span, class: "__dropcap", style: "color: #{options[:drop_cap_color]};" do
|
23
23
|
haml_concat(options[:drop_cap])
|
@@ -15,7 +15,7 @@ module Maglove
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def template(&block)
|
18
|
-
haml_tag :div, class: "scrollable-image-container #{options[:show_navigation] ? 'show-navigation' : ''}", style: style_string(options, :
|
18
|
+
haml_tag :div, class: "scrollable-image-container #{options[:show_navigation] ? 'show-navigation' : ''}", style: style_string(options, :height) do
|
19
19
|
haml_tag :div, class: "scrollable-image-inner" do
|
20
20
|
haml_tag :img, class: "scrollable-image", src: options[:source]
|
21
21
|
end
|
@@ -14,7 +14,7 @@ module Maglove
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def template(&block)
|
17
|
-
haml_tag :div, class: "flex-video widescreen", style: style_string(options
|
17
|
+
haml_tag :div, class: "flex-video widescreen", style: style_string(options) do
|
18
18
|
haml_tag :iframe, src: "https://www.youtube.com/embed/#{options[:youtube_id]}", type: "text/html", style: "max-width: 100%; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;", allowfullscreen: "", frameborder: "0", webkitallowfullscreen: "", mozallowfullscreen: ""
|
19
19
|
end
|
20
20
|
end
|
data/maglove-widgets.gemspec
CHANGED