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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea8ace75fb8a4ac5c289ec0e3ca30a7c442ff7bfd441cfc29bfd1f7c813691ca
4
- data.tar.gz: 84d27400402f2e1fd90a56e7a0a2398bd78b3f41eb581e5d60196e961e58bbca
3
+ metadata.gz: 7bc5cef6aed93e801b546766ccac8c49995cbc592889c7d9ee3682ee33f53319
4
+ data.tar.gz: a39c37321d39eb29d05e43f351632eae6930f3092fd859b98270f07244a7b984
5
5
  SHA512:
6
- metadata.gz: c78ad5294d868dfa0d262105f31474700965c7529f7fabfeafad50ef490a91b649e0c7899c1d8b0c7890a14447e20e6a7ddafa28666b2137347ea1832379d732
7
- data.tar.gz: d9a85022f647ecdd992ef5750b98081186865e2f5f2c81926ce742f53c03bfdb732827f1cb0fea88125a799d195ceb58854fd14942cf9f1299c72c8c1a364ae0
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.renamer-updater,
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
+ }
@@ -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
- return true
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
- def chunk_list # turn off autodetection of uri's
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
@@ -7,4 +7,3 @@ def machine_input
7
7
  # not the skin card itself
8
8
  ""
9
9
  end
10
-
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
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-05 00:00:00.000000000 Z
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.4
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.4
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.4
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.4
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.4
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.4
56
+ version: 0.11.5
57
57
  description: ''
58
58
  email:
59
59
  - info@decko.org