bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/media/styles.scss
2016-05-03 17:40:46 -03:00

59 lines
725 B
SCSS

@import "imports/ui/stylesheets/variables/_all";
.container {
position: relative;
display: flex;
flex: 2;
align-items: center;
justify-content: center;
}
%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;
}
.contentWrapper {
flex-basis: 90%;
@include mq($large-up) {
flex-basis: 75%;
}
}
.contentRatio {
@extend %ratio;
}
.content {
@extend %ratio-item;
}
.overlayWrapper {
position: absolute;
width: 30%;
right: 5%;
bottom: 5%;
}
.overlayRatio {
@extend %ratio;
}
.overlay {
@extend %ratio-item;
}