2022-12-16 01:24:33 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2022-12-16 01:24:33 +08:00
|
|
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 21:57:16 +08:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2022-12-16 01:24:33 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
.mx_DecryptionFailureBody {
|
|
|
|
color: $secondary-content;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2024-09-30 20:39:25 +08:00
|
|
|
|
|
|
|
/* Formatting for the "Verified identity has changed" error */
|
|
|
|
.mx_DecryptionFailureVerifiedIdentityChanged > span {
|
|
|
|
/* Show it in red */
|
|
|
|
color: var(--cpd-color-text-critical-primary);
|
|
|
|
background-color: var(--cpd-color-bg-critical-subtle);
|
|
|
|
|
|
|
|
/* With a red border */
|
|
|
|
border: 1px solid var(--cpd-color-border-critical-subtle);
|
|
|
|
border-radius: $font-16px;
|
|
|
|
|
|
|
|
/* Some space inside the border */
|
|
|
|
padding: var(--cpd-space-1x) var(--cpd-space-3x) var(--cpd-space-1x) var(--cpd-space-2x);
|
|
|
|
|
|
|
|
/* some space between the (!) icon and text */
|
|
|
|
display: inline-flex;
|
|
|
|
gap: var(--cpd-space-2x);
|
|
|
|
|
|
|
|
/* Center vertically */
|
|
|
|
align-items: center;
|
|
|
|
}
|