2016-07-28 05:50:35 +08:00
|
|
|
@import "../../stylesheets/variables/_all";
|
2019-05-28 06:06:52 +08:00
|
|
|
@import "../../stylesheets/variables/video";
|
2016-05-04 04:40:46 +08:00
|
|
|
|
2016-05-03 06:42:54 +08:00
|
|
|
.container {
|
2018-04-10 02:28:54 +08:00
|
|
|
order: 1;
|
2016-05-03 06:42:54 +08:00
|
|
|
flex: 2;
|
2018-04-10 02:28:54 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
align-self: stretch;
|
2019-04-24 04:23:32 +08:00
|
|
|
flex: 3;
|
2017-03-24 05:52:36 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
overflow: auto;
|
2018-04-10 02:28:54 +08:00
|
|
|
width: 100%;
|
2018-04-17 21:09:00 +08:00
|
|
|
position: relative;
|
2019-03-01 05:39:57 +08:00
|
|
|
order: 2;
|
2018-04-10 02:28:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.overlay {
|
|
|
|
display: flex;
|
2019-03-05 01:29:40 +08:00
|
|
|
width: 100%;
|
2019-03-01 05:39:57 +08:00
|
|
|
border: 0;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
2019-04-12 00:35:23 +08:00
|
|
|
z-index: 2;
|
2019-04-24 04:23:32 +08:00
|
|
|
align-items: center;
|
2019-05-28 06:06:52 +08:00
|
|
|
|
|
|
|
min-height: calc(var(--video-width) / var(--video-ratio));
|
2019-03-05 01:29:40 +08:00
|
|
|
}
|
2018-04-12 20:41:49 +08:00
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.overlayRelative{
|
|
|
|
position: relative;
|
|
|
|
}
|
2018-04-10 02:28:54 +08:00
|
|
|
|
2019-06-03 22:05:09 +08:00
|
|
|
.overlayAbsoluteSingle{
|
2019-03-05 01:29:40 +08:00
|
|
|
position: absolute;
|
2019-05-28 06:06:52 +08:00
|
|
|
height: calc(var(--video-width) / var(--video-ratio));
|
2019-03-05 01:29:40 +08:00
|
|
|
}
|
|
|
|
|
2019-06-03 22:05:09 +08:00
|
|
|
.overlayAbsoluteMult{
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.overlayToTop {
|
|
|
|
order: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlayToBottom {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hideOverlay {
|
2019-03-09 01:29:19 +08:00
|
|
|
visibility: hidden;
|
|
|
|
position: absolute;
|
|
|
|
overflow: hidden;
|
|
|
|
clip: rect(0 0 0 0);
|
|
|
|
height: 1px; width: 1px;
|
|
|
|
margin: -1px; padding: 0; border: 0;
|
2019-03-05 01:29:40 +08:00
|
|
|
}
|
2018-04-10 02:28:54 +08:00
|
|
|
|
|
|
|
.floatingOverlay {
|
2019-03-01 05:39:57 +08:00
|
|
|
margin: 10px;
|
2018-10-19 04:37:14 +08:00
|
|
|
|
2018-04-10 02:28:54 +08:00
|
|
|
@include mq($medium-up) {
|
2018-12-26 19:33:00 +08:00
|
|
|
z-index: 999;
|
2019-03-01 05:39:57 +08:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2019-05-28 06:06:52 +08:00
|
|
|
width: var(--video-width);
|
|
|
|
min-width: var(--video-width);
|
|
|
|
max-width: var(--video-max-width);
|
|
|
|
height: calc(var(--video-width) / var(--video-ratio));
|
|
|
|
min-height: calc(var(--video-width) / var(--video-ratio));
|
2018-04-10 02:28:54 +08:00
|
|
|
}
|
2016-05-03 06:42:54 +08:00
|
|
|
}
|
2019-03-01 05:39:57 +08:00
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.hide {
|
2019-03-01 05:39:57 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.show {
|
2019-03-01 05:39:57 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.top {
|
2019-03-01 05:39:57 +08:00
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.bottom {
|
2019-03-01 05:39:57 +08:00
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.dragging {
|
2019-03-01 05:39:57 +08:00
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropZoneTop,
|
2019-03-05 01:29:40 +08:00
|
|
|
.dropZoneBottom {
|
2019-03-01 05:39:57 +08:00
|
|
|
border: 1px dashed var(--color-gray-light);
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.dropZoneTop {
|
2019-03-01 05:39:57 +08:00
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.dropZoneBottom {
|
2019-03-01 05:39:57 +08:00
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.dropZoneBg {
|
2019-03-01 05:39:57 +08:00
|
|
|
position: absolute;
|
|
|
|
z-index: 99;
|
|
|
|
width: 100%;
|
2019-03-05 01:29:40 +08:00
|
|
|
background-color: rgba(255, 255, 255, .3);
|
2019-03-01 05:39:57 +08:00
|
|
|
}
|