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;
|
2023-04-20 17:03:43 +00:00
|
|
|
padding-block: 3px;
|
|
|
|
padding-inline: 0;
|
2021-11-02 23:01:13 +00:00
|
|
|
|
|
|
|
&[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(
|
2023-05-04 18:04:22 +00:00
|
|
|
'../images/icons/v3/chevron/chevron-left.svg',
|
2021-11-02 23:01:13 +00:00
|
|
|
$light-color
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
2023-05-04 18:04:22 +00:00
|
|
|
'../images/icons/v3/chevron/chevron-left.svg',
|
2021-11-02 23:01:13 +00:00
|
|
|
$dark-color
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--next::before {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
2023-05-04 18:04:22 +00:00
|
|
|
'../images/icons/v3/chevron/chevron-right.svg',
|
2021-11-02 23:01:13 +00:00
|
|
|
$light-color
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
2023-05-04 18:04:22 +00:00
|
|
|
'../images/icons/v3/chevron/chevron-right.svg',
|
2021-11-02 23:01:13 +00:00
|
|
|
$dark-color
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__main {
|
|
|
|
flex-grow: 1;
|
|
|
|
text-align: center;
|
2023-04-20 17:03:43 +00:00
|
|
|
padding-block: 24px;
|
|
|
|
padding-inline: 10px;
|
2021-11-02 23:01:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__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
|
|
|
}
|
|
|
|
}
|