signal-desktop/stylesheets/components/OutgoingGiftBadgeModal.scss

48 lines
883 B
SCSS
Raw Normal View History

2022-05-11 20:59:58 +00:00
// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2024-11-15 23:09:31 +00:00
@use '../mixins';
@use '../variables';
2022-05-11 20:59:58 +00:00
.OutgoingGiftBadgeModal {
text-align: center;
&__container {
width: 420px;
max-width: 420px;
}
&__title {
2024-11-15 23:09:31 +00:00
@include mixins.font-title-2;
2022-05-11 20:59:58 +00:00
margin-top: 5px;
}
&__description {
2024-11-15 23:09:31 +00:00
@include mixins.font-body-1;
2022-05-11 20:59:58 +00:00
margin-top: 8px;
2023-04-20 17:03:43 +00:00
margin-inline: auto;
2022-05-11 20:59:58 +00:00
width: 328px;
}
&__badge {
margin-top: 34px;
height: 160px;
width: 160px;
&--missing {
border-radius: 50%;
2023-04-20 17:03:43 +00:00
margin-inline: auto;
2022-05-11 20:59:58 +00:00
2024-11-15 23:09:31 +00:00
@include mixins.light-theme {
background-color: variables.$color-gray-05;
2022-05-11 20:59:58 +00:00
}
2024-11-15 23:09:31 +00:00
@include mixins.dark-theme {
background-color: variables.$color-gray-60;
2022-05-11 20:59:58 +00:00
}
}
}
&__badge-summary {
margin-top: 16px;
margin-bottom: 16px;
2024-11-15 23:09:31 +00:00
@include mixins.font-body-1-bold;
2022-05-11 20:59:58 +00:00
}
}