Only load videojs when there are sources, and minor style tweaks

This commit is contained in:
2017-02-02 18:05:30 +01:00
parent b8ad0cd18f
commit 1e56ca5227
3 changed files with 18 additions and 13 deletions

View File

@@ -1031,23 +1031,26 @@ section.node-preview
&.video
background-color: black
min-height: 350px
min-height: 320px
position: relative
.video-dummy
img
display: block
margin: 0 auto
position: absolute
z-index: 1
opacity: .6
min-height: 320px
display: flex
width: 100%
align-items: center
justify-content: center
color: white
background:
repeat: no-repeat
size: cover
position: center
height: 100%
&-content
background-color: rgba(black, .8)
padding: 15px
border-radius: 3px
position: relative
z-index: 2
display: flex
@@ -1068,6 +1071,7 @@ section.node-preview
em
font-style: normal
color: $color-warning
margin-right: 10px
&.group, &.project
background-color: $color-background