diff options
-rw-r--r-- | views/default/account/forms/login.php | 4 | ||||
-rw-r--r-- | views/default/css.php | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/views/default/account/forms/login.php b/views/default/account/forms/login.php index 661ce763c..17b44cc78 100644 --- a/views/default/account/forms/login.php +++ b/views/default/account/forms/login.php @@ -13,11 +13,11 @@ global $CONFIG;
- $form_body = "<p><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label>";
+ $form_body = "<p class=\"loginbox\"><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label>";
$form_body .= "<br />";
$form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')) . "</label><br />";
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . " <div id=\"persistent_login\"><label><input type=\"checkbox\" name=\"persistent\" value=\"true\" />".elgg_echo('user:persistent')."</label></div></p>";
- $form_body .= "<p>";
+ $form_body .= "<p class=\"loginbox\">";
$form_body .= (!isset($CONFIG->disable_registration) || !($CONFIG->disable_registration)) ? "<a href=\"{$vars['url']}account/register.php\">" . elgg_echo('register') . "</a> | " : "";
$form_body .= "<a href=\"{$vars['url']}account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>";
diff --git a/views/default/css.php b/views/default/css.php index 03f902296..c79824783 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -843,13 +843,15 @@ input[type="submit"] { font-size: 1.2em; color:gray; } +#login-box p.loginbox { + margin:10px 0 0 0; +} #login-box input[type="text"], #login-box input[type="password"], #register-box input[type="text"], #register-box input[type="password"] { margin:0 0 10px 0; } - #login-box-openid { margin: 10px; text-align:left; @@ -868,7 +870,6 @@ input[type="submit"] { margin:0pt 0pt 5px; padding:5px; } - #register-box { text-align:left; border:1px solid #ddd; @@ -877,7 +878,10 @@ input[type="submit"] { background: #ffffff; margin:20px; } - +#persistent_login label { + font-size:1.0em; + font-weight: normal; +} /* *************************************** PROFILE |