Add "become a sustainer" button and view to badge dialog
This commit is contained in:
parent
a466b939bc
commit
515943c46c
11 changed files with 197 additions and 32 deletions
52
stylesheets/components/BadgeSustainerInstructionsDialog.scss
Normal file
52
stylesheets/components/BadgeSustainerInstructionsDialog.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue