maglove-engine 2.0.13 → 2.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maglove/engine/version.rb +1 -1
- data/lib/maglove/widget/card.rb +1 -2
- data/lib/maglove/widget/listitem.rb +6 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 941201c06d389866d1de9be8ffa46d6ec11b93a7
|
4
|
+
data.tar.gz: 2176517879b75b1213fc446f2664efa717640416
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd3e6bedee4ec1e154657bb345426db3bacdc398fe8da5637d755cf049b825991f85aac9f3cc845435cf1e7bbfe29058b5a2fe154968eafc307a873b16929135
|
7
|
+
data.tar.gz: df2190dcf854a2efd5983f011c3f4f7f363ef016433a0f432cd3d09b8b8cd0b2d5d6d67d2f78c4833e46db1c44c64d1f3a10d5da265dd51529434ba14e43a5cb
|
data/lib/maglove/widget/card.rb
CHANGED
@@ -8,7 +8,8 @@ module Maglove
|
|
8
8
|
def defaults
|
9
9
|
{
|
10
10
|
background_color: "#18B545",
|
11
|
-
|
11
|
+
title_color: "#111111",
|
12
|
+
subtitle_color: "#111111",
|
12
13
|
arrow_color: "#FFFFFF",
|
13
14
|
size: "md",
|
14
15
|
badge: nil,
|
@@ -31,7 +32,8 @@ module Maglove
|
|
31
32
|
def defaults
|
32
33
|
{
|
33
34
|
background_color: "#18B545",
|
34
|
-
|
35
|
+
title_color: "#111111",
|
36
|
+
subtitle_color: "#111111",
|
35
37
|
arrow_color: "#FFFFFF",
|
36
38
|
size: "md",
|
37
39
|
badge: nil,
|
@@ -58,11 +60,11 @@ module Maglove
|
|
58
60
|
haml_tag :div, { class: "list-item-image", style: image_style }
|
59
61
|
end
|
60
62
|
haml_tag :div, { class: "list-item-main" } do
|
61
|
-
haml_tag :div, { class: "list-item-title", style: "color: #{options[:
|
63
|
+
haml_tag :div, { class: "list-item-title", style: "color: #{options[:title_color]}" } do
|
62
64
|
haml_concat(options[:title])
|
63
65
|
end
|
64
66
|
if options[:subtitle]
|
65
|
-
haml_tag :div, { class: "list-item-subtitle", style: "color: #{options[:
|
67
|
+
haml_tag :div, { class: "list-item-subtitle", style: "color: #{options[:subtitle_color]}; font-style: #{options[:subtitle_style]}" } do
|
66
68
|
haml_concat(options[:subtitle])
|
67
69
|
end
|
68
70
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maglove-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Strebitzer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: haml
|
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
178
|
version: 2.4.7
|
179
179
|
requirements: []
|
180
180
|
rubyforge_project:
|
181
|
-
rubygems_version: 2.
|
181
|
+
rubygems_version: 2.5.2
|
182
182
|
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: Maglove Engine - MagLoft Theme Rendering Engine.
|