mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
f828c6d494
Currently just by adding /holdcall and /unholdcall slash commands The only place the hold status of the call is currently represented is when the call is a voice call and you're viewing a different room: it's not wired up when you're viewing the room because that currently uses the room status bar which it won't do with the new UI. Also convert VideoFeed to typescript, and remove videoview because it essentially just managed the fullscreen functionality, but we'll want and 'on hold' representation (and probably chrome for hagnup etc) in the fullscreen UI too, so let's just make CallView the thing that gets fullscreened.
101 lines
1.9 KiB
SCSS
101 lines
1.9 KiB
SCSS
/*
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
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.
|
|
*/
|
|
|
|
.mx_CallView_voice {
|
|
background-color: $accent-color;
|
|
color: $accent-fg-color;
|
|
cursor: pointer;
|
|
padding: 6px;
|
|
font-weight: bold;
|
|
|
|
border-radius: 8px;
|
|
min-width: 200px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
img {
|
|
margin: 4px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
> div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
// Hacky vertical align
|
|
padding-top: 3px;
|
|
}
|
|
|
|
> div > p,
|
|
> div > h1 {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: $font-13px;
|
|
line-height: $font-15px;
|
|
}
|
|
|
|
> div > p {
|
|
font-weight: bold;
|
|
}
|
|
|
|
> * {
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
|
|
.mx_CallView_hangup {
|
|
position: absolute;
|
|
|
|
right: 8px;
|
|
bottom: 10px;
|
|
|
|
height: 35px;
|
|
width: 35px;
|
|
|
|
border-radius: 35px;
|
|
|
|
background-color: $notice-primary-color;
|
|
|
|
z-index: 101;
|
|
|
|
cursor: pointer;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
|
|
height: 20px;
|
|
width: 20px;
|
|
|
|
top: 6.5px;
|
|
left: 7.5px;
|
|
|
|
mask: url('$(res)/img/hangup.svg');
|
|
mask-size: contain;
|
|
background-size: contain;
|
|
|
|
background-color: $primary-fg-color;
|
|
}
|
|
}
|
|
|
|
.mx_CallView_video {
|
|
width: 100%;
|
|
position: relative;
|
|
z-index: 30;
|
|
}
|
|
|