signal-desktop/stylesheets/components/CallingToast.scss

59 lines
1 KiB
SCSS
Raw Normal View History

// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.CallingToasts {
position: fixed;
z-index: $z-index-toast;
top: 32px;
width: 100%;
display: flex;
justify-content: center;
pointer-events: none;
}
.CallingToasts__inner {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
pointer-events: auto;
gap: 8px;
}
.CallingToast--dismissable {
@include button-reset();
}
.CallingToast {
@include font-subtitle;
padding-block: 8px;
padding-inline: 12px;
border-radius: 22px;
background-color: $color-gray-80;
color: $color-gray-15;
text-align: center;
user-select: none;
&__reconnecting {
display: flex;
align-items: center;
gap: 8px;
}
}
.CallingButtonToasts .CallingToasts {
position: absolute;
2023-10-27 13:17:13 +00:00
top: -20px;
transform: translateY(-100%);
2023-11-16 19:55:35 +00:00
inset-inline-start: 0;
}
.CallingToast__viewChanged {
display: flex;
align-items: center;
gap: 8px;
&__icon {
width: 18px;
height: 18px;
}
}