card-mod-style 0.11.4 → 0.11.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stylesheets/style_cards.scss +9 -1
- data/set/abstract/skin_box.rb +2 -0
- data/set/type/css.rb +4 -3
- data/set/type/skin.rb +0 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bc5cef6aed93e801b546766ccac8c49995cbc592889c7d9ee3682ee33f53319
|
4
|
+
data.tar.gz: a39c37321d39eb29d05e43f351632eae6930f3092fd859b98270f07244a7b984
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e997e4226f68b7a434354ebc3cee48dbe9a7f4d04f0aa361af7b49fdecd3afe983e5b7f44f4f33ec11cb1cab87befb8d563cf8e8d8fe655c644633f36161521a
|
7
|
+
data.tar.gz: 69251eef4560fbbd19f9df3b20cfa1babaa02c5a92fac570a73a8b6e3ca46d121851f8e2dc9c283cfb158af4244a211354ca37f9729f2faf846a899ef61a90de
|
@@ -40,7 +40,8 @@ $d-yellow-1: #ffd;
|
|
40
40
|
.editor .revision-navigation,
|
41
41
|
.editor .autosave-alert,
|
42
42
|
.hidden-alert,
|
43
|
-
.btn.
|
43
|
+
.btn._renamer-updater,
|
44
|
+
._rename-reference-confirm,
|
44
45
|
.confirm_update_all-view,
|
45
46
|
.follow-updater,
|
46
47
|
.admin-error-message {
|
@@ -1283,3 +1284,10 @@ body.right-sidebar, body.left-sidebar, body.two-sidebar {
|
|
1283
1284
|
border: 1px solid #DDD;
|
1284
1285
|
}
|
1285
1286
|
}
|
1287
|
+
|
1288
|
+
.rename-button-form-group {
|
1289
|
+
display: flex;
|
1290
|
+
.btn {
|
1291
|
+
margin-right: 1rem;
|
1292
|
+
}
|
1293
|
+
}
|
data/set/abstract/skin_box.rb
CHANGED
@@ -13,6 +13,7 @@ format :html do
|
|
13
13
|
|
14
14
|
def customize_button target: parent&.card, text: "Apply and customize"
|
15
15
|
return "" unless card.codename.present?
|
16
|
+
|
16
17
|
theme = card.codename.match(/^(?<theme_name>.+)_skin$/).capture(:theme_name)
|
17
18
|
link_to_card target, text,
|
18
19
|
path: { action: :update, card: { content: "[[#{card.name}]]" },
|
@@ -22,6 +23,7 @@ format :html do
|
|
22
23
|
|
23
24
|
view :box_middle do
|
24
25
|
return unless card.field(:image)
|
26
|
+
|
25
27
|
field_nest(:image, view: :full_width, size: :large)
|
26
28
|
end
|
27
29
|
|
data/set/type/css.rb
CHANGED
@@ -14,7 +14,7 @@ end
|
|
14
14
|
|
15
15
|
def compress_css input
|
16
16
|
compress_css? ? SassC::Engine.new(input, style: :compressed).render : input
|
17
|
-
rescue => e
|
17
|
+
rescue StandardError => e
|
18
18
|
raise Card::Error, css_compression_error(e)
|
19
19
|
end
|
20
20
|
|
@@ -35,7 +35,7 @@ def clean_html?
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def compress_css?
|
38
|
-
|
38
|
+
true
|
39
39
|
# !Rails.env.development?
|
40
40
|
end
|
41
41
|
|
@@ -44,7 +44,8 @@ format do
|
|
44
44
|
# :raw
|
45
45
|
# end
|
46
46
|
|
47
|
-
|
47
|
+
# turn off autodetection of uri's
|
48
|
+
def chunk_list
|
48
49
|
:references
|
49
50
|
end
|
50
51
|
end
|
data/set/type/skin.rb
CHANGED
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.11.
|
4
|
+
version: 0.11.5
|
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: 2021-05-
|
13
|
+
date: 2021-05-10 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.101.
|
21
|
+
version: 1.101.5
|
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.101.
|
28
|
+
version: 1.101.5
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: card-mod-machines
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.11.
|
35
|
+
version: 0.11.5
|
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.11.
|
42
|
+
version: 0.11.5
|
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.11.
|
49
|
+
version: 0.11.5
|
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.11.
|
56
|
+
version: 0.11.5
|
57
57
|
description: ''
|
58
58
|
email:
|
59
59
|
- info@decko.org
|