Add "become a sustainer" button and view to badge dialog

This commit is contained in:
Evan Hahn 2021-11-16 10:45:16 -06:00 committed by GitHub
parent a466b939bc
commit 515943c46c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 197 additions and 32 deletions

View file

@ -0,0 +1,52 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.BadgeSustainerInstructionsDialog {
user-select: none;
// We use this selector for specificity.
&.module-Modal {
max-width: 420px;
}
&__header {
@include font-title-2;
text-align: center;
}
&__subheader {
@include font-body-1;
font-weight: normal;
text-align: center;
}
&__instructions {
@include font-body-2;
padding: 0;
list-style-position: inside;
&::before {
background-size: contain;
content: '';
display: block;
height: 160px;
margin: 24px auto;
width: 146px;
@include light-theme {
background-image: url('../images/mobile-settings-light.svg');
}
@include dark-theme {
background-image: url('../images/mobile-settings-dark.svg');
}
}
> li {
margin-top: 1em;
&:first-child {
margin-top: 0;
}
}
}
}