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