bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/media/styles.scss
Oleksandr Zhurbenko 251bd22738 PR review fixes
2017-09-06 12:36:52 -07:00

49 lines
636 B
SCSS

@import "../../stylesheets/variables/_all";
.container {
position: relative;
display: flex;
flex: 2;
align-items: center;
justify-content: center;
overflow: auto;
order: 1;
}
%ratio {
position: relative;
display: block;
height: 0;
padding: 0;
padding-bottom: calc(100% * 9 / 16);
}
%ratio-item {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
.overlayWrapper {
position: absolute;
width: 30%;
right: 2%;
bottom: 2%;
@include mq($large-up) {
flex-basis: 15%;
}
}
.overlayRatio {
@extend %ratio;
}
.overlay {
@extend %ratio-item;
}