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
|
|
|
|
2019-11-01 05:11:26 +08:00
|
|
|
$content-order: 2;
|
|
|
|
$before-content-order: 1;
|
|
|
|
$after-content-order: 3;
|
|
|
|
|
|
|
|
.cursorGrab {
|
2019-07-10 07:11:48 +08:00
|
|
|
cursor: grab;
|
|
|
|
}
|
|
|
|
|
2019-11-01 05:11:26 +08:00
|
|
|
.cursorGrabbing {
|
2019-07-10 07:11:48 +08:00
|
|
|
cursor: grabbing;
|
|
|
|
}
|
|
|
|
|
2019-11-01 05:11:26 +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;
|
2019-11-05 03:57:29 +08:00
|
|
|
flex-direction: column;
|
2019-07-11 21:49:06 +08:00
|
|
|
overflow: hidden;
|
2018-04-10 02:28:54 +08:00
|
|
|
}
|
|
|
|
|
2019-11-06 05:42:35 +08:00
|
|
|
.container {
|
2019-11-26 00:38:00 +08:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.containerV {
|
2019-11-01 05:11:26 +08:00
|
|
|
@extend %container;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2019-11-26 00:38:00 +08:00
|
|
|
.containerH {
|
|
|
|
@extend %container;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
2018-04-10 02:28:54 +08:00
|
|
|
.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;
|
2019-07-13 06:18:09 +08:00
|
|
|
overflow: hidden;
|
2018-04-10 02:28:54 +08:00
|
|
|
width: 100%;
|
2018-04-17 21:09:00 +08:00
|
|
|
position: relative;
|
2019-11-01 05:11:26 +08:00
|
|
|
order: $content-order;
|
2018-04-10 02:28:54 +08:00
|
|
|
}
|
|
|
|
|
2019-07-10 07:11:48 +08:00
|
|
|
%overlay {
|
2018-04-10 02:28:54 +08:00
|
|
|
display: flex;
|
2019-03-01 05:39:57 +08:00
|
|
|
border: 0;
|
2019-04-12 00:35:23 +08:00
|
|
|
z-index: 2;
|
2019-04-24 04:23:32 +08:00
|
|
|
align-items: center;
|
2019-06-25 02:37:17 +08:00
|
|
|
min-height: var(--video-height);
|
2019-07-30 03:42:11 +08:00
|
|
|
max-height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: relative !important;
|
2019-07-10 07:11:48 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
2019-03-05 01:29:40 +08:00
|
|
|
}
|
|
|
|
|
2019-07-10 07:11:48 +08:00
|
|
|
.overlay {
|
|
|
|
@extend %overlay;
|
2019-06-03 22:05:09 +08:00
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.overlayToTop {
|
2019-11-01 05:11:26 +08:00
|
|
|
order: $before-content-order !important;
|
2019-03-05 01:29:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.overlayToBottom {
|
2019-11-01 05:11:26 +08:00
|
|
|
order: $after-content-order !important;
|
2019-03-05 01:29:40 +08:00
|
|
|
}
|
|
|
|
|
2019-11-26 00:38:00 +08:00
|
|
|
.overlayToRight {
|
|
|
|
order: 2 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlayToLeft {
|
|
|
|
order: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlayToBottom {
|
|
|
|
order: 2 !important;
|
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.hideOverlay {
|
2019-07-30 03:42:11 +08:00
|
|
|
visibility: hidden !important;
|
|
|
|
position: absolute !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
clip: rect(0 0 0 0) !important;
|
|
|
|
width: 1px !important;
|
|
|
|
height: 1px !important;
|
|
|
|
margin: -1px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
border: 0 !important;
|
2019-03-05 01:29:40 +08:00
|
|
|
}
|
2018-04-10 02:28:54 +08:00
|
|
|
|
|
|
|
.floatingOverlay {
|
2019-07-10 07:11:48 +08:00
|
|
|
@extend %overlay;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2018-10-19 04:37:14 +08:00
|
|
|
|
2019-07-11 21:49:06 +08:00
|
|
|
z-index: 2;
|
2019-07-30 03:42:11 +08:00
|
|
|
position: absolute !important;
|
|
|
|
min-width: calc(var(--video-height) * var(--video-ratio)) !important;
|
|
|
|
min-height: var(--video-height) !important;
|
2016-05-03 06:42:54 +08:00
|
|
|
}
|
2019-03-01 05:39:57 +08:00
|
|
|
|
2019-09-18 02:25:28 +08:00
|
|
|
.autoWidth {
|
2019-09-11 03:41:11 +08:00
|
|
|
min-width: calc(var(--video-height) * var(--video-ratio)) !important;
|
2019-09-18 02:25:28 +08:00
|
|
|
max-width: 100%;
|
2019-03-01 05:39:57 +08:00
|
|
|
}
|
|
|
|
|
2019-11-01 05:11:26 +08:00
|
|
|
.fullWidth {
|
2019-07-30 03:42:11 +08:00
|
|
|
width: 100% !important;
|
2019-09-11 03:41:11 +08:00
|
|
|
min-width: 100% !important;
|
2019-09-18 02:25:28 +08:00
|
|
|
max-width: 100%;
|
2019-03-01 05:39:57 +08:00
|
|
|
}
|
|
|
|
|
2019-11-26 00:38:00 +08:00
|
|
|
.fullHeight {
|
|
|
|
height: 100% !important;
|
|
|
|
min-height: 100% !important;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
|
2019-07-10 07:11:48 +08:00
|
|
|
.hide {
|
|
|
|
display: none;
|
2019-03-01 05:39:57 +08:00
|
|
|
}
|
|
|
|
|
2019-07-10 07:11:48 +08:00
|
|
|
.show {
|
|
|
|
display: block;
|
2019-03-01 05:39:57 +08:00
|
|
|
}
|
|
|
|
|
2019-03-05 01:29:40 +08:00
|
|
|
.dragging {
|
2019-07-30 03:42:11 +08:00
|
|
|
opacity: .5 !important;
|
2019-03-01 05:39:57 +08:00
|
|
|
}
|
|
|
|
|
2019-11-01 05:11:26 +08:00
|
|
|
%dropZone {
|
2019-03-01 05:39:57 +08:00
|
|
|
border: 1px dashed var(--color-gray-light);
|
|
|
|
position: absolute;
|
2019-11-02 02:24:18 +08:00
|
|
|
z-index: 9999;
|
2019-11-01 05:11:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
%dropZoneTopBottom {
|
|
|
|
@extend %dropZone;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
%dropZoneBg {
|
|
|
|
z-index: 99;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-11-01 05:11:26 +08:00
|
|
|
}
|
|
|
|
|
2019-09-11 03:41:11 +08:00
|
|
|
%dropZoneBgTopBottom {
|
2019-07-10 07:11:48 +08:00
|
|
|
z-index: 99;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-09-11 03:41:11 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(255, 255, 255, .3);
|
|
|
|
}
|
2019-03-01 05:39:57 +08:00
|
|
|
}
|
|
|
|
|
2019-09-11 03:41:11 +08:00
|
|
|
.dropZoneTop {
|
|
|
|
@extend %dropZoneTopBottom;
|
2019-09-11 03:41:11 +08:00
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2019-11-26 00:38:00 +08:00
|
|
|
.dropZoneLeft {
|
|
|
|
@extend %dropZone;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2019-09-11 03:41:11 +08:00
|
|
|
.dropZoneBottom {
|
|
|
|
@extend %dropZoneTopBottom;
|
2019-09-11 03:41:11 +08:00
|
|
|
bottom: 0;
|
2019-07-30 03:42:11 +08:00
|
|
|
}
|
|
|
|
|
2019-11-26 00:38:00 +08:00
|
|
|
.dropZoneRight {
|
|
|
|
@extend %dropZone;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2019-09-11 03:41:11 +08:00
|
|
|
.dropZoneBgTop {
|
2019-11-01 05:11:26 +08:00
|
|
|
@extend %dropZoneBg;
|
2019-09-11 03:41:11 +08:00
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2019-11-26 00:38:00 +08:00
|
|
|
.dropZoneBgLeft {
|
|
|
|
@extend %dropZoneBg;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2019-09-11 03:41:11 +08:00
|
|
|
.dropZoneBgBottom {
|
2019-11-01 05:11:26 +08:00
|
|
|
@extend %dropZoneBg;
|
2019-09-11 03:41:11 +08:00
|
|
|
bottom: 0;
|
2019-07-30 03:42:11 +08:00
|
|
|
}
|
|
|
|
|
2019-11-26 00:38:00 +08:00
|
|
|
.dropZoneBgRight {
|
|
|
|
@extend %dropZoneBg;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2019-11-01 05:11:26 +08:00
|
|
|
.resizable {
|
2019-07-30 03:42:11 +08:00
|
|
|
width: 100% !important;
|
2019-09-18 02:25:28 +08:00
|
|
|
}
|
|
|
|
|
2019-11-01 05:11:26 +08:00
|
|
|
span[class^=resizeWrapper] {
|
|
|
|
div {
|
2019-09-18 02:25:28 +08:00
|
|
|
height: 15px !important;
|
|
|
|
z-index: 1;
|
|
|
|
bottom: -10px !important;
|
|
|
|
}
|
2019-07-10 07:11:48 +08:00
|
|
|
}
|