angular-openvidu
Version:
Simple, robust, OpenVidu room videochat component for Angular
116 lines (110 loc) • 3.06 kB
CSS
.flip-screen {
-webkit-transform: scaleX(-1);
-ms-transform: scaleX(-1);
transform: scaleX(-1); }
:host(stream-hangouts).main-stream .participant {
width: 100%;
height: 100%;
margin: 0px;
float: none;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex; }
:host(stream-hangouts).main-stream .participant .name {
display: none; }
:host(stream-hangouts).main-stream .participant video {
width: 100%; }
:host(stream-hangouts).square .participant {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
width: 100px;
overflow: hidden; }
:host(stream-hangouts).square .participant .name {
text-align: center;
top: 45px;
white-space: normal;
word-break: break-all; }
:host(stream-hangouts).square .participant video {
width: auto; }
:host(stream-hangouts).hide-video .participant .name {
text-align: center;
top: 45px;
white-space: normal;
word-break: break-all; }
:host(stream-hangouts).hide-video .participant video {
display: none; }
:host(stream-hangouts) .participant {
position: relative;
width: 177px;
height: 100px;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.4);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 0.4); }
:host(stream-hangouts) .participant .name {
position: absolute;
bottom: 10px;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
padding: 0px 10px;
color: #fff;
-webkit-box-sizing: border-box;
box-sizing: border-box;
text-shadow: #000 1px 1px 3px;
width: 100%;
overflow: hidden;
direction: ltr;
z-index: 1; }
:host(stream-hangouts) .participant .mic-off {
position: absolute;
bottom: 10px;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
padding: 0px 10px;
color: #fff;
-webkit-box-sizing: border-box;
box-sizing: border-box;
text-shadow: #000 1px 1px 3px;
width: 100%;
overflow: hidden;
direction: ltr;
z-index: 1;
text-align: center;
background: rgba(0, 0, 0, 0.5);
-webkit-border-radius: 50%;
border-radius: 50%;
width: 26px;
height: 26px;
padding: 4px;
right: 5px; }
:host(stream-hangouts) .participant .cam-off {
position: absolute;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
padding: 0px 10px;
color: #fff;
-webkit-box-sizing: border-box;
box-sizing: border-box;
text-shadow: #000 1px 1px 3px;
width: 100%;
overflow: hidden;
direction: ltr;
z-index: 1;
text-align: center;
background: rgba(0, 0, 0, 0.5);
-webkit-border-radius: 50%;
border-radius: 50%;
width: 26px;
height: 26px;
padding: 4px;
top: 10px;
right: 5px; }
:host(stream-hangouts) .participant video {
width: 100%;
height: 100%; }