card-mod-format 0.15.4 → 0.15.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: cf6e6fdd2421f016543b0e057ff65b0acca25bd77a5c07ff25db37b5b3b28cac
4
- data.tar.gz: b09036f4382db0b2ec88f84e2218669e2124c4ce849eeef054e5ef8ca32c713f
3
+ metadata.gz: eed42f44802b87d1d1480b1df0357bacec75e195d15dd5653a93f9e85a9a0697
4
+ data.tar.gz: 109e7c1919c5d63afc90a6fcc6f033886a1a426e8197a7e36e9a416e4b575d70
5
5
  SHA512:
6
- metadata.gz: 9199e60a3870c643b9cd1eb03444eb17dd13568ec0a840dfc1254b46f802d8926df287aa2a16a08bcbbd1c3972ba51b5d99c544e130f49f8684c1c128d94602c
7
- data.tar.gz: 28979b59719fb64fb96ac357ef0663357742e1044f673164e21b4aad767470de2153dc8bafb35b0541fd8bfde77dd582ea5e4359bd971130621be558ee5d170c
6
+ metadata.gz: 35988d1034e41115e64ee6194b245a12dd2c9a53b95ffba28d0689b38106c3549ed47f8cba9e4e85acef5e4f3a37298bc9317e6a0b7ab97bdb71637439d69b30
7
+ data.tar.gz: af7b23c9f30543178abc7f9228a6786a3c6863e428b9bd90656371c1187fa0b12f4869118f8501f033f08727771c4e4cb7660e00bee83590ca39f82284b9285a
@@ -18,8 +18,14 @@
18
18
  font-size: 1.2em
19
19
  }
20
20
 
21
- .modal-menu a {
22
- color: $text-muted;
21
+ .modal-menu, .overlay-menu {
22
+ a {
23
+ color: $text-muted !important;
24
+ opacity: 0.6 !important;
25
+ &:hover {
26
+ opacity: 1 !important;
27
+ }
28
+ }
23
29
  }
24
30
 
25
31
 
data/set/all/html/menu.rb CHANGED
@@ -6,7 +6,7 @@ format :html do
6
6
  wrap_with :div, class: "card-menu #{menu_link_classes}" do
7
7
  [render_help_link,
8
8
  menu_link,
9
- (voo.show?(:bridge_link) ? bridge_link(in_modal: false) : nil)]
9
+ (voo.show?(:board_link) ? board_link(in_modal: false) : nil)]
10
10
  end
11
11
  end
12
12
 
@@ -15,7 +15,7 @@ format :html do
15
15
  when :inline
16
16
  edit_inline_link
17
17
  when :full
18
- edit_in_bridge_link
18
+ edit_in_board_link
19
19
  else # :standard
20
20
  edit_link
21
21
  end
@@ -49,15 +49,15 @@ format :html do
49
49
  full_page_link
50
50
  end
51
51
 
52
- view :bridge_link, unknown: true do
53
- bridge_link
52
+ view :board_link, unknown: true do
53
+ board_link
54
54
  end
55
55
 
56
- def bridge_link text: "", in_modal: true, confirm: false
57
- opts = { class: "bridge-link" }
56
+ def board_link text: "", in_modal: true, confirm: false
57
+ opts = { class: "board-link" }
58
58
  opts["data-slotter-mode"] = "modal-replace" if in_modal
59
59
  confirm_edit_loss opts if confirm
60
- link_to_view :bridge, "#{bridge_icon} #{text}", opts
60
+ link_to_view :board, "#{board_icon} #{text}", opts
61
61
  end
62
62
 
63
63
  # no caching because help_text view doesn't cache, and we can't have a
@@ -106,8 +106,8 @@ format :html do
106
106
  card
107
107
  end
108
108
 
109
- def edit_in_bridge_link opts={}
110
- edit_link :bridge, *opts
109
+ def edit_in_board_link opts={}
110
+ edit_link :board, *opts
111
111
  end
112
112
 
113
113
  def edit_link view=:edit, link_text: nil, text: "", modal: nil
@@ -141,7 +141,7 @@ format :html do
141
141
  icon_tag :modal
142
142
  end
143
143
 
144
- def bridge_icon
144
+ def board_icon
145
145
  icon_tag :board
146
146
  end
147
147
 
data/set/type/cardtype.rb CHANGED
@@ -68,8 +68,8 @@ format :html do
68
68
  voo.title ||= t(:format_configure_card, cardname: safe_name.pluralize)
69
69
  title = _render_title
70
70
  link_to_card card, title,
71
- path: { view: :bridge,
72
- bridge: { tab: :rules_tab },
71
+ path: { view: :board,
72
+ board: { tab: :rules_tab },
73
73
  set: Card::Name[safe_name, :type] },
74
74
  class: css_classes("configure-type-link ms-3", css_class)
75
75
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.4
4
+ version: 0.15.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: 2023-04-03 00:00:00.000000000 Z
13
+ date: 2023-04-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.105.4
21
+ version: 1.105.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.105.4
28
+ version: 1.105.5
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: card-mod-content
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.15.4
35
+ version: 0.15.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.15.4
42
+ version: 0.15.5
43
43
  description: ''
44
44
  email:
45
45
  - info@decko.org