Added anime links to soundtracks
This commit is contained in:
parent
1268356296
commit
ed82c71220
@ -6,11 +6,4 @@
|
||||
margin 0.25rem
|
||||
|
||||
.profile-watching-list-item-image
|
||||
width 55px !important
|
||||
height 78px !important
|
||||
border-radius 2px
|
||||
filter none
|
||||
transition filter transition-speed ease, opacity transition-speed ease
|
||||
|
||||
:hover
|
||||
filter saturate(1.3)
|
||||
anime-cover-image-mini
|
@ -14,6 +14,14 @@ component Track(track *arn.SoundTrack)
|
||||
.sound-track-media
|
||||
ExternalMedia(media)
|
||||
|
||||
.widget.mountable
|
||||
h3.widget-title Anime
|
||||
|
||||
.sound-track-anime-list
|
||||
each anime in track.Anime()
|
||||
a.sound-track-anime-list-item.ajax(href=anime.Link(), title=anime.Title.Canonical)
|
||||
img.sound-track-anime-list-item-image.lazy(data-src=anime.Image.Tiny, alt=anime.Title.Canonical)
|
||||
|
||||
.widget.mountable
|
||||
h3.widget-title Tags
|
||||
ul
|
||||
|
@ -3,4 +3,13 @@
|
||||
|
||||
.sound-track-media
|
||||
iframe
|
||||
width 100%
|
||||
width 100%
|
||||
|
||||
.sound-track-anime-list
|
||||
horizontal-wrap
|
||||
|
||||
.sound-track-anime-list-item
|
||||
//
|
||||
|
||||
.sound-track-anime-list-item-image
|
||||
anime-cover-image-mini
|
@ -42,6 +42,16 @@ mixin clip-long-text
|
||||
white-space nowrap
|
||||
text-overflow ellipsis
|
||||
|
||||
mixin anime-cover-image-mini
|
||||
width 55px !important
|
||||
height 78px !important
|
||||
border-radius 2px
|
||||
filter none
|
||||
transition filter transition-speed ease, opacity transition-speed ease
|
||||
|
||||
:hover
|
||||
filter saturate(1.3)
|
||||
|
||||
mixin bg-dark-up
|
||||
background-color transparent
|
||||
:hover
|
||||
|
Loading…
Reference in New Issue
Block a user