bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/media/styles.scss

134 lines
1.8 KiB
SCSS
Raw Normal View History

2016-07-28 05:50:35 +08:00
@import "../../stylesheets/variables/_all";
2019-05-28 06:06:52 +08:00
@import "../../stylesheets/variables/video";
2019-07-10 07:11:48 +08:00
.cursorGrab{
cursor: grab;
}
.cursorGrabbing{
cursor: grabbing;
}
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;
2019-07-11 21:49:06 +08:00
overflow: hidden;
2018-04-10 02:28:54 +08:00
}
.content {
display: flex;
align-self: stretch;
flex: 3;
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%;
position: relative;
2019-03-01 05:39:57 +08:00
order: 2;
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;
align-items: center;
2019-06-20 04:55:43 +08:00
max-height: var(--video-height);
min-height: var(--video-height);
2019-06-25 23:40:57 +08:00
overflow: hidden;
2019-03-05 01:29:40 +08:00
position: relative;
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-03-05 01:29:40 +08:00
.overlayToTop {
order: 3;
}
.overlayToBottom {
order: 1;
}
.hideOverlay {
visibility: hidden;
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
2019-07-10 07:11:48 +08:00
width: 1px;
height: 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-07-10 07:11:48 +08:00
@extend %overlay;
top: 0;
left: 0;
2019-07-11 21:49:06 +08:00
z-index: 2;
position: absolute;
min-width: calc(var(--video-height) * var(--video-ratio));
min-height: var(--video-height);
2016-05-03 06:42:54 +08:00
}
2019-03-01 05:39:57 +08:00
2019-07-10 07:11:48 +08:00
.fit {
width: fit-content;
height: fit-content;
max-width: fit-content;
2019-03-01 05:39:57 +08:00
}
2019-07-10 07:11:48 +08:00
.full {
min-width: 100%;
width: 100%;
max-width: 100%;
2019-03-01 05:39:57 +08:00
}
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-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-07-10 07:11:48 +08:00
.dropZoneBgTop,
.dropZoneBgBottom {
z-index: 99;
width: 100%;
height: 100%;
}
.dropZoneTop,
.dropZoneBgTop {
2019-03-01 05:39:57 +08:00
top: 0;
}
2019-07-10 07:11:48 +08:00
.dropZoneBottom,
.dropZoneBgBottom {
2019-03-01 05:39:57 +08:00
bottom: 0;
}
2019-07-10 07:11:48 +08:00
.dropZoneTop:hover .dropZoneBgTop,
.dropZoneBottom:hover .dropZoneBgBottom {
2019-03-05 01:29:40 +08:00
background-color: rgba(255, 255, 255, .3);
2019-07-10 07:11:48 +08:00
}