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 .amv
width 100% width 100%
margin calc(content-padding / 2) 0 margin 1rem 0
.video-container .video-container
box-shadow shadow-medium box-shadow shadow-medium

View File

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

View File

@ -7,6 +7,6 @@ import (
// fetchAll returns all soundtracks // fetchAll returns all soundtracks
func fetchAll() []*arn.SoundTrack { func fetchAll() []*arn.SoundTrack {
return arn.FilterSoundTracks(func(track *arn.SoundTrack) bool { 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 .soundtrack-content
horizontal horizontal
border-radius ui-element-border-radius
box-shadow shadow-light box-shadow shadow-light
min-height 200px min-height 200px
border-radius ui-element-border-radius
overflow hidden overflow hidden
iframe iframe