Skip to content

Commit

Permalink
Merge pull request #2167 from tvdeyen/fix-action-button-hover
Browse files Browse the repository at this point in the history
Fix action button hover style
  • Loading branch information
tvdeyen authored Aug 18, 2017
2 parents d0d120e + a16a09a commit 2080515
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ table {
background-color: transparent;
border: 0 none;
padding: 0 !important;

&:hover {
background-color: transparent;
}
}

.fa-envelope-alt, .fa-eye-open {
Expand All @@ -69,7 +73,8 @@ table {
color: theme-color("warning");
}

.fa-edit:hover, .fa-capture:hover, .fa-ok:hover, .fa-plus:hover, .fa-save:hover {
.fa-edit:hover, .fa-capture:hover, .fa-ok:hover, .fa-plus:hover,
.fa-save:hover, .fa-arrows-h:hover, .fa-check:hover {
color: theme-color("success");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

<td class="cart-item-delete actions" data-hook="cart_item_delete">
<% if can? :update, item %>
<%= button_tag '', class: 'split-item icon_link fa fa-arrows-h no-text with-tip', data: { action: 'split', 'variant-id' => item.variant.id }, title: Spree.t('actions.split'), type: :button %>
<%= button_tag '', class: 'delete-item fa fa-trash no-text with-tip', data: { 'variant-id' => item.variant.id }, title: Spree.t('actions.delete'), type: :button %>
<%= button_tag '', class: 'split-item icon_link fa fa-arrows-h no-text with-tip', data: { action: 'edit', 'variant-id' => item.variant.id }, title: Spree.t('actions.split'), type: :button %>
<%= button_tag '', class: 'delete-item fa fa-trash no-text with-tip', data: { action: 'remove', 'variant-id' => item.variant.id }, title: Spree.t('actions.delete'), type: :button %>
<% end %>
</td>
</tr>
Expand Down

0 comments on commit 2080515

Please sign in to comment.