mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
c921567831
just need to add the buttons and then get rid of the status bar
175 lines
3.5 KiB
SCSS
175 lines
3.5 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 {
|
|
border-radius: 10px;
|
|
background-color: $input-lighter-bg-color;
|
|
padding-left: 8px;
|
|
padding-right: 8px;
|
|
// XXX: CallContainer sets pointer-events: none - should probably be set back in a better place
|
|
pointer-events: initial;
|
|
}
|
|
|
|
.mx_CallView_large {
|
|
padding-bottom: 10px;
|
|
|
|
.mx_CallView_voice {
|
|
height: 360px;
|
|
}
|
|
}
|
|
|
|
.mx_CallView_pip {
|
|
width: 320px;
|
|
|
|
.mx_CallView_voice {
|
|
height: 180px
|
|
}
|
|
}
|
|
|
|
.mx_CallView_voice {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: $inverted-bg-color;
|
|
}
|
|
|
|
/*
|
|
.mx_CallView_voice {
|
|
padding: 6px;
|
|
font-weight: bold;
|
|
|
|
min-width: 200px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.mx_CallView_header {
|
|
height: 44px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: left;
|
|
|
|
.mx_BaseAvatar {
|
|
margin-right: 12px;
|
|
}
|
|
}
|
|
|
|
.mx_CallView_header_callType {
|
|
font-weight: bold;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.mx_CallView_header_controls {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.mx_CallView_header_control_fullscreen {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
cursor: pointer;
|
|
|
|
&::before {
|
|
content: '';
|
|
display: inline-block;
|
|
height: 20px;
|
|
width: 20px;
|
|
vertical-align: middle;
|
|
background-color: $secondary-fg-color;
|
|
mask-repeat: no-repeat;
|
|
mask-size: contain;
|
|
mask-position: center;
|
|
mask-image: url('$(res)/img/element-icons/call/fullscreen.svg');
|
|
}
|
|
}
|
|
|
|
.mx_CallView_header_roomName {
|
|
font-weight: bold;
|
|
font-size: 12px;
|
|
line-height: initial;
|
|
}
|
|
|
|
.mx_CallView_header_callTypeSmall {
|
|
font-size: 12px;
|
|
color: $secondary-fg-color;
|
|
line-height: initial;
|
|
}
|
|
|
|
.mx_CallView_header_phoneIcon {
|
|
display: inline-block;
|
|
margin-right: 6px;
|
|
height: 16px;
|
|
width: 16px;
|
|
vertical-align: middle;
|
|
|
|
&::before {
|
|
content: '';
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
|
|
height: 16px;
|
|
width: 16px;
|
|
background-color: $warning-color;
|
|
mask-repeat: no-repeat;
|
|
mask-size: contain;
|
|
mask-position: center;
|
|
mask-image: url('$(res)/img/element-icons/call/voice-call.svg');
|
|
}
|
|
}
|