forked from nextcloud/strengthify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
strengthify.css
60 lines (51 loc) · 1.09 KB
/
strengthify.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/**
* Strengthify - show the weakness of a password (uses zxcvbn for this)
* https://github.com/MorrisJobke/strengthify
* Version: 0.5.2
* License: The MIT License (MIT)
* Copyright (c) 2013-2016 Morris Jobke <[email protected]>
*/
.strengthify-wrapper {
position: relative;
}
.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;
}
.strengthify-bg, .strengthify-container, .strengthify-separator {
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;
}
div[data-strengthifyMessage] {
padding: 3px 8px;
}
.strengthify-tiles{
float: right;
}