signal-desktop/stylesheets/components/SafetyNumberChangeDialog.scss

79 lines
1.3 KiB
SCSS
Raw Normal View History

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.module-SafetyNumberChangeDialog {
&__message {
@include font-body-2;
text-align: center;
@include light-theme {
color: $color-gray-60;
}
@include dark-theme {
color: $color-gray-25;
}
}
&__contacts {
list-style-type: none;
max-height: 300px;
overflow-y: scroll;
padding: 0;
}
&__contact {
align-items: center;
display: flex;
flex-direction: row;
margin-bottom: 16px;
&--wrapper {
flex-grow: 1;
margin-left: 12px;
}
&--name {
@include font-body-1-bold;
@include dark-theme {
color: $color-white;
}
}
&--number {
@include light-theme {
color: $color-gray-60;
}
@include dark-theme {
color: $color-gray-25;
}
}
&--view {
@include font-body-1-bold;
background: inherit;
border: none;
cursor: pointer;
margin-right: 2px;
outline: none;
padding: 8px 14px;
@include keyboard-mode {
&:focus {
2021-05-28 16:15:17 +00:00
box-shadow: 0px 0px 0px 2px $color-ultramarine;
}
}
@include light-theme {
2021-05-28 16:15:17 +00:00
color: $color-ultramarine;
}
@include dark-theme {
2021-11-20 15:41:32 +00:00
color: $color-gray-05;
}
}
}
}