diff --git a/app/assets/stylesheets/items/sources.sass b/app/assets/stylesheets/items/sources.sass index d348ebe7..1927b5b4 100644 --- a/app/assets/stylesheets/items/sources.sass +++ b/app/assets/stylesheets/items/sources.sass @@ -62,11 +62,6 @@ .thumbnail-cell img outline: 1px solid $soft-border-color - .actions-cell - button, a.button - /* Bootstrap's Purple 600 */ - +awesome-button-color(#59359a) - tr[data-item-owned] color: #aaa @@ -119,6 +114,12 @@ text-decoration-line: underline text-decoration-style: dotted + .actions-cell + button, a.button + &[data-action-kind=bulk-nc-mall] + /* Bootstrap's Purple 600 */ + +awesome-button-color(#59359a) + &[data-complexity="high"] width: 70% diff --git a/app/views/items/sources.html.haml b/app/views/items/sources.html.haml index d16ae107..4ac4bde0 100644 --- a/app/views/items/sources.html.haml +++ b/app/views/items/sources.html.haml @@ -21,7 +21,10 @@ %td.actions-cell - if @items_needed[:nc_mall].present? - %button{onclick: "alert('Todo!')"} + %button{ + onclick: "alert('Todo!')", + data: {"action-kind": "bulk-nc-mall"}, + } = cart_icon alt: "" Buy all in NC Mall %tbody @@ -65,7 +68,10 @@ (~#{dyeworks_estimated_potions_cost_for @items_needed[:dyeworks]} NC) %td.actions-cell - if @items_needed[:dyeworks].present? - %button{onclick: "alert('Todo!')"} + %button{ + onclick: "alert('Todo!')", + data: {"action-kind": "bulk-nc-mall"}, + } = cart_icon alt: "" Buy all in NC Mall %tbody