2020-05-15 01:49:55 +08:00
|
|
|
/*
|
2024-09-09 21:57:16 +08:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2020-05-15 01:49:55 +08:00
|
|
|
Copyright 2020 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.
|
2020-05-15 01:49:55 +08:00
|
|
|
*/
|
|
|
|
|
2021-11-11 21:37:29 +08:00
|
|
|
$PassphraseStrengthHigh: $accent;
|
2020-05-15 01:49:55 +08:00
|
|
|
$PassphraseStrengthMedium: $username-variant5-color;
|
2021-11-11 21:37:29 +08:00
|
|
|
$PassphraseStrengthLow: $alert;
|
2020-05-15 01:49:55 +08:00
|
|
|
|
2020-05-15 03:19:15 +08:00
|
|
|
progress.mx_PassphraseField_progress {
|
2020-05-15 01:49:55 +08:00
|
|
|
appearance: none;
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
2020-05-15 03:19:15 +08:00
|
|
|
height: 4px;
|
|
|
|
position: absolute;
|
|
|
|
top: -12px;
|
2020-05-15 01:49:55 +08:00
|
|
|
|
2020-06-26 21:02:36 +08:00
|
|
|
@mixin ProgressBarBorderRadius "2px";
|
2020-05-15 01:49:55 +08:00
|
|
|
@mixin ProgressBarColour $PassphraseStrengthLow;
|
|
|
|
&[value="2"],
|
|
|
|
&[value="3"] {
|
|
|
|
@mixin ProgressBarColour $PassphraseStrengthMedium;
|
|
|
|
}
|
|
|
|
&[value="4"] {
|
|
|
|
@mixin ProgressBarColour $PassphraseStrengthHigh;
|
|
|
|
}
|
|
|
|
}
|