synchronous updateSource logic

This commit is contained in:
Lachlan Kermode
2018-12-17 17:05:07 +00:00
parent 795acac7ca
commit c10b741325
7 changed files with 295 additions and 50 deletions

View File

@@ -7,6 +7,7 @@
@import 'header';
@import 'cardstack';
@import 'narrativecard';
@import 'mediaoverlay';
@import 'map';
@import 'timeline';
@import 'tag-filters';

View File

@@ -0,0 +1,51 @@
$vimeo-height: 800px;
$vimeo-width: 1000px;
.mo-overlay {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(230, 230, 230, 0.5);
z-index: 20;
}
.mo-container {
background-color: transparent;
max-width: 80vw;
min-width: 80vw;
max-height: 90vh;
min-height: 90vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.mo-controls, .mo-media-container {
flex: 1;
display: flex;
justify-content: center;
}
}
.mo-media-container {
max-height: $vimeo-height;
}
.mo-controls {
color: white;
width: $vimeo-width;
background-color: black;
}
.vimeo-iframe {
min-height: $vimeo-height;
max-height: $vimeo-height;
min-width: $vimeo-width;
max-width: $vimeo-width;
border: none;
}