550 lines
11 KiB
SCSS
550 lines
11 KiB
SCSS
#videospace {
|
|
display: block;
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#remoteVideos {
|
|
display: -webkit-box;
|
|
display: -moz-box;
|
|
display: -ms-flexbox;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
flex-wrap: nowrap;
|
|
justify-content: flex-start;
|
|
|
|
position:absolute;
|
|
text-align:right;
|
|
height:196px;
|
|
padding: 10px 10px 10px 5px;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width:auto;
|
|
border:1px solid transparent;
|
|
z-index: 5;
|
|
transition: bottom 2s;
|
|
overflow: visible !important;
|
|
font-size: 0pt; /*!!!Removes the gap between the local video container and the remote videos.*/
|
|
}
|
|
|
|
#remotevideos.hidden {
|
|
bottom: -196px;
|
|
}
|
|
|
|
.videocontainer {
|
|
position: relative;
|
|
text-align: center;
|
|
}
|
|
|
|
#remoteVideos .videocontainer {
|
|
display: none;
|
|
position: relative;
|
|
background-color: black;
|
|
background-size: contain;
|
|
border-radius:1px;
|
|
margin: 0 $thumbnailVideoMargin;
|
|
border: 1px solid $defaultDarkColor;
|
|
}
|
|
|
|
/**
|
|
* The toolbar of the video thumbnail.
|
|
*/
|
|
.videocontainer__toolbar {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
width: 100%;
|
|
box-sizing: border-box; // Includes the padding in the 100% width.
|
|
height: $thumbnailToolbarHeight;
|
|
max-height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
padding: 0 5px 0 5px;
|
|
}
|
|
|
|
/**
|
|
* Focused video thumbnail.
|
|
*/
|
|
#remoteVideos .videocontainer.videoContainerFocused {
|
|
cursor: hand;
|
|
transition-duration: 0.5s;
|
|
-webkit-transition-duration: 0.5s;
|
|
-webkit-animation-name: greyPulse;
|
|
-webkit-animation-duration: 2s;
|
|
-webkit-animation-iteration-count: 1;
|
|
border: 1px solid $videoThumbnailSelected;
|
|
}
|
|
|
|
#remoteVideos .videocontainer:hover,
|
|
#remoteVideos .videocontainer.videoContainerFocused:hover {
|
|
border: 1px solid $videoThumbnailHovered;
|
|
}
|
|
|
|
#localVideoWrapper {
|
|
display:inline-block;
|
|
}
|
|
|
|
/* With TemasysWebRTC plugin <object/> element is used
|
|
instead of <video/> */
|
|
#remoteVideos .videocontainer>video,
|
|
#remoteVideos .videocontainer>object {
|
|
cursor: hand;
|
|
border-radius:1px;
|
|
object-fit: cover;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.flipVideoX {
|
|
transform: scale(-1, 1);
|
|
-moz-transform: scale(-1, 1);
|
|
-webkit-transform: scale(-1, 1);
|
|
-o-transform: scale(-1, 1);
|
|
}
|
|
|
|
#localVideoWrapper>video,
|
|
#localVideoWrapper>object {
|
|
cursor: hand;
|
|
border-radius:1px !important;
|
|
object-fit: cover;
|
|
}
|
|
|
|
#largeVideo,
|
|
#largeVideoWrapper,
|
|
#largeVideoContainer {
|
|
overflow: hidden;
|
|
text-align: center;
|
|
}
|
|
|
|
#largeVideo,
|
|
#largeVideoWrapper
|
|
{
|
|
object-fit: cover;
|
|
}
|
|
|
|
#sharedVideo,
|
|
#etherpad,
|
|
#localVideoWrapper>video,
|
|
#localVideoWrapper>object,
|
|
#localVideoWrapper,
|
|
#largeVideoWrapper,
|
|
#largeVideoWrapper>video,
|
|
#largeVideoWrapper>object,
|
|
.videocontainer>video,
|
|
.videocontainer>object {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#etherpad {
|
|
text-align: center;
|
|
}
|
|
|
|
#etherpad {
|
|
z-index: 0;
|
|
}
|
|
|
|
/**
|
|
* Positions video thumbnail display name and editor.
|
|
*/
|
|
.videocontainer .displayname,
|
|
.videocontainer .editdisplayname {
|
|
display: inline-block;
|
|
position: absolute;
|
|
left: 30%;
|
|
width: 40%;
|
|
color: $participantNameColor;
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
font-size: 12px;
|
|
font-weight: 100;
|
|
letter-spacing: 1px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
line-height: $thumbnailToolbarHeight;
|
|
z-index: 2;
|
|
}
|
|
|
|
/**
|
|
* Positions video thumbnail display name editor.
|
|
*/
|
|
.videocontainer .editdisplayname {
|
|
outline: none;
|
|
border: none;
|
|
background: none;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.videocontainer>span.status {
|
|
display: inline-block;
|
|
position: absolute;
|
|
color: #FFFFFF;
|
|
background: rgba(0,0,0,.7);
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
width: 70%;
|
|
height: 15%;
|
|
left: 15%;
|
|
bottom: 2%;
|
|
padding: 5px;
|
|
font-size: 10pt;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
z-index: 2;
|
|
border-radius:3px;
|
|
}
|
|
|
|
.connectionindicator
|
|
{
|
|
display: inline-block;
|
|
position: absolute;
|
|
top: 7px;
|
|
right: 0;
|
|
padding: 0px 5px;
|
|
z-index: 3;
|
|
width: 18px;
|
|
height: 13px;
|
|
}
|
|
|
|
.connection.connection_empty
|
|
{
|
|
color: #8B8B8B;/*#FFFFFF*/
|
|
overflow: hidden;
|
|
}
|
|
|
|
.connection.connection_lost
|
|
{
|
|
color: #8B8B8B;
|
|
overflow: visible;
|
|
}
|
|
|
|
.connection.connection_full
|
|
{
|
|
color: #FFFFFF;/*#15A1ED*/
|
|
overflow: hidden;
|
|
}
|
|
|
|
.connection
|
|
{
|
|
position: absolute;
|
|
left: 0px;
|
|
top: 0px;
|
|
font-size: 8pt;
|
|
border: 0px;
|
|
width: 18px;
|
|
height: 13px;
|
|
}
|
|
|
|
.connection_info
|
|
{
|
|
float: left;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.connection_info > table
|
|
{
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.connection_info, .connection_info > table
|
|
{
|
|
text-align: left;
|
|
font-size: 11px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
#localVideoContainer>span.status:hover,
|
|
#localVideoContainer .displayname:hover {
|
|
cursor: text;
|
|
}
|
|
|
|
.videocontainer>span.status,
|
|
.videocontainer .displayname {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.videocontainer .editdisplayname {
|
|
height: auto;
|
|
}
|
|
|
|
#localDisplayName {
|
|
pointer-events: auto !important;
|
|
}
|
|
|
|
.videocontainer>a.status,
|
|
.videocontainer>a.displayname {
|
|
display: inline-block;
|
|
position: absolute;
|
|
color: #FFFFFF;
|
|
bottom: 0;
|
|
right: 0;
|
|
padding: 3px 5px;
|
|
font-size: 9pt;
|
|
cursor: pointer;
|
|
z-index: 2;
|
|
}
|
|
|
|
/**
|
|
* Video thumbnail toolbar icon.
|
|
*/
|
|
.videocontainer .toolbar-icon {
|
|
font-size: 8pt;
|
|
text-align: center;
|
|
text-shadow: 0px 1px 0px rgba(255,255,255,.3), 0px -1px 0px rgba(0,0,0,.7);
|
|
color: #FFFFFF;
|
|
width: 12px;
|
|
line-height: $thumbnailToolbarHeight;
|
|
height: $thumbnailToolbarHeight;
|
|
padding: 0;
|
|
border: 0;
|
|
margin: 0px 5px 0px 0px;
|
|
float: left;
|
|
}
|
|
|
|
/**
|
|
* Toolbar icon internal i elements (font icons).
|
|
*/
|
|
.toolbar-icon>i {
|
|
line-height: $thumbnailToolbarHeight;
|
|
}
|
|
|
|
/**
|
|
* Toolbar icons positioned on the right.
|
|
*/
|
|
.toolbar-icon.right {
|
|
float: right;
|
|
margin: 0px 0px 0px 5px;
|
|
}
|
|
|
|
.videocontainer>span.indicator {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
@include circle($thumbnailIndicatorSize);
|
|
box-sizing: border-box;
|
|
line-height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
|
|
z-index: 3;
|
|
text-align: center;
|
|
background: $dominantSpeakerBg;
|
|
margin: 7px;
|
|
display: inline-block;
|
|
color: $thumbnailPictogramColor;
|
|
font-size: 8pt;
|
|
border: $thumbnailIndicatorBorder solid $thumbnailPictogramColor;
|
|
}
|
|
|
|
.videocontainer>#raisehandindicator {
|
|
background: $raiseHandBg;
|
|
}
|
|
|
|
#indicatoricon {
|
|
width: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
|
|
height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
|
|
line-height: $thumbnailIndicatorSize - 2*$thumbnailIndicatorBorder;
|
|
}
|
|
|
|
#reloadPresentation {
|
|
display: none;
|
|
position: absolute;
|
|
color: #FFFFFF;
|
|
top: 0;
|
|
right:0;
|
|
padding: 10px 10px;
|
|
font-size: 11pt;
|
|
cursor: pointer;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 5px;
|
|
background-clip: padding-box;
|
|
-webkit-border-radius: 5px;
|
|
-webkit-background-clip: padding-box;
|
|
z-index: 20; /*The reload button should appear on top of the header!*/
|
|
}
|
|
|
|
.audiolevel {
|
|
display: inline-block;
|
|
position: absolute;
|
|
z-index: 0;
|
|
border-radius:1px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#dominantSpeaker {
|
|
visibility: hidden;
|
|
width: 300px;
|
|
height: 300px;
|
|
margin: auto;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
#dominantSpeakerAudioLevel {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
z-index: 2;
|
|
visibility: inherit;
|
|
}
|
|
|
|
#mixedstream {
|
|
display:none !important;
|
|
}
|
|
|
|
#dominantSpeakerAvatar {
|
|
width: 200px;
|
|
height: 200px;
|
|
top: 50px;
|
|
margin: auto;
|
|
position: relative;
|
|
border-radius: 100px;
|
|
z-index: 3;
|
|
visibility: inherit;
|
|
background-color: #000000;
|
|
}
|
|
|
|
.userAvatar {
|
|
@include circle(60px);
|
|
@include absoluteAligning(60px, 60px);
|
|
}
|
|
|
|
.sharedVideoAvatar {
|
|
height: 100%;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.noMic {
|
|
position: absolute;
|
|
border-radius: 8px;
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url("../images/noMic.png");
|
|
background-color: #000;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
.noVideo {
|
|
position: absolute;
|
|
border-radius: 8px;
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url("../images/noVideo.png");
|
|
background-color: #000;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
.videoMessageFilter {
|
|
-webkit-filter: grayscale(.5) opacity(0.8);
|
|
filter: grayscale(.5) opacity(0.8);
|
|
}
|
|
|
|
.remoteVideoProblemFilter {
|
|
-webkit-filter: grayscale(100%);
|
|
filter: grayscale(100%);
|
|
}
|
|
|
|
.videoProblemFilter {
|
|
-webkit-filter: blur(10px) grayscale(.5) opacity(0.8);
|
|
filter: blur(10px) grayscale(.5) opacity(0.8);
|
|
}
|
|
|
|
.videoThumbnailProblemFilter {
|
|
-webkit-filter: grayscale(100%);
|
|
filter: grayscale(100%);
|
|
}
|
|
|
|
#remoteConnectionMessage {
|
|
display: none;
|
|
position: absolute;
|
|
width: auto;
|
|
z-index: 1011;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
color: #FFF;
|
|
opacity: .80;
|
|
text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
|
|
0px 1px 1px rgba(0,0,0,0.3),
|
|
1px 0px 1px rgba(0,0,0,0.3),
|
|
0px 0px 1px rgba(0,0,0,0.3);
|
|
|
|
background: rgba(0,0,0,.5);
|
|
border-radius: 5px;
|
|
padding: 5px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
#videoConnectionMessage {
|
|
display: none;
|
|
position: absolute;
|
|
width: 100%;
|
|
top:50%;
|
|
z-index: 1011;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
color: #FFF;
|
|
opacity: .80;
|
|
text-shadow: 0px 0px 1px rgba(0,0,0,0.3),
|
|
0px 1px 1px rgba(0,0,0,0.3),
|
|
1px 0px 1px rgba(0,0,0,0.3),
|
|
0px 0px 1px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
#videoResolutionLabel {
|
|
display: none;
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
background: rgba(0,0,0,.5);
|
|
padding: 10px;
|
|
color: rgba(255,255,255,.5);
|
|
z-index: 1011;
|
|
}
|
|
|
|
.centeredVideoLabel {
|
|
display: none;
|
|
position: absolute;
|
|
bottom: 45%;
|
|
top: auto;
|
|
right: auto;
|
|
left: auto;
|
|
line-height: 28px;
|
|
height: 28px;
|
|
width: auto;
|
|
padding: 5px;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
background: rgba(0,0,0,.5);
|
|
color: #FFF;
|
|
z-index: 1011;
|
|
border-radius: 2px;
|
|
-webkit-transition: all 2s 2s linear;
|
|
transition: all 2s 2s linear;
|
|
}
|
|
|
|
.moveToCorner {
|
|
top: 5px;
|
|
right: 50px; /*leave free space for the HD label*/
|
|
margin-right: 0px;
|
|
margin-left: auto;
|
|
background: rgba(0,0,0,.3);
|
|
color: rgba(255,255,255,.5);
|
|
}
|
|
|
|
.hidden {
|
|
}
|