2018-08-08 18:48:23 +00:00
|
|
|
/**
|
|
|
|
* CSS styles that are specific to the filmstrip that shows the thumbnail tiles.
|
|
|
|
*/
|
|
|
|
.tile-view {
|
2021-03-26 20:23:05 +00:00
|
|
|
.remote-videos {
|
2018-08-08 18:48:23 +00:00
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
2021-10-07 23:10:54 +00:00
|
|
|
overscroll-behavior: contain;
|
2018-08-08 18:48:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.filmstrip__videos .videocontainer {
|
|
|
|
&:not(.active-speaker),
|
|
|
|
&:hover:not(.active-speaker) {
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#remoteVideos {
|
|
|
|
/**
|
|
|
|
* Height is modified with an inline style in horizontal filmstrip mode
|
|
|
|
* so !important is used to override that.
|
|
|
|
*/
|
|
|
|
height: 100% !important;
|
|
|
|
width: 100%;
|
2021-03-26 20:23:05 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2021-07-22 06:37:44 +00:00
|
|
|
transition: margin-bottom .3s ease-in;
|
2018-08-08 18:48:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.filmstrip {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
left: 0;
|
2021-02-11 19:32:38 +00:00
|
|
|
position: absolute;
|
2018-08-08 18:48:23 +00:00
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
2020-03-09 11:54:54 +00:00
|
|
|
|
2021-07-22 06:37:44 +00:00
|
|
|
&.collapse {
|
|
|
|
#remoteVideos {
|
|
|
|
height: calc(100% - #{$newToolbarSizeMobile}) !important;
|
|
|
|
margin-bottom: $newToolbarSizeMobile;
|
|
|
|
}
|
|
|
|
|
|
|
|
.remote-videos {
|
|
|
|
// !important is needed here as overflow is set via element.style in a FixedSizeGrid.
|
|
|
|
overflow: hidden auto !important;
|
|
|
|
}
|
|
|
|
}
|
2018-08-08 18:48:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Regardless of the user setting, do not let the filmstrip be in a hidden
|
|
|
|
* state.
|
|
|
|
*/
|
|
|
|
.filmstrip__videos.hidden {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2022-03-11 00:27:37 +00:00
|
|
|
.filmstrip__videos.has-scroll {
|
|
|
|
padding-left: 7px;
|
|
|
|
}
|
|
|
|
|
2021-03-26 20:23:05 +00:00
|
|
|
.remote-videos {
|
2018-08-08 18:48:23 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
|
2021-03-26 20:23:05 +00:00
|
|
|
/**
|
|
|
|
* The size of the thumbnails should be set with javascript, based on
|
|
|
|
* desired column count and window width. The rows are created using flex
|
|
|
|
* and allowing the thumbnails to wrap.
|
|
|
|
*/
|
|
|
|
& > div {
|
|
|
|
align-content: center;
|
|
|
|
align-items: center;
|
2018-08-08 18:48:23 +00:00
|
|
|
box-sizing: border-box;
|
2021-03-26 20:23:05 +00:00
|
|
|
display: flex;
|
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
justify-content: center;
|
2018-08-08 18:48:23 +00:00
|
|
|
|
2021-03-26 20:23:05 +00:00
|
|
|
.videocontainer {
|
|
|
|
border: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
}
|
2018-08-08 18:48:23 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-23 12:06:43 +00:00
|
|
|
|
2021-03-26 20:23:05 +00:00
|
|
|
.shift-right .remote-videos > div {
|
2021-03-23 12:06:43 +00:00
|
|
|
/**
|
|
|
|
* Max-width corresponding to the ASPECT_RATIO_BREAKPOINT from features/filmstrip/constants,
|
|
|
|
* from which we subtract the chat size.
|
|
|
|
*/
|
|
|
|
@media only screen and (max-width: calc(500px + #{$sidebarWidth})) {
|
|
|
|
video {
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|