mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-21 03:40:50 +03:00
6cf9166c4a
It's become obvious that these random floating points everywhere are unwieldy. Now they're all in one place with some fairly logical variable names which will help out in design->implementation phase.
69 lines
1.5 KiB
SCSS
69 lines
1.5 KiB
SCSS
/*
|
|
Copyright 2015, 2016 OpenMarket 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.
|
|
*/
|
|
|
|
.mx_IncomingCallBox {
|
|
text-align: center;
|
|
border: 1px solid #a4a4a4;
|
|
border-radius: 8px;
|
|
background-color: $primary-bg-color;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
padding: 6px;
|
|
margin-top: -3px;
|
|
margin-left: -20px;
|
|
width: 200px;
|
|
}
|
|
|
|
.mx_IncomingCallBox_chevron {
|
|
padding: 12px;
|
|
position: absolute;
|
|
left: -21px;
|
|
top: 0px;
|
|
}
|
|
|
|
.mx_IncomingCallBox_title {
|
|
padding: 6px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mx_IncomingCallBox_buttons {
|
|
display: flex;
|
|
}
|
|
|
|
.mx_IncomingCallBox_buttons_cell {
|
|
vertical-align: middle;
|
|
padding: 6px;
|
|
flex: 1;
|
|
}
|
|
|
|
.mx_IncomingCallBox_buttons_decline,
|
|
.mx_IncomingCallBox_buttons_accept {
|
|
vertical-align: middle;
|
|
width: 80px;
|
|
height: 36px;
|
|
line-height: $font-36px;
|
|
border-radius: 36px;
|
|
color: $accent-fg-color;
|
|
margin: auto;
|
|
}
|
|
|
|
.mx_IncomingCallBox_buttons_decline {
|
|
background-color: $voip-decline-color;
|
|
}
|
|
|
|
.mx_IncomingCallBox_buttons_accept {
|
|
background-color: $voip-accept-color;
|
|
}
|