mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Visual fixups for call UI
* Add bottom margin on PiP view * Remove avatar blurring & pause icon for held calls * Change background of incoming call box to match PiP view * Put drop shadow & border radius on PiP view & incoming call box rather than the CallContainer they're in (so they each have their own drop shadow / rounded corners). * Add margin between incoming call box and PiP view
This commit is contained in:
parent
f364c852fd
commit
f63572f02b
2 changed files with 13 additions and 4 deletions
|
@ -18,10 +18,7 @@ limitations under the License.
|
|||
position: absolute;
|
||||
right: 20px;
|
||||
bottom: 72px;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
z-index: 100;
|
||||
box-shadow: 0px 14px 24px rgba(0, 0, 0, 0.08);
|
||||
|
||||
// Disable pointer events for Jitsi widgets to function. Direct
|
||||
// calls have their own cursor and behaviour, but we need to make
|
||||
|
@ -49,8 +46,10 @@ limitations under the License.
|
|||
|
||||
.mx_IncomingCallBox {
|
||||
min-width: 250px;
|
||||
background-color: $primary-bg-color;
|
||||
background-color: $secondary-accent-color;
|
||||
padding: 8px;
|
||||
box-shadow: 0px 14px 24px rgba(0, 0, 0, 0.08);
|
||||
border-radius: 8px;
|
||||
|
||||
pointer-events: initial; // restore pointer events so the user can accept/decline
|
||||
cursor: pointer;
|
||||
|
|
|
@ -35,6 +35,10 @@ limitations under the License.
|
|||
|
||||
.mx_CallView_pip {
|
||||
width: 320px;
|
||||
padding-bottom: 8px;
|
||||
margin-top: 10px;
|
||||
box-shadow: 0px 14px 24px rgba(0, 0, 0, 0.08);
|
||||
border-radius: 8px;
|
||||
|
||||
.mx_CallView_voice {
|
||||
height: 180px;
|
||||
|
@ -84,6 +88,7 @@ limitations under the License.
|
|||
border-radius: 2000px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
/* Blurred avatar images & pause icon for on-hold removed for now
|
||||
&::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
|
@ -101,17 +106,21 @@ limitations under the License.
|
|||
.mx_CallView_pip &::after {
|
||||
background-size: 30px;
|
||||
}
|
||||
*/
|
||||
}
|
||||
/*
|
||||
.mx_BaseAvatar {
|
||||
filter: blur(20px);
|
||||
overflow: hidden;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
.mx_CallView_voice_secondaryAvatarContainer {
|
||||
border-radius: 2000px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
/*
|
||||
&::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
|
@ -129,6 +138,7 @@ limitations under the License.
|
|||
.mx_CallView_pip &::after {
|
||||
background-size: 24px;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
.mx_CallView_voice_holdText {
|
||||
|
|
Loading…
Reference in a new issue