signal-desktop/stylesheets/components/InstallScreenBackupImportStep.scss

137 lines
2.6 KiB
SCSS
Raw Normal View History

2024-08-27 17:00:41 -04:00
// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2024-11-15 15:09:31 -08:00
@use '../mixins';
@use '../variables';
2024-09-11 11:03:18 -07:00
.InstallScreenBackupImportStep {
position: relative;
2024-08-27 17:00:41 -04:00
display: flex;
2024-09-11 11:03:18 -07:00
2024-08-27 17:00:41 -04:00
width: 100vw;
height: 100vh;
flex-direction: column;
2024-08-27 17:00:41 -04:00
align-items: center;
}
2024-09-11 11:03:18 -07:00
.InstallScreenBackupImportStep__content {
display: flex;
flex-direction: column;
justify-content: center;
2024-08-27 17:00:41 -04:00
text-align: center;
2024-12-19 15:46:50 -05:00
margin-top: calc(64px + var(--title-bar-drag-area-height));
flex: 1;
2024-08-27 17:00:41 -04:00
}
2024-09-11 11:03:18 -07:00
.InstallScreenBackupImportStep__title {
2024-11-15 15:09:31 -08:00
@include mixins.font-title-2;
2024-08-27 17:00:41 -04:00
margin-block: 0 20px;
}
2024-09-11 11:03:18 -07:00
.InstallScreenBackupImportStep .ProgressBar {
2024-12-19 15:46:50 -05:00
margin-block-end: 18px;
min-width: 326px;
2024-08-27 17:00:41 -04:00
}
2024-09-11 11:03:18 -07:00
.InstallScreenBackupImportStep__progressbar-hint {
2024-11-15 15:09:31 -08:00
@include mixins.font-caption;
2024-12-19 15:46:50 -05:00
font-weight: 500;
margin-block-end: 8px;
2024-08-27 17:00:41 -04:00
2024-11-15 15:09:31 -08:00
@include mixins.light-theme {
2024-12-19 15:46:50 -05:00
color: rgba(variables.$color-black-alpha-40, 0.8);
2024-08-27 17:00:41 -04:00
}
2024-11-15 15:09:31 -08:00
@include mixins.dark-theme {
color: variables.$color-gray-25;
2024-08-27 17:00:41 -04:00
}
}
2024-09-11 11:03:18 -07:00
.InstallScreenBackupImportStep__description {
2024-12-19 15:46:50 -05:00
@include mixins.font-caption;
2024-08-27 17:00:41 -04:00
2024-11-15 15:09:31 -08:00
@include mixins.light-theme {
color: variables.$color-gray-60;
2024-08-27 17:00:41 -04:00
}
2024-11-15 15:09:31 -08:00
@include mixins.dark-theme {
color: variables.$color-gray-25;
2024-08-27 17:00:41 -04:00
}
}
2024-09-11 11:03:18 -07:00
.InstallScreenBackupImportStep__cancel {
2024-11-15 15:09:31 -08:00
@include mixins.button-reset();
& {
@include mixins.font-body-1-bold;
2024-12-19 15:46:50 -05:00
@include mixins.button-blue-text();
@include mixins.button-focus-outline;
@include mixins.dark-theme {
color: variables.$color-gray-80;
}
2024-11-15 15:09:31 -08:00
}
2024-12-19 15:46:50 -05:00
& {
padding-block: 8px;
padding-inline: 24px;
border-radius: 48px;
background-color: variables.$color-gray-05;
2024-09-11 11:03:18 -07:00
}
}
.InstallScreenBackupImportStep__footer {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 36px;
2024-12-19 15:46:50 -05:00
min-height: 110px;
gap: 26px;
}
.InstallScreenBackupImportStep__security {
display: flex;
flex-direction: column;
align-items: center;
max-width: 336px;
&--icon::after {
2024-11-15 15:09:31 -08:00
@include mixins.light-theme {
@include mixins.color-svg(
'../images/icons/v3/lock/lock.svg',
2024-11-15 15:09:31 -08:00
rgba(variables.$color-gray-60, 0.8)
);
}
2024-11-15 15:09:31 -08:00
@include mixins.dark-theme {
@include mixins.color-svg(
'../images/icons/v3/lock/lock.svg',
variables.$color-gray-25
);
}
2024-11-15 15:09:31 -08:00
& {
content: '';
display: block;
height: 16px;
width: 16px;
margin-bottom: 4px;
}
}
&--description {
2024-11-15 15:09:31 -08:00
@include mixins.font-caption;
text-align: center;
2024-11-15 15:09:31 -08:00
@include mixins.light-theme {
color: rgba(variables.$color-gray-60, 0.8);
}
2024-11-15 15:09:31 -08:00
@include mixins.dark-theme {
color: variables.$color-gray-25;
}
a {
text-decoration: none;
}
}
}