card-mod-style 0.17.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/set/abstract/skin_box.rb +1 -1
- data/set/self/style_mods.rb +8 -0
- data/set/type_plus_right/set/style.rb +8 -0
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce72867cd7bb143196fb90c0e90f5af8eeffdbb023445e1e3f8ada9d83ce2ae1
|
4
|
+
data.tar.gz: d7ebbdfe71003eeb8ae989f2d31fbb8c8a53110dfed52ee54c4ab9d34fa2c044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8104207a8f225a3908ad96fafb6358f22a1dc3b38c55ae97e626cda3a7a9fd907f376ad27ea1104d4d44d0b7211e232d522f13eb7c3630d4269799882da3290
|
7
|
+
data.tar.gz: cea9495444f34eed6bebf0acb1dbf6beaa6ee600be8bfec6124a2a60a170c000507273b09bc3d8809726315e1d3dfa314d1a00481a4d84b5f4c2c4ce792828b0
|
data/set/abstract/skin_box.rb
CHANGED
data/set/self/style_mods.rb
CHANGED
@@ -4,3 +4,11 @@ include_set Abstract::AssetInputter, input_format: :scss
|
|
4
4
|
def dependent_asset_inputters
|
5
5
|
Card::Assets.active_theme_cards
|
6
6
|
end
|
7
|
+
|
8
|
+
format :html do
|
9
|
+
view :remote_style_tags, cache: :deep, perms: :none do
|
10
|
+
card.item_cards.map do |mod_style_card|
|
11
|
+
nest mod_style_card, view: :remote_include_tags
|
12
|
+
end.select(&:present?)
|
13
|
+
end
|
14
|
+
end
|
@@ -25,6 +25,14 @@ format :html do
|
|
25
25
|
HIDDEN_SKINS = %w[bootstrap_default_skin themeless_bootstrap_skin bootstrap_default_skin
|
26
26
|
classic_bootstrap_skin].freeze
|
27
27
|
|
28
|
+
view :stylesheet_path, cache: :never, perms: :none do
|
29
|
+
if params[:debug] == "style"
|
30
|
+
path mark: card.name, item: :import, format: :css
|
31
|
+
else
|
32
|
+
card.asset_output_url
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
28
36
|
def input_type
|
29
37
|
:box_select
|
30
38
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,42 +18,42 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.108.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.
|
28
|
+
version: 1.108.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: card-mod-assets
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.18.1
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.18.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: card-mod-list
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.18.1
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.
|
56
|
+
version: 0.18.1
|
57
57
|
description: ''
|
58
58
|
email:
|
59
59
|
- info@decko.org
|
@@ -100,7 +100,7 @@ files:
|
|
100
100
|
- set/type_plus_right/set/style/input.haml
|
101
101
|
homepage: https://decko.org
|
102
102
|
licenses:
|
103
|
-
- GPL-3.0
|
103
|
+
- GPL-3.0-or-later
|
104
104
|
metadata:
|
105
105
|
source_code_uri: https://github.com/decko-commons/decko
|
106
106
|
homepage_uri: https://decko.org
|