forked from OpenNeo/impress
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:
parent
9bc6be05f8
commit
3dbcf41e4f
2 changed files with 7 additions and 7 deletions
|
@ -84,14 +84,12 @@
|
||||||
a
|
a
|
||||||
color: inherit
|
color: inherit
|
||||||
|
|
||||||
a[title]
|
.owls-info-link
|
||||||
|
.owls-info-label
|
||||||
text-decoration-line: underline
|
text-decoration-line: underline
|
||||||
text-decoration-style: dotted
|
text-decoration-style: dotted
|
||||||
cursor: help
|
cursor: help
|
||||||
|
|
||||||
&:hover, &:focus
|
|
||||||
text-decoration-style: solid
|
|
||||||
|
|
||||||
/* For wearable items that belong to a specific set that all come together,
|
/* For wearable items that belong to a specific set that all come together,
|
||||||
* like a Paint Brush. */
|
* like a Paint Brush. */
|
||||||
&[data-group-type="bundle"]
|
&[data-group-type="bundle"]
|
||||||
|
|
|
@ -174,9 +174,11 @@
|
||||||
= render "item_list_row", item: do
|
= render "item_list_row", item: do
|
||||||
- content_for :subtitle, flush: true do
|
- content_for :subtitle, flush: true do
|
||||||
- if item.nc_trade_value.present?
|
- if item.nc_trade_value.present?
|
||||||
= link_to "Owls listing: #{item.nc_trade_value.value_text}",
|
= link_to "https://www.neopets.com/~owls",
|
||||||
"https://www.neopets.com/~owls", target: "_blank",
|
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!'
|
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",
|
= button_link_to "NC Trades",
|
||||||
item_trades_path(item, type: "offering"),
|
item_trades_path(item, type: "offering"),
|
||||||
|
|
Loading…
Reference in a new issue