2020-05-14 17:49:55 +00:00
|
|
|
/*
|
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
$PassphraseStrengthHigh: $accent-color;
|
|
|
|
$PassphraseStrengthMedium: $username-variant5-color;
|
|
|
|
$PassphraseStrengthLow: $notice-primary-color;
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|