From ceb1da06d4541968bfb5a5e5225b4b5c0011f007 Mon Sep 17 00:00:00 2001 From: Pellaeon Lin Date: Sat, 4 Oct 2014 22:23:48 +0800 Subject: [PATCH] Polish the looks of createAccount form --- css/style.css | 21 ++++++++++++++++++--- templates/form.php | 18 ++++++++++++------ 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/css/style.css b/css/style.css index eca406f..67f0d78 100644 --- a/css/style.css +++ b/css/style.css @@ -1,3 +1,18 @@ -#hello { - color: red; -} \ No newline at end of file +#email, #username { + width: 223px !important; + padding-left: 36px !important; +} +#email-icon, #username-icon { + position: absolute; + left: 16px; + top: 22px; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; + filter: alpha(opacity=30); + opacity: .3; +} +#body-login input[type="email"] { + width: 249px; +} +#username-icon { + top: 17px; +} diff --git a/templates/form.php b/templates/form.php index c511848..e499e5b 100644 --- a/templates/form.php +++ b/templates/form.php @@ -1,4 +1,6 @@ -
+
    @@ -6,21 +8,25 @@ echo "
  • $errormsg
  • "; } ?>
+ +
    +
  • t('Welcome, you can create your account below.')); ?>
  • +

- +

- - - + + +

- +