2021-04-27 19:29:59 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
.module-SafetyNumberViewer {
|
2021-10-06 20:27:14 +00:00
|
|
|
text-align: center;
|
|
|
|
|
2021-04-27 19:29:59 +00:00
|
|
|
&__icon {
|
|
|
|
height: 1.25em;
|
|
|
|
width: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon--verified {
|
|
|
|
display: inline-block;
|
|
|
|
height: 1.25em;
|
|
|
|
margin-right: 4px;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
width: 1.25em;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
-webkit-mask: url('../images/icons/v2/check-24.svg') no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
|
|
|
background-color: #121212;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
-webkit-mask: url('../images/icons/v2/check-24.svg') no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
|
|
|
background-color: #f6f6f6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon--shield {
|
|
|
|
display: inline-block;
|
|
|
|
height: 1.25em;
|
|
|
|
margin-right: 4px;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
width: 1.25em;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
-webkit-mask: url('../images/icons/v2/safety-number-outline-24.svg')
|
|
|
|
no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
|
|
|
background-color: #121212;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
-webkit-mask: url('../images/icons/v2/safety-number-solid-24.svg')
|
|
|
|
no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
|
|
|
background-color: #f6f6f6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__number {
|
2021-10-06 20:27:14 +00:00
|
|
|
border-radius: 8px;
|
2021-04-27 19:29:59 +00:00
|
|
|
font-family: monospace;
|
2021-10-06 20:27:14 +00:00
|
|
|
height: 100px;
|
|
|
|
margin: 24px auto;
|
|
|
|
padding: 24px;
|
|
|
|
width: 240px;
|
2021-10-07 16:14:09 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-90;
|
|
|
|
}
|
2021-04-27 19:29:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__verification-status {
|
|
|
|
margin: 30px 0 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__close-button {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: inherit;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2021-05-28 16:15:17 +00:00
|
|
|
border: 1px solid $color-ultramarine;
|
2021-04-27 19:29:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-10-06 20:27:14 +00:00
|
|
|
|
|
|
|
&__button {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__modal.module-Modal {
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
2021-04-27 19:29:59 +00:00
|
|
|
}
|