bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/media/styles.scss
2018-04-12 09:41:49 -03:00

58 lines
1.0 KiB
SCSS

@import "../../stylesheets/variables/_all";
.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%;
}
.overlay {
flex: 1;
display: flex;
order: 1;
width: 100%;
padding: 0 5px 5px;
@include mq($medium-up) {
padding: 0 10px 10px;
}
}
.hideOverlay {
display: none;
}
$overlay-width: 20vw;
$overlay-min-width: 235px;
$overlay-max-width: 20vw;
$overlay-ratio: 16 / 9;
.floatingOverlay {
@include mq($medium-up) {
z-index: 1;
position: fixed;
margin: 0;
bottom: .8rem;
right: .8rem;
width: $overlay-width;
min-width: $overlay-min-width;
max-width: $overlay-max-width;
height: calc(#{$overlay-width} / #{$overlay-ratio});
min-height: calc(#{$overlay-min-width} / #{$overlay-ratio});
max-height: calc(#{$overlay-max-width} / #{$overlay-ratio});
}
}