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

51 lines
932 B
SCSS
Raw Normal View History

2016-07-28 05:50:35 +08:00
@import "../../stylesheets/variables/_all";
2016-05-03 06:42:54 +08:00
.container {
2018-04-10 02:28:54 +08:00
order: 1;
2016-05-03 06:42:54 +08:00
flex: 2;
2018-04-10 02:28:54 +08:00
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;
2018-04-10 02:28:54 +08:00
width: 100%;
}
.overlay {
flex: 1;
display: flex;
2017-05-19 03:58:21 +08:00
order: 1;
2018-04-10 02:28:54 +08:00
width: 100%;
}
.hideOverlay {
display: none;
}
$overlay-width: 20vw;
$overlay-min-width: 235px;
$overlay-max-width: 20vw;
$overlay-ratio: 16 / 9;
.floatingOverlay {
@include mq($medium-up) {
position: fixed;
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});
}
2016-05-03 06:42:54 +08:00
}