Further improved design

This commit is contained in:
Eduard Urbach 2018-04-19 15:33:37 +02:00
parent fc493fc567
commit 7e040f7c44
4 changed files with 7 additions and 4 deletions

View File

@ -5,7 +5,7 @@ const amv-large-width = 854px
.amv
width 100%
margin calc(content-padding / 2) 0
margin 1rem 0
.video-container
box-shadow shadow-medium

View File

@ -73,6 +73,9 @@
.anime-soundtracks
vertical
.soundtrack
margin 1rem 0
.soundtrack-content
border-bottom-left-radius ui-element-border-radius !important
border-top-left-radius ui-element-border-radius !important
@ -87,7 +90,7 @@
.soundtrack
max-width 200px
padding 0.5rem
margin calc(content-padding / 2)
.soundtrack-content
min-height 112px

View File

@ -7,6 +7,6 @@ import (
// fetchAll returns all soundtracks
func fetchAll() []*arn.SoundTrack {
return arn.FilterSoundTracks(func(track *arn.SoundTrack) bool {
return !track.IsDraft && len(track.Media) > 0
return !track.IsDraft && track.File != ""
})
}

View File

@ -16,9 +16,9 @@ const soundtrack-margin = 1rem
.soundtrack-content
horizontal
border-radius ui-element-border-radius
box-shadow shadow-light
min-height 200px
border-radius ui-element-border-radius
overflow hidden
iframe