mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-02 04:05:56 +00:00
87 lines
1.7 KiB
CSS
87 lines
1.7 KiB
CSS
/*
|
|
Copyright 2021 New Vector Ltd
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.grid {
|
|
position: relative;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
}
|
|
|
|
.participantTile {
|
|
position: absolute;
|
|
will-change: transform, width, height, opacity, box-shadow;
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
background-color: #444;
|
|
}
|
|
|
|
.participantTile * {
|
|
touch-action: none;
|
|
-moz-user-select: none;
|
|
-webkit-user-drag: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.participantTile video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.participantName {
|
|
position: absolute;
|
|
bottom: 16px;
|
|
left: 16px;
|
|
height: 32px;
|
|
padding: 0 8px;
|
|
background-color: rgba(23, 25, 28, 0.96);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.participantName > * {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.participantName > :last-child {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.participantName span {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.muteMicIcon * {
|
|
fill: #FF5B55;
|
|
}
|
|
|
|
.videoMuted {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.participantTile:hover .participantName, .participantName.speaking {
|
|
display: flex;
|
|
}
|