summaryrefslogtreecommitdiffstats
path: root/core/vendor/strengthify/strengthify.css
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-11-06 14:47:58 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-11-06 16:29:34 +0100
commit7353183d999795b6044ace6084c67eca95de77cd (patch)
treec02203beba2b02fea5c83a26934a4325b9b56cea /core/vendor/strengthify/strengthify.css
parent8f1fa32e1f1cf27a98882307525b4dbe68c340b3 (diff)
downloadnextcloud-server-7353183d999795b6044ace6084c67eca95de77cd.tar.gz
nextcloud-server-7353183d999795b6044ace6084c67eca95de77cd.zip
bower strengthify
Diffstat (limited to 'core/vendor/strengthify/strengthify.css')
-rw-r--r--core/vendor/strengthify/strengthify.css48
1 files changed, 48 insertions, 0 deletions
diff --git a/core/vendor/strengthify/strengthify.css b/core/vendor/strengthify/strengthify.css
new file mode 100644
index 00000000000..9340270ecfb
--- /dev/null
+++ b/core/vendor/strengthify/strengthify.css
@@ -0,0 +1,48 @@
+/**
+ * Strengthify - show the weakness of a password (uses zxcvbn for this)
+ * https://github.com/kabum/strengthify
+ * Version: 0.3
+ * License: The MIT License (MIT)
+ * Copyright (c) 2013 Morris Jobke <morris.jobke@gmail.com>
+ */
+
+.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-wrapper, .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;
+} \ No newline at end of file