2022-04-12 13:19:10 +00:00
|
|
|
.vertical-filmstrip, .stage-filmstrip {
|
|
|
|
span:not(.tile-view) .filmstrip {
|
|
|
|
&.hide-videos {
|
|
|
|
.remote-videos {
|
|
|
|
& > div {
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2021-03-26 20:23:05 +00:00
|
|
|
}
|
2018-06-25 21:44:05 +00:00
|
|
|
}
|
2018-06-25 21:16:06 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
/*
|
|
|
|
* Firefox sets flex items to min-height: auto and min-width: auto,
|
|
|
|
* preventing flex children from shrinking like they do on other browsers.
|
|
|
|
* Setting min-height and min-width 0 is a workaround for the issue so
|
|
|
|
* Firefox behaves like other browsers.
|
|
|
|
* https://bugzilla.mozilla.org/show_bug.cgi?id=1043520
|
2018-06-25 21:16:06 +00:00
|
|
|
*/
|
2022-04-12 13:19:10 +00:00
|
|
|
@mixin minHWAutoFix() {
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
2018-06-25 21:16:06 +00:00
|
|
|
}
|
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
@extend %align-right;
|
|
|
|
align-items: flex-end;
|
|
|
|
bottom: 0;
|
|
|
|
box-sizing: border-box;
|
2018-06-25 21:16:06 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
2022-04-12 13:19:10 +00:00
|
|
|
height: 100%;
|
2022-02-24 12:20:37 +00:00
|
|
|
width: 100%;
|
2022-04-12 13:19:10 +00:00
|
|
|
padding: 0;
|
|
|
|
/**
|
|
|
|
* fixed positioning is necessary for remote menus and tooltips to pop
|
|
|
|
* out of the scrolling filmstrip. AtlasKit dialogs and tooltips use
|
|
|
|
* a library called popper which will position its elements fixed if
|
|
|
|
* any parent is also fixed.
|
|
|
|
*/
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: $filmstripVideosZ;
|
2020-01-24 16:28:47 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
&.no-vertical-padding {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2020-01-24 16:28:47 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
/**
|
|
|
|
* Hide videos by making them slight to the right.
|
|
|
|
*/
|
|
|
|
.filmstrip__videos {
|
|
|
|
@extend %align-right;
|
|
|
|
bottom: 0;
|
|
|
|
padding: 0;
|
|
|
|
position:relative;
|
|
|
|
right: 0;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* An id selector is used to match id specificity with existing
|
|
|
|
* filmstrip styles.
|
|
|
|
*/
|
|
|
|
&#remoteVideos {
|
|
|
|
border: $thumbnailsBorder solid transparent;
|
|
|
|
padding-left: 0;
|
|
|
|
border-left: 0;
|
2020-01-24 16:28:47 +00:00
|
|
|
width: 100%;
|
2022-04-12 13:19:10 +00:00
|
|
|
height: 100%;
|
|
|
|
justify-content: center;
|
2022-04-04 18:57:58 +00:00
|
|
|
}
|
2020-01-24 16:28:47 +00:00
|
|
|
}
|
2022-04-04 18:57:58 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
/**
|
|
|
|
* Re-styles the local Video to better fit vertical filmstrip layout.
|
|
|
|
*/
|
|
|
|
#filmstripLocalVideo {
|
|
|
|
align-self: initial;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
height: auto;
|
|
|
|
justify-content: flex-start;
|
|
|
|
width: 100%;
|
2020-01-24 16:28:47 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
#filmstripLocalVideoThumbnail {
|
|
|
|
width: calc(100% - 15px);
|
2022-04-04 18:57:58 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
.videocontainer {
|
|
|
|
height: 0px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2022-04-04 18:57:58 +00:00
|
|
|
}
|
|
|
|
}
|
2018-06-25 21:16:06 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
#filmstripLocalScreenShare {
|
|
|
|
align-self: initial;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
height: auto;
|
|
|
|
justify-content: flex-start;
|
|
|
|
width: 100%;
|
2018-06-25 21:16:06 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
#filmstripLocalScreenShareThumbnail {
|
|
|
|
width: calc(100% - 15px);
|
2018-06-25 21:16:06 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
.videocontainer {
|
|
|
|
height: 0px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-06-25 21:44:05 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
/**
|
2022-07-14 07:10:08 +00:00
|
|
|
* Remove unnecessary padding that is normally used to prevent horizontal
|
2022-04-12 13:19:10 +00:00
|
|
|
* filmstrip from overlapping the left edge of the screen.
|
|
|
|
*/
|
|
|
|
#filmstripLocalVideo,
|
|
|
|
#filmstripLocalScreenShare,
|
|
|
|
.remote-videos {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-02-24 12:20:37 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
#remoteVideos {
|
|
|
|
@include minHWAutoFix();
|
2020-02-25 12:06:58 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2022-03-12 03:44:34 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
.resizable-filmstrip #remoteVideos .videocontainer {
|
|
|
|
border-left: 0;
|
|
|
|
margin: 0;
|
2022-03-12 03:44:34 +00:00
|
|
|
}
|
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
&.reduce-height {
|
|
|
|
height: calc(100% - calc(#{$newToolbarSizeWithPadding} + #{$scrollHeight}));
|
2022-03-12 03:44:34 +00:00
|
|
|
}
|
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
.filmstrip__videos.vertical-view-grid#remoteVideos {
|
|
|
|
align-items: 'center';
|
2022-03-12 03:44:34 +00:00
|
|
|
border: 0px;
|
2022-04-12 13:19:10 +00:00
|
|
|
padding-right: 7px;
|
2022-03-12 03:44:34 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
&.has-scroll {
|
|
|
|
padding-right: 0px;
|
|
|
|
}
|
2018-06-25 21:16:06 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
.remote-videos > div {
|
|
|
|
left: 0px; // fixes an issue on FF - the div is aligned to the right by default for some reason
|
|
|
|
}
|
2022-02-24 12:20:37 +00:00
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
.videocontainer {
|
|
|
|
border: 0px;
|
|
|
|
margin: 2px;
|
|
|
|
}
|
2018-06-25 21:16:06 +00:00
|
|
|
}
|
|
|
|
|
2022-04-12 13:19:10 +00:00
|
|
|
.remote-videos {
|
|
|
|
display: flex;
|
|
|
|
overscroll-behavior: contain;
|
|
|
|
|
|
|
|
&.height-transition {
|
|
|
|
transition: height .3s ease-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
position: absolute;
|
|
|
|
transition: opacity 1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-not-overflowing > div {
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
2020-01-24 16:28:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|