jiti-meet/css/_filmstrip.scss

121 lines
3.2 KiB
SCSS
Raw Normal View History

2016-11-03 15:07:48 +00:00
%align-right {
@include flex();
flex-direction: row-reverse;
flex-wrap: nowrap;
justify-content: flex-start;
}
2016-11-03 14:18:28 +00:00
.filmstrip {
2016-11-03 15:07:48 +00:00
position: absolute;
bottom: 0;
right: 0;
2016-11-03 15:54:23 +00:00
padding: 10px 5px;
2016-11-03 15:07:48 +00:00
@extend %align-right;
&__toolbar {
2016-11-03 14:18:28 +00:00
@include flex();
2016-11-03 15:07:48 +00:00
flex-direction: column-reverse;
2016-11-03 14:18:28 +00:00
flex-wrap: nowrap;
2016-11-03 15:07:48 +00:00
position: relative;
z-index: 1; // Set z-index to make element visible
2016-11-11 16:52:36 +00:00
width: $hideFilmstripButtonWidth;
2016-11-03 15:07:48 +00:00
button {
font-size: 14px;
line-height: 1.2;
text-align: center;
background: transparent;
opacity: 0.7;
height: auto;
width: 100%;
padding: 0;
2016-11-03 15:54:23 +00:00
margin: 0;
2016-11-03 15:07:48 +00:00
border: none;
outline: none;
-webkit-appearance: none;
&:hover {
opacity: 1;
}
i {
cursor: pointer;
}
}
}
2016-11-03 14:18:28 +00:00
2016-11-03 15:07:48 +00:00
&__videos {
@extend %align-right;
position:relative;
2016-11-03 14:18:28 +00:00
height:196px;
2016-11-03 15:07:48 +00:00
padding: 0;
2016-11-04 16:13:57 +00:00
padding-left: 17px;
2016-11-03 14:18:28 +00:00
bottom: 0;
width:auto;
2016-11-11 16:52:36 +00:00
border: $thumbnailsBorder solid transparent;
2016-11-03 14:18:28 +00:00
z-index: 5;
transition: bottom 2s;
overflow: visible !important;
font-size: 0pt; /*!!!Removes the gap between the local video container and the remote videos.*/
&.hidden {
bottom: -196px;
}
.videocontainer {
display: none;
position: relative;
background-size: contain;
2016-11-11 16:52:36 +00:00
border: $thumbnailVideoBorder solid transparent;
2016-11-03 14:18:28 +00:00
border-radius:1px;
margin: 0 $thumbnailVideoMargin;
&.videoContainerFocused, &:hover {
cursor: hand;
}
/**
* Focused video thumbnail.
*/
&.videoContainerFocused {
transition-duration: 0.5s;
-webkit-transition-duration: 0.5s;
-webkit-animation-name: greyPulse;
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: 1;
2016-11-11 16:52:36 +00:00
border: $thumbnailVideoBorder solid $videoThumbnailSelected !important;
2016-11-03 14:18:28 +00:00
box-shadow: inset 0 0 3px $videoThumbnailSelected,
0 0 3px $videoThumbnailSelected !important;
}
2016-11-03 19:42:23 +00:00
.remotevideomenu {
display: none;
}
2016-11-03 14:18:28 +00:00
/**
* Hovered video thumbnail.
*/
&:hover {
cursor: hand;
2016-11-11 16:52:36 +00:00
border: $thumbnailVideoBorder solid $videoThumbnailHovered;
2016-11-03 14:18:28 +00:00
box-shadow: inset 0 0 3px $videoThumbnailHovered,
0 0 3px $videoThumbnailHovered;
2016-11-03 19:42:23 +00:00
.remotevideomenu {
display: inline-block;
}
2016-11-03 14:18:28 +00:00
}
/* With TemasysWebRTC plugin <object/> element is used
instead of <video/> */
& > video,
& > object {
cursor: hand;
border-radius:1px;
object-fit: cover;
overflow: hidden;
}
}
}
}