/* Copyright 2022 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. */ .videoTile { position: absolute; contain: strict; top: 0; container-name: videoTile; container-type: size; border-radius: var(--cpd-space-4x); overflow: hidden; cursor: pointer; outline: 2px solid rgba(0, 0, 0, 0); transition: outline-radius ease 0.15s, outline-color ease 0.15s; } .videoTile * { user-select: none; } .videoTile video { width: 100%; height: 100%; object-fit: cover; background-color: var(--cpd-color-bg-subtle-primary); /* This transform is a no-op, but it forces Firefox to use a different rendering path, one that actually clips the corners of