Restyle Owls link a bit in Item Getting Guide

I think it helps a bit to have only the label be dotted-underlined, to
hint that I'm offering help about what that *means*, but clear the way
for the value itself to be more visible and less cluttered.
This commit is contained in:
Emi Matchu 2024-06-09 15:22:21 -07:00
parent 9bc6be05f8
commit 3dbcf41e4f
2 changed files with 7 additions and 7 deletions

View file

@ -84,14 +84,12 @@
a
color: inherit
a[title]
.owls-info-link
.owls-info-label
text-decoration-line: underline
text-decoration-style: dotted
cursor: help
&:hover, &:focus
text-decoration-style: solid
/* For wearable items that belong to a specific set that all come together,
* like a Paint Brush. */
&[data-group-type="bundle"]

View file

@ -174,9 +174,11 @@
= render "item_list_row", item: do
- content_for :subtitle, flush: true do
- if item.nc_trade_value.present?
= link_to "Owls listing: #{item.nc_trade_value.value_text}",
"https://www.neopets.com/~owls", target: "_blank",
title: 'Owls keeps track of approximate "capsule" values of NC items for trading. Items with similar values can often be traded for one another. This is an estimate, not a rule!'
= link_to "https://www.neopets.com/~owls",
class: "owls-info-link", target: "_blank",
title: 'Owls keeps track of approximate "capsule" values of NC items for trading. Items with similar values can often be traded for one another. This is an estimate, not a rule!' do
%span.owls-info-label Owls listing:
#{item.nc_trade_value.value_text}
= button_link_to "NC Trades",
item_trades_path(item, type: "offering"),