bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/media/styles.scss

46 lines
581 B
SCSS
Raw Normal View History

@import "imports/ui/stylesheets/variables/_all";
2016-05-03 06:42:54 +08:00
.container {
position: relative;
2016-05-03 06:42:54 +08:00
display: flex;
flex: 2;
2016-06-03 06:09:28 +08:00
overflow: hidden;
2016-05-03 06:42:54 +08:00
}
%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 {
2016-05-03 06:42:54 +08:00
position: absolute;
width: 30%;
2016-05-20 23:02:57 +08:00
right: 2%;
bottom: 2%;
@include mq($large-up) {
flex-basis: 15%;
}
}
.overlayRatio {
@extend %ratio;
}
.overlay {
@extend %ratio-item;
2016-05-03 06:42:54 +08:00
}