aboutsummaryrefslogtreecommitdiffstats
path: root/uikit/static/css/components/form-password.css
diff options
context:
space:
mode:
authorValentin Heinz <inktrap@users.noreply.github.com>2017-04-08 14:03:25 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2017-04-08 14:03:25 +0200
commit5c231ceade17e7f5b1bba90e845dd2d17e54da1c (patch)
treef4f07dbbac2c51c8a0af1e1a24f11e030a2e4155 /uikit/static/css/components/form-password.css
parent00986ab80df4b6be2d1306671907e2b2378e487f (diff)
downloadpelican-themes-5c231ceade17e7f5b1bba90e845dd2d17e54da1c.tar.gz
uikit demo theme ported to pelican (#385)
Diffstat (limited to 'uikit/static/css/components/form-password.css')
-rw-r--r--uikit/static/css/components/form-password.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/uikit/static/css/components/form-password.css b/uikit/static/css/components/form-password.css
new file mode 100644
index 0000000..b328f60
--- /dev/null
+++ b/uikit/static/css/components/form-password.css
@@ -0,0 +1,34 @@
+/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
+/* ========================================================================
+ Component: Form password
+ ========================================================================== */
+/*
+ * 1. Container width fits its content
+ * 2. Create position context
+ * 3. Prevent `inline-block` consequences
+ */
+.uk-form-password {
+ /* 1 */
+ display: inline-block;
+ /* 2 */
+ position: relative;
+ /* 3 */
+ max-width: 100%;
+}
+.uk-form-password-toggle {
+ display: block;
+ position: absolute;
+ top: 50%;
+ right: 10px;
+ margin-top: -6px;
+ font-size: 13px;
+ line-height: 13px;
+ color: #999999;
+}
+.uk-form-password-toggle:hover {
+ color: #999999;
+ text-decoration: none;
+}
+.uk-form-password > input {
+ padding-right: 50px !important;
+}