1
0
Fork 0
forked from OpenNeo/impress

Don't color PB shop/trade buttons purple in Item Getting Guide

I think it's clearer to just keep the purple meaning "NC", and in
particular "bulk NC Mall purchase"
This commit is contained in:
Emi Matchu 2024-06-20 14:20:06 -07:00
parent 568c30fa90
commit 302c116c8f
2 changed files with 14 additions and 7 deletions

View file

@ -62,11 +62,6 @@
.thumbnail-cell img .thumbnail-cell img
outline: 1px solid $soft-border-color outline: 1px solid $soft-border-color
.actions-cell
button, a.button
/* Bootstrap's Purple 600 */
+awesome-button-color(#59359a)
tr[data-item-owned] tr[data-item-owned]
color: #aaa color: #aaa
@ -119,6 +114,12 @@
text-decoration-line: underline text-decoration-line: underline
text-decoration-style: dotted 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"] &[data-complexity="high"]
width: 70% width: 70%

View file

@ -21,7 +21,10 @@
%td.actions-cell %td.actions-cell
- if @items_needed[:nc_mall].present? - if @items_needed[:nc_mall].present?
%button{onclick: "alert('Todo!')"} %button{
onclick: "alert('Todo!')",
data: {"action-kind": "bulk-nc-mall"},
}
= cart_icon alt: "" = cart_icon alt: ""
Buy all in NC Mall Buy all in NC Mall
%tbody %tbody
@ -65,7 +68,10 @@
(~#{dyeworks_estimated_potions_cost_for @items_needed[:dyeworks]} NC) (~#{dyeworks_estimated_potions_cost_for @items_needed[:dyeworks]} NC)
%td.actions-cell %td.actions-cell
- if @items_needed[:dyeworks].present? - if @items_needed[:dyeworks].present?
%button{onclick: "alert('Todo!')"} %button{
onclick: "alert('Todo!')",
data: {"action-kind": "bulk-nc-mall"},
}
= cart_icon alt: "" = cart_icon alt: ""
Buy all in NC Mall Buy all in NC Mall
%tbody %tbody