You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

176 lines
3.2 KiB
CSS

/*--------------------------------------------------------------
# Video grid
--------------------------------------------------------------*/
#videoMediaContainer {
z-index: 1;
display: flex;
align-content: center;
flex-wrap: wrap;
align-items: center;
justify-content: center;
vertical-align: middle;
position: absolute;
left: 0px;
bottom: 0px;
top: 0px;
right: 0px;
}
.Camera {
position: relative;
vertical-align: middle;
align-self: center;
border-radius: 10px;
overflow: hidden;
display: inline-block;
background: transparent;
border-radius: 10px;
border: var(--border);
box-shadow: var(--box-shadow);
animation: show 0.4s ease;
}
#videoMediaContainer i {
position: absolute;
display: none;
top: 0;
color: rgb(0, 255, 71);
font-size: 14px;
align-items: center;
padding: 5px;
margin: 5px;
width: auto;
height: 25px;
border-radius: 5px;
background: rgba(0, 0, 0, 0.4);
}
.audio {
position: absolute;
right: 0;
color: #fff;
margin: 5px;
width: auto;
height: 25px;
border-radius: 5px;
background: rgba(0, 0, 0, 0.1);
}
.username {
position: absolute;
bottom: 0;
color: #fff;
font-size: 14px;
display: flex;
align-items: center;
padding: 5px;
margin: 5px;
width: auto;
height: 25px;
border-radius: 5px;
background: rgba(0, 0, 0, 0.4);
}
.fscreen {
position: absolute;
right: 0;
bottom: 0px;
color: #fff;
margin: 5px;
width: auto;
height: 25px;
border-radius: 5px;
background: rgba(0, 0, 0, 0.1);
}
#videoMediaContainer img {
position: absolute;
margin-left: auto;
margin-right: auto;
width: 250px;
display: none;
}
.videoMenuBar {
z-index: 2;
position: absolute;
padding: 3px;
background: var(--bg);
font-size: small;
font-weight: bold;
text-align: center;
width: 100%;
cursor: default;
/* center */
top: 18px;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
overflow: hidden;
}
.videoMenuBar button {
float: right;
margin-right: 3px;
color: #fff;
background: transparent;
border-radius: 5px;
display: inline;
border: none;
}
.videoMenuBar button:hover {
color: grey;
transition: all 0.3s ease-in-out;
}
#videoMediaContainer video {
position: absolute;
margin-left: auto;
margin-right: auto;
}
video {
width: 100%;
height: 100%;
object-fit: var(--videoObjFit);
border-radius: 10px;
cursor: pointer;
}
video:hover {
opacity: 0.8;
}
video:fullscreen {
object-fit: contain;
opacity: 1;
}
.mirror {
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
transform: rotateY(180deg);
}
.blur {
-webkit-filter: blur(5px);
-moz-filter: blur(5px);
-o-filter: blur(5px);
-ms-filter: blur(5px);
filter: blur(5px);
}
@keyframes show {
0% {
opacity: 0;
transform: scale(0.4) translateY(20px);
}
100% {
opacity: 1;
transform: scale(1) translateY(0);
}
}