signal-desktop/stylesheets/components/CallingPreCallInfo.scss
2024-11-15 15:09:31 -08:00

37 lines
707 B
SCSS

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
@use '../mixins';
@use '../variables';
.module-CallingPreCallInfo {
text-align: center;
user-select: none;
&__title,
&__subtitle {
-webkit-box-orient: vertical;
color: variables.$color-white;
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
@include mixins.calling-text-shadow;
}
&__title {
-webkit-line-clamp: 1;
@include mixins.font-title-2;
margin-top: 16px;
}
&__subtitle {
-webkit-line-clamp: 2;
@include mixins.font-body-1;
margin-top: 8px;
}
}
.module-CallingPreCallInfo-spacer {
flex-basis: 64px;
margin-block-start: 12px;
}