Add option to toggle password fields
Change-Id: I07a16697d2cbf9215176995b1d65ecfcc1094141
diff --git a/dev/scss/base/base.scss b/dev/scss/base/base.scss
index d5b646d..5e095a2 100644
--- a/dev/scss/base/base.scss
+++ b/dev/scss/base/base.scss
@@ -8,6 +8,7 @@
@import "view";
@import "menu";
@import "banner";
+@import "showPWD";
/**
* Basic global CSS rules for Kalamar
@@ -137,4 +138,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/dev/scss/base/icons.scss b/dev/scss/base/icons.scss
index 24ee8eb..0a0c109 100644
--- a/dev/scss/base/icons.scss
+++ b/dev/scss/base/icons.scss
@@ -36,3 +36,5 @@
$fa-redo: "\f01e";
$fa-warn: "\f071";
$fa-token: "\1f511";
+$fa-show: "\1f441";
+$fa-hide: "\f070";
diff --git a/dev/scss/base/showPWD.scss b/dev/scss/base/showPWD.scss
new file mode 100644
index 0000000..75a6991
--- /dev/null
+++ b/dev/scss/base/showPWD.scss
@@ -0,0 +1,13 @@
+@import "icons";
+
+a.showPWD::after {
+ position: absolute;
+ @include icon-font;
+ width: 1em;
+ content: $fa-show;
+ cursor: pointer;
+ margin-left: -1em;
+}
+a.showPWD.hide::after {
+ content: $fa-hide;
+}