signal-desktop/stylesheets/components/CallingPreCallInfo.scss

38 lines
707 B
SCSS
Raw Normal View History

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