2021-05-29 19:22:58 +00:00
|
|
|
/*
|
|
|
|
Copyright 2021 Šimon Brandner <simon.bra.ag@gmail.com>
|
|
|
|
|
|
|
|
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_CallEvent {
|
|
|
|
display: flex;
|
2021-05-30 10:42:23 +00:00
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2021-06-01 08:03:23 +00:00
|
|
|
justify-content: space-between;
|
2021-05-29 19:22:58 +00:00
|
|
|
|
|
|
|
background-color: $dark-panel-bg-color;
|
2021-06-17 16:13:52 +00:00
|
|
|
padding: 10px 16px 12px 10px;
|
2021-05-29 19:22:58 +00:00
|
|
|
border-radius: 8px;
|
|
|
|
margin: 10px auto;
|
|
|
|
max-width: 75%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
2021-06-01 05:55:55 +00:00
|
|
|
.mx_CallEvent_info {
|
2021-05-30 10:42:23 +00:00
|
|
|
display: flex;
|
2021-06-01 05:55:55 +00:00
|
|
|
flex-direction: row;
|
2021-06-01 08:03:23 +00:00
|
|
|
align-items: center;
|
2021-05-30 10:42:23 +00:00
|
|
|
|
2021-06-01 05:55:55 +00:00
|
|
|
.mx_CallEvent_info_basic {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-left: 10px; // To match mx_CallEvent
|
|
|
|
|
2021-06-17 14:33:00 +00:00
|
|
|
.mx_CallEvent_sender {
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 1.5rem;
|
2021-06-18 14:14:54 +00:00
|
|
|
line-height: 1.8rem;
|
|
|
|
margin-bottom: 3px;
|
2021-06-17 14:33:00 +00:00
|
|
|
}
|
|
|
|
|
2021-06-01 05:55:55 +00:00
|
|
|
.mx_CallEvent_type {
|
|
|
|
font-weight: 400;
|
2021-06-17 15:55:18 +00:00
|
|
|
color: $secondary-fg-color;
|
2021-06-17 14:33:00 +00:00
|
|
|
font-size: 1.2rem;
|
2021-06-18 14:14:54 +00:00
|
|
|
line-height: $font-13px;
|
2021-06-17 15:55:18 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.mx_CallEvent_type_icon {
|
|
|
|
height: 13px;
|
|
|
|
width: 13px;
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
height: 13px;
|
|
|
|
width: 13px;
|
|
|
|
background-color: $tertiary-fg-color;
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: contain;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CallEvent_type_icon_voice::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/call/voice-call.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_CallEvent_type_icon_video::before {
|
|
|
|
mask-image: url('$(res)/img/element-icons/call/video-call.svg');
|
|
|
|
}
|
2021-06-01 05:55:55 +00:00
|
|
|
}
|
2021-05-30 10:42:23 +00:00
|
|
|
}
|
2021-05-29 19:22:58 +00:00
|
|
|
}
|
2021-06-01 08:03:23 +00:00
|
|
|
|
|
|
|
.mx_CallEvent_content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2021-06-01 09:28:45 +00:00
|
|
|
align-items: center;
|
2021-06-17 15:04:56 +00:00
|
|
|
color: $secondary-fg-color;
|
2021-06-01 09:28:45 +00:00
|
|
|
|
|
|
|
.mx_CallEvent_content_callBack {
|
|
|
|
margin-left: 10px; // To match mx_callEvent
|
|
|
|
}
|
2021-06-01 12:46:41 +00:00
|
|
|
|
|
|
|
.mx_CallEvent_content_tooltip {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2021-06-01 08:03:23 +00:00
|
|
|
}
|
2021-05-29 19:22:58 +00:00
|
|
|
}
|