bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/media/styles.scss
2019-06-24 15:37:17 -03:00

126 lines
1.8 KiB
SCSS

@import "../../stylesheets/variables/_all";
@import "../../stylesheets/variables/video";
.container {
order: 1;
flex: 2;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column-reverse;
}
.content {
display: flex;
align-self: stretch;
flex: 3;
align-items: center;
justify-content: center;
overflow: auto;
width: 100%;
position: relative;
order: 2;
}
.overlay {
display: flex;
width: fit-content;
border: 0;
margin-top: 10px;
margin-bottom: 10px;
z-index: 2;
align-items: center;
max-height: var(--video-height);
min-height: var(--video-height);
}
.overlayRelative{
position: relative;
width: 100%;
}
.overlayAbsoluteSingle{
position: absolute;
}
.overlayAbsoluteMult{
position: absolute;
}
.overlayToTop {
order: 3;
}
.overlayToBottom {
order: 1;
}
.hideOverlay {
visibility: hidden;
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px; width: 1px;
margin: -1px; padding: 0; border: 0;
}
.floatingOverlay {
margin-top: 10px;
margin-bottom: 10px;
@include mq($medium-up) {
z-index: 999;
position: absolute;
bottom: 0;
right: 0;
width: fit-content;
min-width: calc(var(--video-height) * var(--video-ratio));
max-width: fit-content;
height: fit-content;
min-height: var(--video-height);
}
}
.hide {
display: none;
}
.show {
display: block;
}
.top {
top: 0;
}
.bottom {
bottom: 0;
}
.dragging {
opacity: .5;
}
.dropZoneTop,
.dropZoneBottom {
border: 1px dashed var(--color-gray-light);
position: absolute;
width: 100%;
z-index: 9999;
}
.dropZoneTop {
top: 0;
}
.dropZoneBottom {
bottom: 0;
}
.dropZoneBg {
position: absolute;
z-index: 99;
width: 100%;
background-color: rgba(255, 255, 255, .3);
}