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