signal-desktop/stylesheets/components/InstallScreenBackupImportStep.scss

123 lines
2.1 KiB
SCSS
Raw Normal View History

2024-08-27 21:00:41 +00:00
// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2024-09-11 18:03:18 +00:00
.InstallScreenBackupImportStep {
position: relative;
2024-08-27 21:00:41 +00:00
display: flex;
2024-09-11 18:03:18 +00:00
2024-08-27 21:00:41 +00:00
width: 100vw;
height: 100vh;
flex-direction: column;
2024-08-27 21:00:41 +00:00
align-items: center;
}
2024-09-11 18:03:18 +00:00
.InstallScreenBackupImportStep__content {
display: flex;
flex-direction: column;
justify-content: center;
2024-08-27 21:00:41 +00:00
text-align: center;
margin-top: 72px;
flex: 1;
2024-08-27 21:00:41 +00:00
}
2024-09-11 18:03:18 +00:00
.InstallScreenBackupImportStep__title {
2024-08-27 21:00:41 +00:00
@include font-title-2;
margin-block: 0 20px;
}
2024-09-11 18:03:18 +00:00
.InstallScreenBackupImportStep .ProgressBar {
2024-08-27 21:00:41 +00:00
margin-block-end: 14px;
}
2024-09-11 18:03:18 +00:00
.InstallScreenBackupImportStep__progressbar-hint {
2024-08-27 21:00:41 +00:00
@include font-caption;
margin-block-end: 22px;
@include light-theme {
color: rgba($color-gray-60, 0.8);
}
@include dark-theme {
color: $color-gray-25;
}
}
2024-09-11 18:03:18 +00:00
.InstallScreenBackupImportStep__description {
2024-08-27 21:00:41 +00:00
@include font-body-1;
@include light-theme {
color: $color-gray-60;
}
@include dark-theme {
color: $color-gray-25;
}
}
2024-09-11 18:03:18 +00:00
.InstallScreenBackupImportStep__cancel {
@include button-reset();
@include button-focus-outline;
@include font-body-1-bold;
@include light-theme() {
color: $color-ultramarine;
}
@include dark-theme() {
color: $color-ultramarine-light;
}
}
.InstallScreenBackupImportStep__footer {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 36px;
min-height: 94px;
gap: 26px;
}
.InstallScreenBackupImportStep__security {
display: flex;
flex-direction: column;
align-items: center;
max-width: 336px;
&--icon::after {
@include light-theme {
@include color-svg(
'../images/icons/v3/lock/lock.svg',
rgba($color-gray-60, 0.8)
);
}
@include dark-theme {
@include color-svg('../images/icons/v3/lock/lock.svg', $color-gray-25);
}
content: '';
display: block;
height: 16px;
width: 16px;
margin-bottom: 4px;
}
&--description {
@include font-caption;
text-align: center;
@include light-theme {
color: rgba($color-gray-60, 0.8);
}
@include dark-theme {
color: $color-gray-25;
}
a {
text-decoration: none;
}
}
}