Compare commits

..

No commits in common. "92a512be260c9e4eae2c0e7494b448644b79a6e1" and "325200628cd4d1e41f328f2a842ad4eb460e7b50" have entirely different histories.

2 changed files with 10 additions and 10 deletions

View file

@ -20,10 +20,10 @@
.mj-cell-<%= v[:id] %> {
background-color: <%= v[:color] %> !important;
}
<% end %>
table:has(.mj-cell:hover) .mj-cell {
border-left-width: 2px;
border-right-width: 2px;
.mj-cell-<%= v[:id] %>:hover {
border-left-width: 1px;
border-right-width: 1px;
border-color: var(--bs-body-color);
}
}
<% end %>

View file

@ -57,7 +57,7 @@
<tr>
<% settings.values.reverse.each do |v| %>
<% (1..c.mj.count[v[:id]]).each do |r| %>
<td class="p-0 mj-cell mj-cell-<%= v[:id] %>">&nbsp;</td>
<td class="p-0 mj-cell-<%= v[:id] %>">&nbsp;</td>
<% end %>
<% end %>
</tr>
@ -108,7 +108,7 @@
<% (1..a.n).each do |i| %>
<td class="p-0 text-center <% unless i == a.majority %>opacity-0<% end %>">↓</td>
<% end %>
<th></th>
<th class="w-100"></th>
<% (1..b.n).each do |i| %>
<td class="p-0 text-center <% unless b.n - i + 1 == b.majority %>opacity-0<% end %>">↓</td>
<% end %>
@ -116,7 +116,7 @@
<tr>
<% settings.values.reverse.each do |v| %>
<% (1..a.count[v[:id]]).each do |r| %>
<td class="p-0 mj-cell mj-cell-<%= v[:id] %>">&nbsp;</td>
<td class="p-0 mj-cell-<%= v[:id] %>">&nbsp;</td>
<% end %>
<% end %>
<td class="p-0 text-center fw-bold">
@ -126,7 +126,7 @@
</td>
<% settings.values.each do |v| %>
<% (1..b.count[v[:id]]).each do |r| %>
<td class="p-0 mj-cell mj-cell-<%= v[:id] %>">&nbsp;</td>
<td class="p-0 mj-cell-<%= v[:id] %>">&nbsp;</td>
<% end %>
<% end %>
</tr>