card-mod-style 0.17.0 → 0.18.0
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 +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb5380e8ae79de5e26f1fd9647f69b369434d73dcfa90eabd48bf5bc7b4ed598
|
4
|
+
data.tar.gz: 2a54647a4838a2cef75ed01197b8cb6b6fdea2868a70c9c549a9d9bcfd61eb0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5a94298e4d4a3ba516ac67036588c8ad0d87ad858e4ce68047a72055da335b02babf5462ddc310ad7b9f1ec7348d2ccffef98f3993da0c1d281773dd7b78e28
|
7
|
+
data.tar.gz: 615cf45cb742d3d7dfc7a422fbc262b07091de8fd5a2170f013f7a72c46276f493e9a7c974ae0dac87512452f5c64256e83d0ba38b27a3b3f7b1ef9c6b5b6843
|
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.0
|
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-10-31 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.0
|
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.0
|
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.0
|
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.0
|
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.0
|
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.0
|
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
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
126
|
requirements: []
|
127
|
-
rubygems_version: 3.5.
|
127
|
+
rubygems_version: 3.5.7
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: Skins, CSS, SCSS, etc
|