2020-05-14 19:49:55 +02:00
|
|
|
/*
|
2024-09-09 15:57:16 +02:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2020-05-14 19:49:55 +02:00
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 15:57:16 +02:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2020-05-14 19:49:55 +02:00
|
|
|
*/
|
|
|
|
|
2021-11-11 14:37:29 +01:00
|
|
|
$PassphraseStrengthHigh: $accent;
|
2020-05-14 19:49:55 +02:00
|
|
|
$PassphraseStrengthMedium: $username-variant5-color;
|
2021-11-11 14:37:29 +01:00
|
|
|
$PassphraseStrengthLow: $alert;
|
2020-05-14 19:49:55 +02:00
|
|
|
|
2020-05-14 21:19:15 +02:00
|
|
|
progress.mx_PassphraseField_progress {
|
2020-05-14 19:49:55 +02:00
|
|
|
appearance: none;
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
2020-05-14 21:19:15 +02:00
|
|
|
height: 4px;
|
|
|
|
position: absolute;
|
|
|
|
top: -12px;
|
2020-05-14 19:49:55 +02:00
|
|
|
|
2020-06-26 15:02:36 +02:00
|
|
|
@mixin ProgressBarBorderRadius "2px";
|
2020-05-14 19:49:55 +02:00
|
|
|
@mixin ProgressBarColour $PassphraseStrengthLow;
|
2022-12-12 12:24:14 +01:00
|
|
|
&[value="2"],
|
|
|
|
&[value="3"] {
|
2020-05-14 19:49:55 +02:00
|
|
|
@mixin ProgressBarColour $PassphraseStrengthMedium;
|
|
|
|
}
|
|
|
|
&[value="4"] {
|
|
|
|
@mixin ProgressBarColour $PassphraseStrengthHigh;
|
|
|
|
}
|
|
|
|
}
|