bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/media/styles.scss
2016-05-20 12:02:57 -03:00

63 lines
778 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: 70%;
}
}
.contentRatio {
@extend %ratio;
}
.content {
@extend %ratio-item;
}
.overlayWrapper {
position: absolute;
width: 30%;
right: 2%;
bottom: 2%;
@include mq($large-up) {
flex-basis: 15%;
}
}
.overlayRatio {
@extend %ratio;
}
.overlay {
@extend %ratio-item;
}