Added anime links to soundtracks

This commit is contained in:
Eduard Urbach 2017-10-16 01:26:41 +02:00
parent 1268356296
commit ed82c71220
4 changed files with 29 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -4,3 +4,12 @@
.sound-track-media
iframe
width 100%
.sound-track-anime-list
horizontal-wrap
.sound-track-anime-list-item
//
.sound-track-anime-list-item-image
anime-cover-image-mini

View File

@ -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