2021-11-02 23:01:13 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
.BadgeDialog {
|
|
|
|
@mixin fixed-height($height) {
|
|
|
|
height: $height;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
user-select: none;
|
|
|
|
|
2022-09-29 22:40:09 +00:00
|
|
|
&__width-container {
|
2021-11-02 23:01:13 +00:00
|
|
|
max-width: 420px;
|
|
|
|
}
|
|
|
|
|
2021-11-16 16:45:16 +00:00
|
|
|
&__contents {
|
2021-11-02 23:01:13 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__nav {
|
|
|
|
$light-color: $color-gray-65;
|
|
|
|
$dark-color: $color-gray-05;
|
|
|
|
|
|
|
|
@include button-reset;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 4px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 3px 0;
|
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: $color-gray-02;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
background: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: $color-gray-80;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--previous::before {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-left-24.svg',
|
|
|
|
$light-color
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-left-24.svg',
|
|
|
|
$dark-color
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--next::before {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-right-24.svg',
|
|
|
|
$light-color
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-right-24.svg',
|
|
|
|
$dark-color
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__main {
|
|
|
|
flex-grow: 1;
|
|
|
|
text-align: center;
|
|
|
|
padding: 24px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
|
|
|
@include font-title-2;
|
2021-11-11 23:01:12 +00:00
|
|
|
@include fixed-height(3.5em);
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2021-11-02 23:01:13 +00:00
|
|
|
margin-bottom: 8px;
|
2021-11-15 20:18:58 +00:00
|
|
|
margin-top: 12px;
|
2021-11-02 23:01:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__description {
|
|
|
|
@include font-body-1;
|
2021-11-11 23:01:12 +00:00
|
|
|
@include fixed-height(5.5em);
|
2021-11-16 16:45:16 +00:00
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__instructions-button {
|
|
|
|
width: 100%;
|
2021-11-18 17:53:39 +00:00
|
|
|
|
|
|
|
// We use this selector for specificity.
|
|
|
|
&.module-Button {
|
|
|
|
font-size: 17px;
|
|
|
|
}
|
|
|
|
|
2021-11-16 16:45:16 +00:00
|
|
|
&--hidden {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.BadgeCarouselIndex {
|
|
|
|
margin-top: 24px;
|
2021-11-02 23:01:13 +00:00
|
|
|
}
|
|
|
|
}
|