2014-11-06 16:47:58 +03:00
|
|
|
/**
|
|
|
|
* Strengthify - show the weakness of a password (uses zxcvbn for this)
|
2015-11-16 13:16:38 +03:00
|
|
|
* https://github.com/MorrisJobke/strengthify
|
2018-10-03 17:03:23 +03:00
|
|
|
* Version: 0.5.5
|
2014-11-06 16:47:58 +03:00
|
|
|
* License: The MIT License (MIT)
|
2016-06-15 16:20:21 +03:00
|
|
|
* Copyright (c) 2013-2016 Morris Jobke <morris.jobke@gmail.com>
|
2014-11-06 16:47:58 +03:00
|
|
|
*/
|
|
|
|
|
2016-06-15 16:20:21 +03:00
|
|
|
.strengthify-wrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2014-11-06 16:47:58 +03:00
|
|
|
.strengthify-wrapper > * {
|
|
|
|
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
|
|
|
filter: alpha(opacity=0);
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transition:all .5s ease-in-out;
|
|
|
|
-moz-transition:all .5s ease-in-out;
|
|
|
|
transition:all .5s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2016-06-15 16:20:21 +03:00
|
|
|
.strengthify-bg, .strengthify-container, .strengthify-separator {
|
2014-11-06 16:47:58 +03:00
|
|
|
height: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.strengthify-bg, .strengthify-container {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.strengthify-bg {
|
|
|
|
background-color: #BBB;
|
|
|
|
}
|
|
|
|
|
|
|
|
.strengthify-separator {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
background-color: #FFF;
|
|
|
|
width: 1px;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
.password-bad {
|
|
|
|
background-color: #C33;
|
|
|
|
}
|
|
|
|
.password-medium {
|
|
|
|
background-color: #F80;
|
|
|
|
}
|
|
|
|
.password-good {
|
|
|
|
background-color: #3C3;
|
2015-11-16 13:16:38 +03:00
|
|
|
}
|
2016-06-15 16:20:21 +03:00
|
|
|
|
|
|
|
div[data-strengthifyMessage] {
|
|
|
|
padding: 3px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.strengthify-tiles{
|
|
|
|
float: right;
|
|
|
|
}
|