Removed old icon references

This commit is contained in:
Eduard Urbach 2019-08-30 16:22:08 +09:00
parent d974156d68
commit bbd0b57f0b
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
8 changed files with 8 additions and 18 deletions

View File

@ -60,6 +60,5 @@ const sidebar-spacing-y = 0.7rem
padding sidebar-spacing-y 1rem padding sidebar-spacing-y 1rem
// background ui-background // background ui-background
.icon .padded-icon
font-size 1rem
margin-right 0.75rem margin-right 0.75rem

View File

@ -10,7 +10,7 @@ component Inventory(inventory *arn.Inventory, viewUser *arn.User, user *arn.User
else else
.inventory-slot.tip.mountable(aria-label=slot.Item().Name, draggable="true", data-index=index, data-item-id=slot.ItemID, data-consumable=slot.Item().Consumable) .inventory-slot.tip.mountable(aria-label=slot.Item().Name, draggable="true", data-index=index, data-item-id=slot.ItemID, data-consumable=slot.Item().Consumable)
.shop-item-icon .shop-item-icon
Icon(slot.Item().Icon) RawIcon(slot.Item().Icon)
if slot.Quantity > 1 if slot.Quantity > 1
.inventory-slot-quantity= slot.Quantity .inventory-slot-quantity= slot.Quantity

View File

@ -25,8 +25,7 @@ const inventory-slot-size = 64px
.shop-item-icon .shop-item-icon
animation hover-item 1s infinite ease-in-out animation hover-item 1s infinite ease-in-out
.icon svg-icon
margin 0
pointer-events none pointer-events none
// [data-item-id="pro-account-3"] // [data-item-id="pro-account-3"]

View File

@ -174,7 +174,7 @@ component ProfileTags(viewUser *arn.User, animeList *arn.AnimeList, user *arn.Us
if viewUser.IsPro() if viewUser.IsPro()
a.profile-tag.mountable.never-unmount(href="/support", aria-label="Supporter", data-mountable-type="header") a.profile-tag.mountable.never-unmount(href="/support", aria-label="Supporter", data-mountable-type="header")
Icon("star") Icon("star")
span.profile-pro-status-text PRO span PRO
if viewUser.Role != "" if viewUser.Role != ""
a.profile-tag.mountable.never-unmount(href="/users/staff", aria-label="Staff member", data-mountable-type="header") a.profile-tag.mountable.never-unmount(href="/users/staff", aria-label="Staff member", data-mountable-type="header")

View File

@ -22,13 +22,6 @@ const profile-image-size = 280px
margin-bottom 0.5rem margin-bottom 0.5rem
text-shadow none !important text-shadow none !important
.profile-pro-status
margin-top calc(typography-margin * 2)
.icon
color pro-color
animation sk-pulse 1.5s infinite linear
.profile-columns .profile-columns
vertical vertical

View File

@ -88,9 +88,11 @@ const item-color-anime-support-ticket = hsl(217, 64%, 50%)
margin-bottom 1rem margin-bottom 1rem
.pro-benefit .pro-benefit
horizontal
align-items center
list-style-type none list-style-type none
font-size 1.2rem font-size 1.2rem
line-height 1.6em line-height 1.6em
.icon svg-icon
color like-color color like-color

View File

@ -64,8 +64,5 @@ mixin corner-buttons
display none display none
.corner-buttons .corner-buttons
.icon
margin-right 0
span span
display none display none

View File

@ -31,7 +31,7 @@
< 920px < 920px
.tab .tab
.icon .padded-icon
margin-right 0 margin-right 0
.tab-text .tab-text